Lines Matching refs:UFS_DIR_REC_LEN
128 for (offs = 0; offs <= limit - UFS_DIR_REC_LEN(1); offs += rec_len) { in ufs_check_page()
132 if (rec_len < UFS_DIR_REC_LEN(1)) in ufs_check_page()
136 if (rec_len < UFS_DIR_REC_LEN(ufs_get_de_namlen(sb, p))) in ufs_check_page()
256 unsigned reclen = UFS_DIR_REC_LEN(namelen); in ufs_find_entry()
311 unsigned reclen = UFS_DIR_REC_LEN(namelen); in ufs_add_link()
359 name_len = UFS_DIR_REC_LEN(ufs_get_de_namlen(sb, de)); in ufs_add_link()
437 if (pos > inode->i_size - UFS_DIR_REC_LEN(1)) in ufs_readdir()
463 limit = kaddr + ufs_last_byte(inode, n) - UFS_DIR_REC_LEN(1); in ufs_readdir()
571 de->d_reclen = cpu_to_fs16(sb, UFS_DIR_REC_LEN(1)); in ufs_make_empty()
577 de->d_reclen = cpu_to_fs16(sb, chunk_size - UFS_DIR_REC_LEN(1)); in ufs_make_empty()
607 kaddr += ufs_last_byte(inode, i) - UFS_DIR_REC_LEN(1); in ufs_empty_dir()