Home
last modified time | relevance | path

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

/fs/ext4/
Dext4_extents.h77 __le16 ee_len; /* number of blocks covered by extent */ member
194 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_unwritten()
195 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); in ext4_ext_mark_unwritten()
201 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_unwritten()
206 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len()
207 le16_to_cpu(ext->ee_len) : in ext4_ext_get_actual_len()
208 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); in ext4_ext_get_actual_len()
213 ext->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ext)); in ext4_ext_mark_initialized()
Dextents.c1423 int depth, ee_len; in ext4_ext_search_left() local
1440 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_search_left()
1463 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_left()
1466 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_left()
1470 *logical = le32_to_cpu(ex->ee_block) + ee_len - 1; in ext4_ext_search_left()
1471 *phys = ext4_ext_pblock(ex) + ee_len - 1; in ext4_ext_search_left()
1493 int ee_len; in ext4_ext_search_right() local
1510 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_search_right()
1530 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_right()
1533 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_right()
[all …]
Dextents_status.c436 unsigned short ee_len; in ext4_es_insert_extent_ext_check() local
450 ee_len = ext4_ext_get_actual_len(ex); in ext4_es_insert_extent_ext_check()
460 if (in_range(es->es_lblk, ee_block, ee_len)) { in ext4_es_insert_extent_ext_check()
466 inode->i_ino, ee_block, ee_len, in ext4_es_insert_extent_ext_check()
483 ee_block, ee_len, ee_start, in ext4_es_insert_extent_ext_check()
493 ee_block, ee_len, ee_start, in ext4_es_insert_extent_ext_check()
Dmigrate.c40 newext.ee_len = cpu_to_le16(lb->last_block - lb->first_block + 1); in finish_range()
655 len = le16_to_cpu(ex->ee_len); in ext4_ind_migrate()