Searched refs:EXT4_DIR_REC_LEN (Results 1 – 4 of 4) sorted by relevance
72 if (unlikely(rlen < EXT4_DIR_REC_LEN(1))) in __ext4_check_dir_entry()76 else if (unlikely(rlen < EXT4_DIR_REC_LEN(de->name_len))) in __ext4_check_dir_entry()81 size - EXT4_DIR_REC_LEN(1) && in __ext4_check_dir_entry()227 sb->s_blocksize) < EXT4_DIR_REC_LEN(1)) in ext4_readdir()
590 unsigned entry_space = dir->i_sb->s_blocksize - EXT4_DIR_REC_LEN(1) - in dx_root_limit()591 EXT4_DIR_REC_LEN(2) - infosize; in dx_root_limit()600 unsigned entry_space = dir->i_sb->s_blocksize - EXT4_DIR_REC_LEN(0); in dx_node_limit()712 space += EXT4_DIR_REC_LEN(de->name_len); in dx_show_leaf()1036 EXT4_DIR_REC_LEN(0)); in htree_dirblock_to_tree()1719 rec_len = EXT4_DIR_REC_LEN(de->name_len); in dx_move_dirents()1743 rec_len = EXT4_DIR_REC_LEN(de->name_len); in dx_pack_dirents()1891 unsigned short reclen = EXT4_DIR_REC_LEN(fname_len(fname)); in ext4_find_dest_de()1904 nlen = EXT4_DIR_REC_LEN(de->name_len); in ext4_find_dest_de()1926 nlen = EXT4_DIR_REC_LEN(de->name_len); in ext4_insert_dentry()[all …]
1121 if (new_size - old_size <= EXT4_DIR_REC_LEN(1)) in ext4_update_inline_dir()1410 EXT4_DIR_REC_LEN(fake.name_len), in htree_inlinedir_to_tree()1420 EXT4_DIR_REC_LEN(fake.name_len), in htree_inlinedir_to_tree()1518 dotdot_offset = EXT4_DIR_REC_LEN(1); in ext4_read_inline_dir()1519 dotdot_size = dotdot_offset + EXT4_DIR_REC_LEN(2); in ext4_read_inline_dir()1554 < EXT4_DIR_REC_LEN(1)) in ext4_read_inline_dir()
1991 #define EXT4_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT4_DIR_ROUND) & \ macro