NILFS_DIR_REC_LEN
for (offs = 0; offs <= limit - NILFS_DIR_REC_LEN(1); offs += rec_len) {
if (rec_len < NILFS_DIR_REC_LEN(1))
if (rec_len < NILFS_DIR_REC_LEN(p->name_len))
if (pos > inode->i_size - NILFS_DIR_REC_LEN(1))
NILFS_DIR_REC_LEN(1);
unsigned int reclen = NILFS_DIR_REC_LEN(namelen);
unsigned int reclen = NILFS_DIR_REC_LEN(namelen);
name_len = NILFS_DIR_REC_LEN(de->name_len);
de->rec_len = nilfs_rec_len_to_disk(NILFS_DIR_REC_LEN(1));
de = (struct nilfs_dir_entry *)(kaddr + NILFS_DIR_REC_LEN(1));
de->rec_len = nilfs_rec_len_to_disk(chunk_size - NILFS_DIR_REC_LEN(1));
kaddr += nilfs_last_byte(inode, i) - NILFS_DIR_REC_LEN(1);