Searched refs:dir_level (Results 1 – 4 of 4) sorted by relevance
/external/f2fs-tools/fsck/ |
D | dir.c | 121 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() 546 unsigned int dir_level = node->i.i_dir_level; in convert_inline_dentry() local 565 if (!dir_level) { in convert_inline_dentry()
|
D | f2fs.h | 608 static inline unsigned int dir_buckets(unsigned int level, int dir_level) in dir_buckets() argument 610 if (level + dir_level < MAX_DIR_HASH_DEPTH / 2) in dir_buckets() 611 return 1 << (level + dir_level); in dir_buckets() 625 int dir_level, unsigned int idx) in dir_block_index() argument 631 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in dir_block_index()
|
D | fsck.c | 691 child.dir_level = node_blk->i.i_dir_level; in fsck_chk_inode_blk() 1372 static int __get_current_level(int dir_level, u32 pgofs) in __get_current_level() argument 1378 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in __get_current_level() 1387 u32 pgofs, u8 dir_level, u32 pino) in f2fs_check_dirent_position() argument 1393 level = __get_current_level(dir_level, pgofs); in f2fs_check_dirent_position() 1395 nbucket = dir_buckets(level, dir_level); in f2fs_check_dirent_position() 1398 bidx = dir_block_index(level, dir_level, in f2fs_check_dirent_position() 1407 pino, printable_name, level, dir_level, pgofs, bidx, in f2fs_check_dirent_position() 1593 child->pgofs, child->dir_level, in __chk_dentries()
|
D | fsck.h | 74 u8 dir_level; member
|