Home
last modified time | relevance | path

Searched refs:dir_level (Results 1 – 4 of 4) sorted by relevance

/third_party/f2fs-tools/fsck/
Ddir.c121 unsigned int dir_level = dir->i.i_dir_level; in find_in_level() local
127 nbucket = dir_buckets(level, dir_level); in find_in_level()
130 bidx = dir_block_index(level, dir_level, le32_to_cpu(namehash) % nbucket); in find_in_level()
235 unsigned int dir_level = parent->i.i_dir_level; in f2fs_add_link() local
261 nbucket = dir_buckets(level, dir_level); in f2fs_add_link()
263 bidx = dir_block_index(level, dir_level, le32_to_cpu(dentry_hash) % nbucket); in f2fs_add_link()
554 unsigned int dir_level = node->i.i_dir_level; in convert_inline_dentry() local
573 if (!dir_level) { in convert_inline_dentry()
Df2fs.h624 static inline unsigned int dir_buckets(unsigned int level, int dir_level) in dir_buckets() argument
626 if (level + dir_level < MAX_DIR_HASH_DEPTH / 2) in dir_buckets()
627 return 1 << (level + dir_level); in dir_buckets()
641 int dir_level, unsigned int idx) in dir_block_index() argument
647 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in dir_block_index()
Dfsck.c734 child.dir_level = node_blk->i.i_dir_level; in fsck_chk_inode_blk()
1476 static int __get_current_level(int dir_level, u32 pgofs) in __get_current_level() argument
1482 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in __get_current_level()
1491 u32 pgofs, u8 dir_level, u32 pino) in f2fs_check_dirent_position() argument
1497 level = __get_current_level(dir_level, pgofs); in f2fs_check_dirent_position()
1499 nbucket = dir_buckets(level, dir_level); in f2fs_check_dirent_position()
1502 bidx = dir_block_index(level, dir_level, in f2fs_check_dirent_position()
1511 pino, printable_name, level, dir_level, pgofs, bidx, in f2fs_check_dirent_position()
1699 child->pgofs, child->dir_level, in __chk_dentries()
Dfsck.h74 u8 dir_level; member