Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Df2fs_fs.h502 #define NR_DENTRY_IN_BLOCK 214 /* the number of dentry in a block */ macro
504 #define SIZE_OF_DENTRY_BITMAP ((NR_DENTRY_IN_BLOCK + BITS_PER_BYTE - 1) / \
508 NR_DENTRY_IN_BLOCK + SIZE_OF_DENTRY_BITMAP))
523 struct f2fs_dir_entry dentry[NR_DENTRY_IN_BLOCK];
524 __u8 filename[NR_DENTRY_IN_BLOCK][F2FS_SLOT_LEN];
/Linux-v4.19/fs/f2fs/
Ddir.c545 slots, NR_DENTRY_IN_BLOCK); in f2fs_add_regular_entry()
546 if (bit_pos < NR_DENTRY_IN_BLOCK) in f2fs_add_regular_entry()
720 NR_DENTRY_IN_BLOCK, in f2fs_delete_entry()
730 if (bit_pos == NR_DENTRY_IN_BLOCK && in f2fs_delete_entry()
768 NR_DENTRY_IN_BLOCK, in f2fs_empty_dir()
773 if (bit_pos < NR_DENTRY_IN_BLOCK) in f2fs_empty_dir()
842 unsigned int n = ((unsigned long)ctx->pos / NR_DENTRY_IN_BLOCK); in f2fs_readdir()
862 for (; n < npages; n++, ctx->pos = n * NR_DENTRY_IN_BLOCK) { in f2fs_readdir()
892 n * NR_DENTRY_IN_BLOCK, &fstr); in f2fs_readdir()
Df2fs.h489 d->max = NR_DENTRY_IN_BLOCK; in make_dentry_ptr_block()