Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ext4/
Dmove_extent.c61 dest->ee_len = cpu_to_le16(ext4_ext_get_actual_len(dest)); in copy_extent_status()
236 if (start_ext->ee_len && new_ext->ee_len && end_ext->ee_len) { in mext_insert_across_blocks()
251 o_end->ee_len = end_ext->ee_len; in mext_insert_across_blocks()
255 o_start->ee_len = start_ext->ee_len; in mext_insert_across_blocks()
259 } else if (start_ext->ee_len && new_ext->ee_len && in mext_insert_across_blocks()
260 !end_ext->ee_len && o_start == o_end) { in mext_insert_across_blocks()
266 o_start->ee_len = start_ext->ee_len; in mext_insert_across_blocks()
270 } else if (!start_ext->ee_len && new_ext->ee_len && in mext_insert_across_blocks()
271 end_ext->ee_len && o_start == o_end) { in mext_insert_across_blocks()
278 o_end->ee_len = end_ext->ee_len; in mext_insert_across_blocks()
[all …]
Dext4_extents.h74 __le16 ee_len; /* number of blocks covered by extent */ member
202 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_uninitialized()
203 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); in ext4_ext_mark_uninitialized()
209 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_uninitialized()
214 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len()
215 le16_to_cpu(ext->ee_len) : in ext4_ext_get_actual_len()
216 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); in ext4_ext_get_actual_len()
221 ext->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ext)); in ext4_ext_mark_initialized()
Dextents.c1219 int depth, ee_len; in ext4_ext_search_left() local
1236 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_search_left()
1259 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_left()
1262 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_left()
1266 *logical = le32_to_cpu(ex->ee_block) + ee_len - 1; in ext4_ext_search_left()
1267 *phys = ext4_ext_pblock(ex) + ee_len - 1; in ext4_ext_search_left()
1288 int ee_len; in ext4_ext_search_right() local
1305 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_search_right()
1327 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_right()
1330 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_right()
[all …]
Dmigrate.c41 newext.ee_len = cpu_to_le16(lb->last_block - lb->first_block + 1); in finish_range()