Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ext2/
Ddir.c137 for (offs = 0; offs <= limit - EXT2_DIR_REC_LEN(1); offs += rec_len) { in ext2_check_page()
141 if (unlikely(rec_len < EXT2_DIR_REC_LEN(1))) in ext2_check_page()
145 if (unlikely(rec_len < EXT2_DIR_REC_LEN(p->name_len))) in ext2_check_page()
302 if (pos > inode->i_size - EXT2_DIR_REC_LEN(1)) in ext2_readdir()
330 limit = kaddr + ext2_last_byte(inode, n) - EXT2_DIR_REC_LEN(1); in ext2_readdir()
374 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_find_entry()
496 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_add_link()
541 name_len = EXT2_DIR_REC_LEN(de->name_len); in ext2_add_link()
652 de->rec_len = ext2_rec_len_to_disk(EXT2_DIR_REC_LEN(1)); in ext2_make_empty()
657 de = (struct ext2_dir_entry_2 *)(kaddr + EXT2_DIR_REC_LEN(1)); in ext2_make_empty()
[all …]
/linux-2.6.39/include/linux/
Dext2_fs.h586 #define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \ macro