Lines Matching refs:EXT2_DIR_REC_LEN
134 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()
653 de->rec_len = ext2_rec_len_to_disk(chunk_size - EXT2_DIR_REC_LEN(1)); in ext2_make_empty()
685 kaddr += ext2_last_byte(inode, i) - EXT2_DIR_REC_LEN(1); in ext2_empty_dir()