Lines Matching refs:file
197 _every_ type of metadata, including file entries, directory fields, and
243 3. **Id (10-bits)** - File id associated with the tag. Each file in a metadata
244 block gets a unique id which is used to associate tags with that file. The
246 file, such as directory and global metadata.
258 Creates a new file with this id. Note that files in a metadata block
269 Deletes the file with this id. An inverse to create, this tag moves over
276 Associates the id with a file name and file type.
278 The data contains the file name stored as an ASCII string (may be expanded to
281 The chunk field in this tag indicates an 8-bit file type which can be one of
285 can not be reassigned without deleting the file.
293 ^ ^ ^ ^ ^- size ^- file name
295 | | '----------- file type
302 1. **file type (8-bits)** - Type of the file.
304 2. **file name** - File name stored as an ASCII string.
309 Initializes the id + name as a regular file.
311 How each file is stored depends on its struct tag, which is described below.
338 .| super |->| super |->| super |->| super |->| file B |
339 || block | || block | || block | || block | || file C |
340 || | || | || | || file A | || file D |
374 | | | | ^- name max ^- file max ^- attr max
397 5. **Name max (32-bits)** - Maximum size of file names in bytes.
401 7. **Attr max (32-bits)** - Maximum size of file attributes in bytes.
416 example, appending a ctz-struct replaces an inline-struct on the same file.
430 .| file A |->| file D |->| file G |->| file I |->| file J |->| file M |
431 || file B | || file E | || file H | || | || file K | || file N |
432 || file C | || file F | || | || | || file L | || |
466 case, the file data is stored directly in the tag's data area.
491 skip-list. Note that the head of the skip-list and the file size is enough
492 information to read the file.
499 These pointers are stored in increasing order of _x_ in each block of the file
515 file size divided by the block size. With 32 bits for file size, this results
524 ^ ^ ^ ^ ^ ^- file size
525 | | | | '-------------------- file head
535 file's CTZ skip-list.
537 2. **File size (32-bits)** - Size of the file in bytes.
701 was lost during a move, and the file exists in two different locations. If this
734 `0x000`, indicating no move, or `0x4ff` indicating the source file should
737 3. **Move id (10-bits)** - The file id being moved.