Home
last modified time | relevance | path

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

/linux-4.1.27/fs/nilfs2/
Ddir.c128 for (offs = 0; offs <= limit - NILFS_DIR_REC_LEN(1); offs += rec_len) { in nilfs_check_page()
132 if (rec_len < NILFS_DIR_REC_LEN(1)) in nilfs_check_page()
136 if (rec_len < NILFS_DIR_REC_LEN(p->name_len)) in nilfs_check_page()
269 if (pos > inode->i_size - NILFS_DIR_REC_LEN(1)) in nilfs_readdir()
286 NILFS_DIR_REC_LEN(1); in nilfs_readdir()
329 unsigned reclen = NILFS_DIR_REC_LEN(namelen); in nilfs_find_entry()
442 unsigned reclen = NILFS_DIR_REC_LEN(namelen); in nilfs_add_link()
487 name_len = NILFS_DIR_REC_LEN(de->name_len); in nilfs_add_link()
597 de->rec_len = nilfs_rec_len_to_disk(NILFS_DIR_REC_LEN(1)); in nilfs_make_empty()
602 de = (struct nilfs_dir_entry *)(kaddr + NILFS_DIR_REC_LEN(1)); in nilfs_make_empty()
[all …]
/linux-4.1.27/include/linux/
Dnilfs2_fs.h326 #define NILFS_DIR_REC_LEN(name_len) (((name_len) + 12 + NILFS_DIR_ROUND) & \ macro