Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ext4/
Dext4_extents.h143 #define EXT_INIT_MAX_LEN (1UL << 15) macro
144 #define EXT_UNWRITTEN_MAX_LEN (EXT_INIT_MAX_LEN - 1)
186 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_unwritten()
187 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); in ext4_ext_mark_unwritten()
193 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_unwritten()
198 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len()
200 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); in ext4_ext_get_actual_len()
Dextents.c1767 if (ext1_ee_len + ext2_ee_len > EXT_INIT_MAX_LEN) in ext4_can_extents_be_merged()
3517 (prev_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ in ext4_ext_convert_to_initialized()
3563 (next_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ in ext4_ext_convert_to_initialized()
4458 if (map->m_len > EXT_INIT_MAX_LEN && in ext4_ext_map_blocks()
4460 map->m_len = EXT_INIT_MAX_LEN; in ext4_ext_map_blocks()