Home
last modified time | relevance | path

Searched refs:NR_DENTRY_IN_BLOCK (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/include/linux/
Df2fs_fs.h516 #define NR_DENTRY_IN_BLOCK 214 /* the number of dentry in a block */ macro
518 #define SIZE_OF_DENTRY_BITMAP ((NR_DENTRY_IN_BLOCK + BITS_PER_BYTE - 1) / \
522 NR_DENTRY_IN_BLOCK + SIZE_OF_DENTRY_BITMAP))
538 struct f2fs_dir_entry dentry[NR_DENTRY_IN_BLOCK];
539 __u8 filename[NR_DENTRY_IN_BLOCK][F2FS_SLOT_LEN];
/Linux-v5.4/fs/f2fs/
Ddir.c655 slots, NR_DENTRY_IN_BLOCK); in f2fs_add_regular_entry()
656 if (bit_pos < NR_DENTRY_IN_BLOCK) in f2fs_add_regular_entry()
835 NR_DENTRY_IN_BLOCK, in f2fs_delete_entry()
845 if (bit_pos == NR_DENTRY_IN_BLOCK && in f2fs_delete_entry()
884 NR_DENTRY_IN_BLOCK, in f2fs_empty_dir()
889 if (bit_pos < NR_DENTRY_IN_BLOCK) in f2fs_empty_dir()
982 unsigned int n = ((unsigned long)ctx->pos / NR_DENTRY_IN_BLOCK); in f2fs_readdir()
1002 for (; n < npages; n++, ctx->pos = n * NR_DENTRY_IN_BLOCK) { in f2fs_readdir()
1032 n * NR_DENTRY_IN_BLOCK, &fstr); in f2fs_readdir()
Df2fs.h512 d->max = NR_DENTRY_IN_BLOCK; in make_dentry_ptr_block()