Home
last modified time | relevance | path

Searched refs:ext4_lblk_t (Results 1 – 15 of 15) sorted by relevance

/fs/ext4/
Dextents_status.h60 ext4_lblk_t es_lblk; /* first logical block extent covers */
61 ext4_lblk_t es_len; /* length of extent in block */
84 extern int ext4_es_insert_extent(struct inode *inode, ext4_lblk_t lblk,
85 ext4_lblk_t len, ext4_fsblk_t pblk,
87 extern void ext4_es_cache_extent(struct inode *inode, ext4_lblk_t lblk,
88 ext4_lblk_t len, ext4_fsblk_t pblk,
90 extern int ext4_es_remove_extent(struct inode *inode, ext4_lblk_t lblk,
91 ext4_lblk_t len);
93 ext4_lblk_t lblk, ext4_lblk_t end,
95 extern int ext4_es_lookup_extent(struct inode *inode, ext4_lblk_t lblk,
Dextents_status.c146 static int __es_remove_extent(struct inode *inode, ext4_lblk_t lblk,
147 ext4_lblk_t end);
197 static inline ext4_lblk_t ext4_es_end(struct extent_status *es) in ext4_es_end()
208 ext4_lblk_t lblk) in __es_tree_search()
245 ext4_lblk_t lblk, ext4_lblk_t end, in ext4_es_find_delayed_extent_range()
329 ext4_es_alloc_extent(struct inode *inode, ext4_lblk_t lblk, ext4_lblk_t len, in ext4_es_alloc_extent()
467 ext4_lblk_t ee_block; in ext4_es_insert_extent_ext_check()
690 int ext4_es_insert_extent(struct inode *inode, ext4_lblk_t lblk, in ext4_es_insert_extent()
691 ext4_lblk_t len, ext4_fsblk_t pblk, in ext4_es_insert_extent()
695 ext4_lblk_t end = lblk + len - 1; in ext4_es_insert_extent()
[all …]
Dextents.c108 ext4_lblk_t split,
184 ext4_lblk_t block) in ext4_ext_find_goal()
210 ext4_lblk_t ext_block = le32_to_cpu(ex->ee_block); in ext4_ext_find_goal()
300 struct ext4_ext_path **ppath, ext4_lblk_t lblk, in ext4_force_split_extent_at()
317 int ext4_ext_calc_metadata_amount(struct inode *inode, ext4_lblk_t lblock) in ext4_ext_calc_metadata_amount()
383 ext4_lblk_t lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent()
418 ext4_lblk_t lblock = 0; in ext4_valid_extent_entries()
419 ext4_lblk_t prev = 0; in ext4_valid_extent_entries()
544 ext4_lblk_t prev = 0; in __read_extent_tree_block()
549 ext4_lblk_t lblk = le32_to_cpu(ex->ee_block); in __read_extent_tree_block()
[all …]
Dindirect.c74 ext4_lblk_t i_block, in ext4_block_to_path()
75 ext4_lblk_t offsets[4], int *boundary) in ext4_block_to_path()
144 ext4_lblk_t *offsets, in ext4_get_branch()
243 static ext4_fsblk_t ext4_find_goal(struct inode *inode, ext4_lblk_t block, in ext4_find_goal()
324 int indirect_blks, ext4_lblk_t *offsets, in ext4_alloc_branch()
520 ext4_lblk_t offsets[4]; in ext4_ind_map_blocks()
763 ext4_lblk_t offsets[4], Indirect chain[4], in ext4_find_shared()
1098 ext4_lblk_t offsets[4]; in ext4_ind_truncate()
1103 ext4_lblk_t last_block, max_block; in ext4_ind_truncate()
1206 ext4_lblk_t start, ext4_lblk_t end) in ext4_ind_remove_space()
[all …]
Dmove_extent.c34 get_ext_path(struct inode *inode, ext4_lblk_t lblock, in get_ext_path()
98 mext_check_coverage(struct inode *inode, ext4_lblk_t from, ext4_lblk_t count, in mext_check_coverage()
104 ext4_lblk_t last = from + count; in mext_check_coverage()
265 ext4_lblk_t orig_blk_offset, donor_blk_offset; in move_extent_per_page()
565 ext4_lblk_t o_end, o_start = orig_blk; in ext4_move_extents()
566 ext4_lblk_t d_start = donor_blk; in ext4_move_extents()
628 ext4_lblk_t cur_blk, next_blk; in ext4_move_extents()
Dext4.h96 typedef __u32 ext4_lblk_t; typedef
148 ext4_lblk_t logical;
150 ext4_lblk_t lleft;
152 ext4_lblk_t lright;
179 ext4_lblk_t m_lblk;
283 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))
288 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))
955 ext4_lblk_t i_dir_start_lookup;
1030 ext4_lblk_t i_es_shrink_lblk; /* Offset where we start searching for
1042 ext4_lblk_t i_da_metadata_calc_last_lblock;
[all …]
Dmballoc.h111 ext4_lblk_t pa_lstart; /* log. block */
125 ext4_lblk_t fe_logical;
Dnamei.c52 ext4_lblk_t *block) in ext4_append()
90 ext4_lblk_t block, in __ext4_read_dirblock()
244 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry);
245 static void dx_set_block(struct dx_entry *entry, ext4_lblk_t value);
267 u32 hash, ext4_lblk_t block);
514 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry) in dx_get_block()
519 static inline void dx_set_block(struct dx_entry *entry, ext4_lblk_t value) in dx_set_block()
697 ext4_lblk_t block = dx_get_block(entries); in dx_show_entries()
698 ext4_lblk_t hash = i ? dx_get_hash(entries): 0; in dx_show_entries()
951 struct inode *dir, ext4_lblk_t block, in htree_dirblock_to_tree()
[all …]
Dtruncate.h25 ext4_lblk_t needed; in ext4_blocks_for_truncate()
Dfile.c407 ext4_lblk_t end_blk, in ext4_find_unwritten_pgoff()
522 ext4_lblk_t start, last, end; in ext4_seek_data()
585 ext4_lblk_t start, last, end; in ext4_seek_hole()
Dinode.c389 int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, in ext4_issue_zeroout()
390 ext4_lblk_t len) in ext4_issue_zeroout()
657 ext4_lblk_t i; in ext4_map_blocks()
932 ext4_lblk_t block, int map_flags) in ext4_getblk()
989 ext4_lblk_t block, int map_flags) in ext4_bread()
1668 ext4_lblk_t start, last; in mpage_release_unused_pages()
2178 static bool mpage_add_bh_to_extent(struct mpage_da_data *mpd, ext4_lblk_t lblk, in mpage_add_bh_to_extent()
2232 ext4_lblk_t lblk) in mpage_process_page_bufs()
2236 ext4_lblk_t blocks = (i_size_read(inode) + i_blocksize(inode) - 1) in mpage_process_page_bufs()
2281 ext4_lblk_t lblk; in mpage_map_and_submit_buffers()
[all …]
Dmigrate.c24 ext4_lblk_t first_block, last_block, curr_block;
622 ext4_lblk_t start, end; in ext4_ind_migrate()
Dmballoc.c3041 ext4_lblk_t end; in ext4_mb_normalize_request()
3044 ext4_lblk_t start; in ext4_mb_normalize_request()
3141 ext4_lblk_t pa_end; in ext4_mb_normalize_request()
3181 ext4_lblk_t pa_end; in ext4_mb_normalize_request()
Dinline.c1336 struct inode *dir, ext4_lblk_t block, in htree_inlinedir_to_tree()
Dsuper.c5451 ext4_lblk_t blk = off >> EXT4_BLOCK_SIZE_BITS(sb); in ext4_quota_read()
5488 ext4_lblk_t blk = off >> EXT4_BLOCK_SIZE_BITS(sb); in ext4_quota_write()