Searched refs:EXT2_DIR_REC_LEN (Results 1 – 2 of 2) sorted by relevance
127 for (offs = 0; offs <= limit - EXT2_DIR_REC_LEN(1); offs += rec_len) { in ext2_check_page()131 if (unlikely(rec_len < EXT2_DIR_REC_LEN(1))) in ext2_check_page()135 if (unlikely(rec_len < EXT2_DIR_REC_LEN(p->name_len))) in ext2_check_page()277 if (pos > inode->i_size - EXT2_DIR_REC_LEN(1)) in ext2_readdir()304 limit = kaddr + ext2_last_byte(inode, n) - EXT2_DIR_REC_LEN(1); in ext2_readdir()354 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_find_entry()493 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_add_link()539 name_len = EXT2_DIR_REC_LEN(de->name_len); in ext2_add_link()649 de->rec_len = ext2_rec_len_to_disk(EXT2_DIR_REC_LEN(1)); in ext2_make_empty()654 de = (struct ext2_dir_entry_2 *)(kaddr + EXT2_DIR_REC_LEN(1)); in ext2_make_empty()[all …]
611 #define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \ macro