Lines Matching refs:dire
1744 struct squashfs_dir_entry *dire = (struct squashfs_dir_entry *) buffer; in squashfs_readdir() local
1813 SQUASHFS_SWAP_DIR_ENTRY(dire, &sdire); in squashfs_readdir()
1816 dire, next_block, next_offset, in squashfs_readdir()
1817 sizeof(*dire), &next_block, in squashfs_readdir()
1821 length += sizeof(*dire); in squashfs_readdir()
1824 if (!squashfs_get_cached_block(i->i_sb, dire->name, in squashfs_readdir()
1826 dire->size + 1, &next_block, in squashfs_readdir()
1830 length += dire->size + 1; in squashfs_readdir()
1835 dire->name[dire->size + 1] = '\0'; in squashfs_readdir()
1838 (unsigned int) dirent, dire->name, in squashfs_readdir()
1839 dire->size + 1, (int) file->f_pos, in squashfs_readdir()
1840 dirh.start_block, dire->offset, in squashfs_readdir()
1841 dirh.inode_number + dire->inode_number, in squashfs_readdir()
1842 squashfs_filetype_table[dire->type]); in squashfs_readdir()
1844 if (filldir(dirent, dire->name, dire->size + 1, in squashfs_readdir()
1846 dirh.inode_number + dire->inode_number, in squashfs_readdir()
1847 squashfs_filetype_table[dire->type]) in squashfs_readdir()
1879 struct squashfs_dir_entry *dire = (struct squashfs_dir_entry *) buffer; in squashfs_lookup() local
1923 SQUASHFS_SWAP_DIR_ENTRY(dire, &sdire); in squashfs_lookup()
1926 dire, next_block,next_offset, in squashfs_lookup()
1927 sizeof(*dire), &next_block, in squashfs_lookup()
1931 length += sizeof(*dire); in squashfs_lookup()
1934 if (!squashfs_get_cached_block(i->i_sb, dire->name, in squashfs_lookup()
1935 next_block, next_offset, dire->size + 1, in squashfs_lookup()
1939 length += dire->size + 1; in squashfs_lookup()
1941 if (name[0] < dire->name[0]) in squashfs_lookup()
1944 if ((len == dire->size + 1) && !strncmp(name, in squashfs_lookup()
1945 dire->name, len)) { in squashfs_lookup()
1948 dire->offset); in squashfs_lookup()
1952 dirh.start_block, dire->offset, in squashfs_lookup()
1953 dirh.inode_number + dire->inode_number); in squashfs_lookup()