Home
last modified time | relevance | path

Searched refs:ee_len (Results 1 – 5 of 5) sorted by relevance

/fs/ext4/
Dext4_extents.h65 __le16 ee_len; /* number of blocks covered by extent */ member
200 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_unwritten()
201 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); in ext4_ext_mark_unwritten()
207 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_unwritten()
212 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len()
213 le16_to_cpu(ext->ee_len) : in ext4_ext_get_actual_len()
214 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); in ext4_ext_get_actual_len()
219 ext->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ext)); in ext4_ext_mark_initialized()
Dextents.c1470 int depth, ee_len; in ext4_ext_search_left() local
1487 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_search_left()
1510 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_left()
1513 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_left()
1517 *logical = le32_to_cpu(ex->ee_block) + ee_len - 1; in ext4_ext_search_left()
1518 *phys = ext4_ext_pblock(ex) + ee_len - 1; in ext4_ext_search_left()
1539 int ee_len; in ext4_ext_search_right() local
1556 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_search_right()
1576 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_right()
1579 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_right()
[all …]
Dextents_status.c625 unsigned short ee_len; in ext4_es_insert_extent_ext_check() local
639 ee_len = ext4_ext_get_actual_len(ex); in ext4_es_insert_extent_ext_check()
649 if (in_range(es->es_lblk, ee_block, ee_len)) { in ext4_es_insert_extent_ext_check()
655 inode->i_ino, ee_block, ee_len, in ext4_es_insert_extent_ext_check()
672 ee_block, ee_len, ee_start, in ext4_es_insert_extent_ext_check()
682 ee_block, ee_len, ee_start, in ext4_es_insert_extent_ext_check()
Dmigrate.c33 newext.ee_len = cpu_to_le16(lb->last_block - lb->first_block + 1); in finish_range()
648 len = le16_to_cpu(ex->ee_len); in ext4_ind_migrate()
Dfast_commit.c892 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data()
1725 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range()