Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Df2fs.h457 static inline unsigned int dir_buckets(unsigned int level, int dir_level) in dir_buckets() argument
459 if (level + dir_level < MAX_DIR_HASH_DEPTH / 2) in dir_buckets()
460 return 1 << (level + dir_level); in dir_buckets()
474 int dir_level, unsigned int idx) in dir_block_index() argument
480 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in dir_block_index()
Ddir.c120 unsigned int dir_level = dir->i.i_dir_level; in find_in_level() local
125 nbucket = dir_buckets(level, dir_level); in find_in_level()
128 bidx = dir_block_index(level, dir_level, le32_to_cpu(namehash) % nbucket); in find_in_level()
214 unsigned int dir_level = parent->i.i_dir_level; in f2fs_add_link() local
240 nbucket = dir_buckets(level, dir_level); in f2fs_add_link()
242 bidx = dir_block_index(level, dir_level, le32_to_cpu(dentry_hash) % nbucket); in f2fs_add_link()
465 unsigned int dir_level = node->i.i_dir_level; in convert_inline_dentry() local
484 if (!dir_level) { in convert_inline_dentry()
Dfsck.c646 child.dir_level = node_blk->i.i_dir_level; in fsck_chk_inode_blk()
1186 static int __get_current_level(int dir_level, u32 pgofs) in __get_current_level() argument
1192 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in __get_current_level()
1200 u8 dir_level, u32 pino) in f2fs_check_dirent_position() argument
1207 level = __get_current_level(dir_level, pgofs); in f2fs_check_dirent_position()
1209 nbucket = dir_buckets(level, dir_level); in f2fs_check_dirent_position()
1212 bidx = dir_block_index(level, dir_level, in f2fs_check_dirent_position()
1221 pino, name, level, dir_level, pgofs, bidx, end_block - 1); in f2fs_check_dirent_position()
1401 child->dir_level, child->p_ino); in __chk_dentries()
Dfsck.h52 u8 dir_level; member