Home
last modified time | relevance | path

Searched refs:NILFS_DIR_REC_LEN (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/fs/nilfs2/
Ddir.c123 for (offs = 0; offs <= limit - NILFS_DIR_REC_LEN(1); offs += rec_len) { in nilfs_check_page()
127 if (rec_len < NILFS_DIR_REC_LEN(1)) in nilfs_check_page()
131 if (rec_len < NILFS_DIR_REC_LEN(p->name_len)) in nilfs_check_page()
264 if (pos > inode->i_size - NILFS_DIR_REC_LEN(1)) in nilfs_readdir()
281 NILFS_DIR_REC_LEN(1); in nilfs_readdir()
324 unsigned reclen = NILFS_DIR_REC_LEN(namelen); in nilfs_find_entry()
437 unsigned reclen = NILFS_DIR_REC_LEN(namelen); in nilfs_add_link()
482 name_len = NILFS_DIR_REC_LEN(de->name_len); in nilfs_add_link()
592 de->rec_len = nilfs_rec_len_to_disk(NILFS_DIR_REC_LEN(1)); in nilfs_make_empty()
597 de = (struct nilfs_dir_entry *)(kaddr + NILFS_DIR_REC_LEN(1)); in nilfs_make_empty()
[all …]
/linux-4.4.14/include/linux/
Dnilfs2_fs.h326 #define NILFS_DIR_REC_LEN(name_len) (((name_len) + 12 + NILFS_DIR_ROUND) & \ macro