Home
last modified time | relevance | path

Searched refs:EXT_INIT_MAX_LEN (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/ext4/
Dext4_extents.h156 #define EXT_INIT_MAX_LEN (1UL << 15) macro
157 #define EXT_UNWRITTEN_MAX_LEN (EXT_INIT_MAX_LEN - 1)
199 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_unwritten()
200 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); in ext4_ext_mark_unwritten()
206 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_unwritten()
211 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len()
213 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); in ext4_ext_get_actual_len()
Dextents.c1779 if (ext1_ee_len + ext2_ee_len > EXT_INIT_MAX_LEN) in ext4_can_extents_be_merged()
3504 (prev_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ in ext4_ext_convert_to_initialized()
3550 (next_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ in ext4_ext_convert_to_initialized()
4251 if (map->m_len > EXT_INIT_MAX_LEN && in ext4_ext_map_blocks()
4253 map->m_len = EXT_INIT_MAX_LEN; in ext4_ext_map_blocks()
Dfast_commit.c852 EXT_UNWRITTEN_MAX_LEN : EXT_INIT_MAX_LEN; in ext4_fc_write_inode_data()