Lines Matching defs:block
17 * decompressed block (<block, offset>).
22 * compressed metadata block, and therefore, can share the start block.
24 * header containing the shared start block value, and a sequence of directory
25 * entries, each of which share the shared start block. A new directory header
26 * is written once/if the inode start block changes. The directory
32 * in each metadata block. Directories are sorted in alphabetical order,
35 * location of the metadata block the filename is in has been found.
36 * The general idea of the index is ensure only one metadata block needs to be
57 * block containing it, and the directory index this represents.
117 * Return index (f_pos) of the looked up metadata block. Translate
135 u64 block = squashfs_i(dir)->start + msblk->directory_table;
140 TRACE("Entered squashfs_lookup [%llx:%x]\n", block, offset);
153 length = get_dir_index_using_name(dir->i_sb, &block, &offset,
162 err = squashfs_read_metadata(dir->i_sb, &dirh, &block,
178 err = squashfs_read_metadata(dir->i_sb, dire, &block,
190 &block, &offset, size);
226 ERROR("Unable to read directory block [%llx:%x]\n",