/linux/fs/ext4/ |
H A D | extents_status.h | 67 ext4_lblk_t es_lblk; /* first logical block extent covers */ 68 ext4_lblk_t es_len; /* length of extent in block */ 125 ext4_lblk_t lclu; 136 extern void ext4_es_insert_extent(struct inode *inode, ext4_lblk_t lblk, 137 ext4_lblk_t len, ext4_fsblk_t pblk, 140 extern void ext4_es_cache_extent(struct inode *inode, ext4_lblk_t lblk, 141 ext4_lblk_t len, ext4_fsblk_t pblk, 143 extern void ext4_es_remove_extent(struct inode *inode, ext4_lblk_t lblk, 144 ext4_lblk_t len); 147 ext4_lblk_t lblk, ext4_lblk_t end, [all …]
|
H A D | extents_status.c | 149 static int __es_remove_extent(struct inode *inode, ext4_lblk_t lblk, 150 ext4_lblk_t end, int *reserved, 155 static int __revise_pending(struct inode *inode, ext4_lblk_t lblk, 156 ext4_lblk_t len, 201 static inline ext4_lblk_t ext4_es_end(struct extent_status *es) in ext4_es_end() 212 ext4_lblk_t lblk) in __es_tree_search() 259 ext4_lblk_t lblk, ext4_lblk_t end, in __es_find_extent_range() 310 ext4_lblk_t lblk, ext4_lblk_t end, in ext4_es_find_extent_range() 344 ext4_lblk_t start, ext4_lblk_t end) in __es_scan_range() 364 ext4_lblk_t lblk, ext4_lblk_t end) in ext4_es_scan_range() [all …]
|
H A D | extents.c | 90 ext4_lblk_t split, 217 ext4_lblk_t block) in ext4_ext_find_goal() 243 ext4_lblk_t ext_block = le32_to_cpu(ex->ee_block); in ext4_ext_find_goal() 333 struct ext4_ext_path *path, ext4_lblk_t lblk, in ext4_force_split_extent_at() 371 ext4_lblk_t lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent() 393 ext4_lblk_t lblk, ext4_fsblk_t *pblk, in ext4_valid_extent_entries() 397 ext4_lblk_t lblock = 0; in ext4_valid_extent_entries() 398 ext4_lblk_t cur = 0; in ext4_valid_extent_entries() 460 int depth, ext4_fsblk_t pblk, ext4_lblk_t lblk) in __ext4_ext_check() 531 ext4_lblk_t prev = 0; in ext4_cache_extents() [all …]
|
H A D | indirect.c | 75 ext4_lblk_t i_block, in ext4_block_to_path() 76 ext4_lblk_t offsets[4], int *boundary) in ext4_block_to_path() 145 ext4_lblk_t *offsets, in ext4_get_branch() 251 static ext4_fsblk_t ext4_find_goal(struct inode *inode, ext4_lblk_t block, in ext4_find_goal() 330 int indirect_blks, ext4_lblk_t *offsets, in ext4_alloc_branch() 536 ext4_lblk_t offsets[4]; in ext4_ind_map_blocks() 798 ext4_lblk_t offsets[4], Indirect chain[4], in ext4_find_shared() 1117 ext4_lblk_t offsets[4]; in ext4_ind_truncate() 1122 ext4_lblk_t last_block, max_block; in ext4_ind_truncate() 1228 ext4_lblk_t start, ext4_lblk_t end) in ext4_ind_remove_space() [all …]
|
H A D | move_extent.c | 26 get_ext_path(struct inode *inode, ext4_lblk_t lblock, in get_ext_path() 86 mext_check_coverage(struct inode *inode, ext4_lblk_t from, ext4_lblk_t count, in mext_check_coverage() 92 ext4_lblk_t last = from + count; in mext_check_coverage() 267 ext4_lblk_t orig_blk_offset, donor_blk_offset; in move_extent_per_page() 571 ext4_lblk_t o_end, o_start = orig_blk; in ext4_move_extents() 572 ext4_lblk_t d_start = donor_blk; in ext4_move_extents() 632 ext4_lblk_t cur_blk, next_blk; in ext4_move_extents()
|
H A D | ext4.h | 120 typedef __u32 ext4_lblk_t; typedef 232 ext4_lblk_t logical; 234 ext4_lblk_t lleft; 236 ext4_lblk_t lright; 265 ext4_lblk_t m_lblk; 382 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1)) 385 ((ext4_lblk_t) (sbi)->s_cluster_ratio - 1)) 390 ((ext4_lblk_t) (s)->s_cluster_ratio - 1)) 1020 ext4_lblk_t i_dir_start_lookup; 1054 ext4_lblk_t i_fc_lblk_start; [all …]
|
H A D | truncate.h | 32 ext4_lblk_t needed; in ext4_blocks_for_truncate()
|
H A D | namei.c | 55 ext4_lblk_t *block) in ext4_append() 125 ext4_lblk_t block, in __ext4_read_dirblock() 294 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry); 295 static void dx_set_block(struct dx_entry *entry, ext4_lblk_t value); 319 u32 hash, ext4_lblk_t block); 569 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry) in dx_get_block() 574 static inline void dx_set_block(struct dx_entry *entry, ext4_lblk_t value) in dx_set_block() 752 ext4_lblk_t block = dx_get_block(entries); in dx_show_entries() 753 ext4_lblk_t hash = i ? dx_get_hash(entries): 0; in dx_show_entries() 819 ext4_lblk_t block; in dx_probe() [all …]
|
H A D | fast_commit.h | 137 ext4_lblk_t lblk;
|
H A D | fast_commit.c | 596 ext4_lblk_t start, end; 604 ext4_lblk_t oldstart; in __track_range() 628 void ext4_fc_track_range(handle_t *handle, struct inode *inode, ext4_lblk_t start, in ext4_fc_track_range() 629 ext4_lblk_t end) in ext4_fc_track_range() 888 ext4_lblk_t old_blk_size, cur_lblk_off, new_blk_size; in ext4_fc_write_inode_data() 1687 ext4_lblk_t lblk, ext4_fsblk_t pblk, int len, int replay) in ext4_fc_record_regions() 1732 ext4_lblk_t start, cur; in ext4_fc_replay_add_range() 1853 ext4_lblk_t cur, remaining; in ext4_fc_replay_del_range() 1915 ext4_lblk_t cur, end; in ext4_fc_set_bitmaps_and_counters()
|
H A D | inode.c | 400 int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, in ext4_issue_zeroout() 401 ext4_lblk_t len) in ext4_issue_zeroout() 835 ext4_lblk_t block, int map_flags) in ext4_getblk() 907 ext4_lblk_t block, int map_flags) in ext4_bread() 927 int ext4_bread_batch(struct inode *inode, ext4_lblk_t block, int bh_count, in ext4_bread_batch() 1579 ext4_lblk_t start, last; in mpage_release_unused_pages() 1649 static int ext4_clu_alloc_state(struct inode *inode, ext4_lblk_t lblk) in ext4_clu_alloc_state() 1682 static int ext4_insert_delayed_blocks(struct inode *inode, ext4_lblk_t lblk, in ext4_insert_delayed_blocks() 1683 ext4_lblk_t len) in ext4_insert_delayed_blocks() 1689 ext4_lblk_t resv_clu; in ext4_insert_delayed_blocks() [all …]
|
H A D | ext4_extents.h | 131 ext4_lblk_t lblk; /* logical block number within logical cluster */
|
H A D | migrate.c | 17 ext4_lblk_t first_block, last_block, curr_block; 605 ext4_lblk_t start, end; in ext4_ind_migrate()
|
H A D | mballoc.c | 4233 ext4_mb_pa_rb_next_iter(ext4_lblk_t new_start, ext4_lblk_t cur_start, struct rb_node *node) in ext4_mb_pa_rb_next_iter() 4243 ext4_lblk_t start, loff_t end) in ext4_mb_pa_assert_overlap() 4248 ext4_lblk_t tmp_pa_start; in ext4_mb_pa_assert_overlap() 4280 ext4_lblk_t *start, loff_t *end) in ext4_mb_pa_adjust_overlap() 4286 ext4_lblk_t new_start, tmp_pa_start, right_pa_start = -1; in ext4_mb_pa_adjust_overlap() 4427 ext4_lblk_t start; in ext4_mb_normalize_request() 4509 (ext4_lblk_t)EXT4_BLOCKS_PER_GROUP(ac->ac_sb))); in ext4_mb_normalize_request() 5133 ext4_lblk_t iter_start, new_start; in ext4_mb_pa_rb_insert()
|
H A D | inline.c | 1331 struct inode *dir, ext4_lblk_t block, in ext4_inlinedir_to_tree()
|
H A D | super.c | 7214 ext4_lblk_t blk = off >> EXT4_BLOCK_SIZE_BITS(sb); in ext4_quota_read() 7250 ext4_lblk_t blk = off >> EXT4_BLOCK_SIZE_BITS(sb); in ext4_quota_write()
|
/linux/include/trace/events/ |
H A D | ext4.h | 1546 __field( ext4_lblk_t, m_lblk ) 1548 __field( ext4_lblk_t, u_lblk ) 1584 __field( ext4_lblk_t, m_lblk ) 1586 __field( ext4_lblk_t, u_lblk ) 1589 __field( ext4_lblk_t, i_lblk ) 1618 TP_PROTO(struct inode *inode, ext4_lblk_t lblk, 1626 __field( ext4_lblk_t, lblk ) 1646 TP_PROTO(struct inode *inode, ext4_lblk_t lblk, 1653 TP_PROTO(struct inode *inode, ext4_lblk_t lblk, 1670 __field( ext4_lblk_t, lblk ) [all …]
|