Home
last modified time | relevance | path

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

/openbmc/linux/fs/nilfs2/
H A Ddir.c134 for (offs = 0; offs <= limit - NILFS_DIR_REC_LEN(1); offs += rec_len) { in nilfs_check_page()
138 if (rec_len < NILFS_DIR_REC_LEN(1)) in nilfs_check_page()
142 if (rec_len < NILFS_DIR_REC_LEN(p->name_len)) in nilfs_check_page()
277 if (pos > inode->i_size - NILFS_DIR_REC_LEN(1)) in nilfs_readdir()
293 NILFS_DIR_REC_LEN(1); in nilfs_readdir()
335 unsigned int reclen = NILFS_DIR_REC_LEN(namelen); in nilfs_find_entry()
443 unsigned int reclen = NILFS_DIR_REC_LEN(namelen); in nilfs_add_link()
487 name_len = NILFS_DIR_REC_LEN(de->name_len); in nilfs_add_link()
598 de->rec_len = nilfs_rec_len_to_disk(NILFS_DIR_REC_LEN(1)); in nilfs_make_empty()
603 de = (struct nilfs_dir_entry *)(kaddr + NILFS_DIR_REC_LEN(1)); in nilfs_make_empty()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dnilfs2_ondisk.h332 #define NILFS_DIR_REC_LEN(name_len) (((name_len) + 12 + NILFS_DIR_ROUND) & \ macro