Searched refs:EXT4_B2C (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.10/fs/ext4/ |
| D | balloc.c | 114 block_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters() 125 inode_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters() 138 c = EXT4_B2C(sbi, itbl_blk + i - start); in ext4_num_overhead_clusters() 212 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 216 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 222 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 336 if (offset < 0 || EXT4_B2C(sbi, offset) >= max_bit || in ext4_valid_block_bitmap() 337 !ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap() 344 if (offset < 0 || EXT4_B2C(sbi, offset) >= max_bit || in ext4_valid_block_bitmap() 345 !ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap() [all …]
|
| D | extents_status.c | 1087 if (rc->partial && (rc->lclu != EXT4_B2C(sbi, i))) { in count_rsvd() 1120 rc->lclu = EXT4_B2C(sbi, i); in count_rsvd() 1195 first_lclu = EXT4_B2C(sbi, rc->first_do_lblk); in get_rsvd() 1196 last_lclu = EXT4_B2C(sbi, rc->last_do_lblk); in get_rsvd() 1881 lclu = EXT4_B2C(sbi, lblk); in __insert_pending() 1926 pr = __get_pending(inode, EXT4_B2C(sbi, lblk)); in __remove_pending() 1969 ret = (bool)(__get_pending(inode, EXT4_B2C(sbi, lblk)) != NULL); in ext4_is_pending() 2063 first_lclu = EXT4_B2C(sbi, start); in __es_delayed_clu() 2065 first_lclu = EXT4_B2C(sbi, es->es_lblk); in __es_delayed_clu() 2068 last_lclu = EXT4_B2C(sbi, end); in __es_delayed_clu() [all …]
|
| D | resize.c | 60 if (EXT4_B2C(sbi, sbi->s_sbh->b_blocknr) != in ext4_resize_begin() 451 start = EXT4_B2C(sbi, ext4_group_first_block_no(sb, group)); in set_flexbg_block_bitmap() 630 ext4_mark_bitmap_end(EXT4_B2C(sbi, group_data[i].blocks_count), in setup_new_flex_group_blocks() 674 EXT4_B2C(sbi, start), in setup_new_flex_group_blocks() 675 EXT4_B2C(sbi, in setup_new_flex_group_blocks() 688 EXT4_B2C(sbi, start), in setup_new_flex_group_blocks() 689 EXT4_B2C(sbi, in setup_new_flex_group_blocks()
|
| D | fsmap.c | 538 EXT4_B2C(sbi, info->gfi_low.fmr_physical), in ext4_getfsmap_datadev() 539 EXT4_B2C(sbi, info->gfi_high.fmr_physical), in ext4_getfsmap_datadev()
|
| D | extents.c | 2449 partial->pclu != EXT4_B2C(sbi, last_pblk)) { in ext4_remove_blocks() 2501 if (partial->state != initial && partial->pclu != EXT4_B2C(sbi, pblk)) in ext4_remove_blocks() 2516 partial->pclu = EXT4_B2C(sbi, pblk); in ext4_remove_blocks() 2608 partial->pclu = EXT4_B2C(sbi, pblk); in ext4_ext_rm_leaf() 2723 if (partial->pclu != EXT4_B2C(sbi, pblk)) { in ext4_ext_rm_leaf() 2843 partial.pclu = EXT4_B2C(sbi, pblk); in ext4_ext_remove_space() 2876 partial.pclu = EXT4_B2C(sbi, pblk); in ext4_ext_remove_space() 3971 ex_cluster_start = EXT4_B2C(sbi, ee_block); in get_implied_cluster_alloc() 3972 ex_cluster_end = EXT4_B2C(sbi, ee_block + ee_len - 1); in get_implied_cluster_alloc() 3975 rr_cluster_start = EXT4_B2C(sbi, map->m_lblk); in get_implied_cluster_alloc() [all …]
|
| D | super.c | 3877 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() 3882 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() 3888 int c = EXT4_B2C(sbi, b - first_block); in count_overhead() 3907 ext4_set_bit(EXT4_B2C(sbi, s++), buf); in count_overhead() 3940 overhead = EXT4_B2C(sbi, le32_to_cpu(es->s_first_data_block)); in ext4_calculate_overhead()
|
| D | mballoc.c | 3317 clen = EXT4_B2C(sbi, len); in ext4_mb_mark_bb() 5544 ext4_fsblk_t first_cluster = EXT4_B2C(sbi, block); in ext4_group_add_blocks() 5545 ext4_fsblk_t last_cluster = EXT4_B2C(sbi, block + count - 1); in ext4_group_add_blocks()
|
| D | ext4.h | 300 #define EXT4_B2C(sbi, blk) ((blk) >> (sbi)->s_cluster_bits) macro
|
| D | inode.c | 1656 EXT4_B2C(sbi, lblk)); in ext4_insert_delayed_block()
|