Searched refs:NR_DENTRY_IN_BLOCK (Results 1 – 3 of 3) sorted by relevance
438 #define NR_DENTRY_IN_BLOCK 214 /* the number of dentry in a block */ macro440 #define SIZE_OF_DENTRY_BITMAP ((NR_DENTRY_IN_BLOCK + BITS_PER_BYTE - 1) / \444 NR_DENTRY_IN_BLOCK + SIZE_OF_DENTRY_BITMAP))459 struct f2fs_dir_entry dentry[NR_DENTRY_IN_BLOCK];460 __u8 filename[NR_DENTRY_IN_BLOCK][F2FS_SLOT_LEN];
583 slots, NR_DENTRY_IN_BLOCK); in __f2fs_add_link()584 if (bit_pos < NR_DENTRY_IN_BLOCK) in __f2fs_add_link()711 NR_DENTRY_IN_BLOCK, in f2fs_delete_entry()721 if (bit_pos == NR_DENTRY_IN_BLOCK && in f2fs_delete_entry()757 NR_DENTRY_IN_BLOCK, in f2fs_empty_dir()763 if (bit_pos < NR_DENTRY_IN_BLOCK) in f2fs_empty_dir()830 unsigned int n = ((unsigned long)ctx->pos / NR_DENTRY_IN_BLOCK); in f2fs_readdir()865 if (f2fs_fill_dentries(ctx, &d, n * NR_DENTRY_IN_BLOCK, &fstr)) in f2fs_readdir()868 ctx->pos = (n + 1) * NR_DENTRY_IN_BLOCK; in f2fs_readdir()
301 d->max = NR_DENTRY_IN_BLOCK; in make_dentry_ptr()