Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ext2/
Ddir.c134 for (offs = 0; offs <= limit - EXT2_DIR_REC_LEN(1); offs += rec_len) { in ext2_check_page()
138 if (unlikely(rec_len < EXT2_DIR_REC_LEN(1))) in ext2_check_page()
142 if (unlikely(rec_len < EXT2_DIR_REC_LEN(p->name_len))) in ext2_check_page()
299 if (pos > inode->i_size - EXT2_DIR_REC_LEN(1)) in ext2_readdir()
327 limit = kaddr + ext2_last_byte(inode, n) - EXT2_DIR_REC_LEN(1); in ext2_readdir()
368 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_find_entry()
490 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_add_link()
535 name_len = EXT2_DIR_REC_LEN(de->name_len); in ext2_add_link()
646 de->rec_len = ext2_rec_len_to_disk(EXT2_DIR_REC_LEN(1)); in ext2_make_empty()
651 de = (struct ext2_dir_entry_2 *)(kaddr + EXT2_DIR_REC_LEN(1)); in ext2_make_empty()
[all …]
Dext2.h622 #define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \ macro