Home
last modified time | relevance | path

Searched refs:ext4_fsblk_t (Results 1 – 25 of 25) sorted by relevance

/linux-6.6.21/fs/ext4/
Dextents_status.h42 #define ES_SHIFT (sizeof(ext4_fsblk_t)*8 - ES_FLAGS)
43 #define ES_MASK (~((ext4_fsblk_t)0) << ES_SHIFT)
51 #define ES_TYPE_MASK ((ext4_fsblk_t)(EXTENT_STATUS_WRITTEN | \
63 ext4_fsblk_t es_pblk; /* first physical block */
131 ext4_lblk_t len, ext4_fsblk_t pblk,
134 ext4_lblk_t len, ext4_fsblk_t pblk,
194 es->es_pblk |= ((ext4_fsblk_t)EXTENT_STATUS_REFERENCED) << ES_SHIFT; in ext4_es_set_referenced()
199 es->es_pblk &= ~(((ext4_fsblk_t)EXTENT_STATUS_REFERENCED) << ES_SHIFT); in ext4_es_clear_referenced()
207 static inline ext4_fsblk_t ext4_es_pblock(struct extent_status *es) in ext4_es_pblock()
212 static inline ext4_fsblk_t ext4_es_show_pblock(struct extent_status *es) in ext4_es_show_pblock()
[all …]
Dext4_extents.h113 ext4_fsblk_t p_block;
130 ext4_fsblk_t pclu; /* physical cluster number */
226 static inline ext4_fsblk_t ext4_ext_pblock(struct ext4_extent *ex) in ext4_ext_pblock()
228 ext4_fsblk_t block; in ext4_ext_pblock()
231 block |= ((ext4_fsblk_t) le16_to_cpu(ex->ee_start_hi) << 31) << 1; in ext4_ext_pblock()
239 static inline ext4_fsblk_t ext4_idx_pblock(struct ext4_extent_idx *ix) in ext4_idx_pblock()
241 ext4_fsblk_t block; in ext4_idx_pblock()
244 block |= ((ext4_fsblk_t) le16_to_cpu(ix->ei_leaf_hi) << 31) << 1; in ext4_idx_pblock()
254 ext4_fsblk_t pb) in ext4_ext_store_pblock()
267 ext4_fsblk_t pb) in ext4_idx_store_pblock()
Dballoc.c36 ext4_fsblk_t block) in ext4_get_group_number()
53 void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr, in ext4_get_group_no_and_offset()
74 ext4_fsblk_t block, in ext4_block_in_group()
94 ext4_fsblk_t start = ext4_group_first_block_no(sb, block_group); in ext4_num_overhead_clusters()
95 ext4_fsblk_t end = start + EXT4_BLOCKS_PER_GROUP(sb) - 1; in ext4_num_overhead_clusters()
96 ext4_fsblk_t itbl_blk_start, itbl_blk_end; in ext4_num_overhead_clusters()
190 ext4_fsblk_t start, tmp; in ext4_init_block_bitmap()
308 static ext4_fsblk_t ext4_valid_block_bitmap_padding(struct super_block *sb, in ext4_valid_block_bitmap_padding()
342 static ext4_fsblk_t ext4_valid_block_bitmap(struct super_block *sb, in ext4_valid_block_bitmap()
351 ext4_fsblk_t blk; in ext4_valid_block_bitmap()
[all …]
Dresize.c115 static ext4_fsblk_t ext4_meta_bg_first_block_no(struct super_block *sb, in ext4_meta_bg_first_block_no()
139 ext4_fsblk_t start = ext4_blocks_count(es); in verify_group_input()
140 ext4_fsblk_t end = start + input->blocks_count; in verify_group_input()
142 ext4_fsblk_t itend = input->inode_table + sbi->s_itb_per_group; in verify_group_input()
144 ext4_fsblk_t metaend; in verify_group_input()
310 ext4_fsblk_t start_blk; in ext4_alloc_group_tables()
311 ext4_fsblk_t last_blk; in ext4_alloc_group_tables()
375 ext4_fsblk_t next_group_start; in ext4_alloc_group_tables()
425 ext4_fsblk_t blk) in bclean()
463 ext4_fsblk_t first_cluster, ext4_fsblk_t last_cluster) in set_flexbg_block_bitmap()
[all …]
Dfsmap.c46 ext4_fsblk_t gfi_next_fsblk; /* next fsblock we expect */
90 ext4_fsblk_t rec_fsblk = rec->fmr_physical; in ext4_getfsmap_helper()
183 static inline ext4_fsblk_t ext4_fsmap_next_pblk(struct ext4_fsmap *fmr) in ext4_fsmap_next_pblk()
198 ext4_fsblk_t fsb; in ext4_getfsmap_datadev_helper()
199 ext4_fsblk_t fslen; in ext4_getfsmap_datadev_helper()
292 ext4_fsblk_t fsb, ext4_fsblk_t len, in ext4_getfsmap_fill()
319 ext4_fsblk_t fsb = ext4_group_first_block_no(sb, agno); in ext4_getfsmap_find_sb()
320 ext4_fsblk_t len; in ext4_getfsmap_find_sb()
471 ext4_fsblk_t start_fsb; in ext4_getfsmap_datadev()
472 ext4_fsblk_t end_fsb; in ext4_getfsmap_datadev()
[all …]
Dext4.h117 typedef unsigned long long ext4_fsblk_t; typedef
235 ext4_fsblk_t goal;
237 ext4_fsblk_t pleft;
239 ext4_fsblk_t pright;
259 ext4_fsblk_t m_pblk;
375 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
383 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
995 ext4_fsblk_t i_file_acl;
1503 ext4_fsblk_t s_sb_block;
2543 static inline ext4_fsblk_t
[all …]
Dmigrate.c18 ext4_fsblk_t first_pblock, last_pblock;
65 ext4_fsblk_t pblock, struct migrate_struct *lb) in update_extent_range()
90 ext4_fsblk_t pblock, in update_ind_extent_range()
119 ext4_fsblk_t pblock, in update_dind_extent_range()
149 ext4_fsblk_t pblock, in update_tind_extent_range()
356 ext4_fsblk_t block; in free_ext_idx()
605 ext4_fsblk_t blk; in ext4_ind_migrate()
Dindirect.c217 static ext4_fsblk_t ext4_find_near(struct inode *inode, Indirect *ind) in ext4_find_near()
251 static ext4_fsblk_t ext4_find_goal(struct inode *inode, ext4_lblk_t block, in ext4_find_goal()
254 ext4_fsblk_t goal; in ext4_find_goal()
334 ext4_fsblk_t b, new_blocks[4]; in ext4_alloc_branch()
431 ext4_fsblk_t current_block; in ext4_splice_branch()
543 ext4_fsblk_t first_block = 0; in ext4_ind_map_blocks()
562 ext4_fsblk_t blk; in ext4_ind_map_blocks()
866 ext4_fsblk_t block_to_free, in ext4_clear_blocks()
925 ext4_fsblk_t block_to_free = 0; /* Starting block # of a run */ in ext4_free_data()
930 ext4_fsblk_t nr; /* Current block # */ in ext4_free_data()
[all …]
Dblock_validity.c25 ext4_fsblk_t start_blk;
70 ext4_fsblk_t start_blk, in add_system_zone()
296 ext4_fsblk_t start_blk, unsigned int count) in ext4_sb_block_valid()
343 int ext4_inode_block_valid(struct inode *inode, ext4_fsblk_t start_blk, in ext4_inode_block_valid()
Dmballoc.h131 ext4_fsblk_t pa_pstart; /* phys. block */
229 static inline ext4_fsblk_t ext4_grp_offs_to_block(struct super_block *sb, in ext4_grp_offs_to_block()
Dmmp.c77 ext4_fsblk_t mmp_block) in read_mmp_block()
142 ext4_fsblk_t mmp_block; in kmmpd()
280 ext4_fsblk_t mmp_block) in ext4_multi_mount_protect()
Dextents.c210 static ext4_fsblk_t ext4_ext_find_goal(struct inode *inode, in ext4_ext_find_goal()
237 ext4_fsblk_t ext_pblk = ext4_ext_pblock(ex); in ext4_ext_find_goal()
259 static ext4_fsblk_t
264 ext4_fsblk_t goal, newblock; in ext4_ext_new_meta_block()
365 ext4_fsblk_t block = ext4_ext_pblock(ext); in ext4_valid_extent()
382 ext4_fsblk_t block = ext4_idx_pblock(ext_idx); in ext4_valid_extent_idx()
389 ext4_lblk_t lblk, ext4_fsblk_t *pblk, in ext4_valid_extent_entries()
456 int depth, ext4_fsblk_t pblk, ext4_lblk_t lblk) in __ext4_ext_check()
555 ext4_fsblk_t pblk; in __read_extent_tree_block()
709 ext4_fsblk_t newblock, int level) in ext4_ext_show_move()
[all …]
Dsuper.c307 ext4_fsblk_t ext4_block_bitmap(struct super_block *sb, in ext4_block_bitmap()
312 (ext4_fsblk_t)le32_to_cpu(bg->bg_block_bitmap_hi) << 32 : 0); in ext4_block_bitmap()
315 ext4_fsblk_t ext4_inode_bitmap(struct super_block *sb, in ext4_inode_bitmap()
320 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_bitmap_hi) << 32 : 0); in ext4_inode_bitmap()
323 ext4_fsblk_t ext4_inode_table(struct super_block *sb, in ext4_inode_table()
328 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_table_hi) << 32 : 0); in ext4_inode_table()
364 struct ext4_group_desc *bg, ext4_fsblk_t blk) in ext4_block_bitmap_set()
372 struct ext4_group_desc *bg, ext4_fsblk_t blk) in ext4_inode_bitmap_set()
380 struct ext4_group_desc *bg, ext4_fsblk_t blk) in ext4_inode_table_set()
842 unsigned int line, ext4_fsblk_t block, int error, in __ext4_error_inode()
[all …]
Dmballoc.c562 ext4_fsblk_t blocknr; in mb_free_blocks_double()
1923 ext4_fsblk_t blocknr; in mb_free_blocks()
2354 ext4_fsblk_t start; in ext4_mb_find_by_goal()
2536 ext4_fsblk_t first_group_block; in ext4_mb_scan_aligned()
2537 ext4_fsblk_t a; in ext4_mb_scan_aligned()
3837 ext4_fsblk_t discard_block; in ext4_issue_discard()
3994 ext4_fsblk_t block; in ext4_mb_mark_diskspace_used()
4103 void ext4_mb_mark_bb(struct super_block *sb, ext4_fsblk_t block, in ext4_mb_mark_bb()
4677 ext4_fsblk_t start; in ext4_mb_use_inode_pa()
4678 ext4_fsblk_t end; in ext4_mb_use_inode_pa()
[all …]
Dfast_commit.h139 ext4_fsblk_t pblk;
Dialloc.c84 ext4_fsblk_t blk; in ext4_validate_inode_bitmap()
129 ext4_fsblk_t bitmap_blk; in ext4_read_inode_bitmap()
432 ext4_fsblk_t freec, avefreec; in find_group_orlov()
1522 ext4_fsblk_t blk; in ext4_init_inode_table()
Dextents_status.c487 ext4_lblk_t lblk, ext4_lblk_t len, ext4_fsblk_t pblk) in ext4_es_init_extent()
622 ext4_fsblk_t ee_start; in ext4_es_insert_extent_ext_check()
848 ext4_lblk_t len, ext4_fsblk_t pblk, in ext4_es_insert_extent()
945 ext4_lblk_t len, ext4_fsblk_t pblk, in ext4_es_cache_extent()
1375 ext4_fsblk_t block; in __es_remove_extent()
Dext4_jbd2.c267 struct buffer_head *bh, ext4_fsblk_t blocknr) in __ext4_forget()
Dinode.c395 int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, in ext4_issue_zeroout()
2019 ext4_lblk_t *m_lblk, ext4_fsblk_t *m_pblk, in mpage_process_folio()
2025 ext4_fsblk_t pblock = *m_pblk; in mpage_process_folio()
2096 ext4_fsblk_t pblock; in mpage_map_and_submit_buffers()
3638 ext4_fsblk_t index = from >> PAGE_SHIFT; in __ext4_block_zero_page_range()
3789 ext4_fsblk_t start, end; in ext4_zero_partial_blocks()
4361 ext4_fsblk_t *ret_block) in __ext4_get_inode_loc()
4365 ext4_fsblk_t block; in __ext4_get_inode_loc()
4462 ext4_fsblk_t b, end, table; in __ext4_get_inode_loc()
4468 b = block & ~((ext4_fsblk_t) ra_blks - 1); in __ext4_get_inode_loc()
[all …]
Dext4_jbd2.h240 struct buffer_head *bh, ext4_fsblk_t blocknr);
Dioctl.c108 ext4_fsblk_t sb_block; in ext4_update_backup_sb()
1284 ext4_fsblk_t n_blocks_count; in __ext4_ioctl()
1434 ext4_fsblk_t n_blocks_count; in __ext4_ioctl()
Dsysfs.c102 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store()
Dfast_commit.c1679 ext4_lblk_t lblk, ext4_fsblk_t pblk, int len, int replay) in ext4_fc_record_regions()
1726 ext4_fsblk_t start_pblk; in ext4_fc_replay_add_range()
1956 bool ext4_fc_replay_check_excluded(struct super_block *sb, ext4_fsblk_t blk) in ext4_fc_replay_check_excluded()
Dxattr.c2136 ext4_fsblk_t goal, block; in ext4_xattr_block_set()
/linux-6.6.21/include/trace/events/
Dext4.h1552 __field( ext4_fsblk_t, u_pblk )
1590 __field( ext4_fsblk_t, u_pblk )
1593 __field( ext4_fsblk_t, i_pblk )
1671 __field( ext4_fsblk_t, pblk )
1712 TP_PROTO(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk),
1719 __field( ext4_fsblk_t, pblk )
1892 unsigned int allocated, ext4_fsblk_t newblock),
1901 __field( ext4_fsblk_t, pblk )
1904 __field( ext4_fsblk_t, newblk )
1937 __field( ext4_fsblk_t, pblk )
[all …]