Home
last modified time | relevance | path

Searched refs:EXT4_C2B (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/fs/ext4/
Dmballoc.h240 return (loff_t)fex->fe_logical + EXT4_C2B(sbi, fex->fe_len); in extent_logical_end()
247 return (loff_t)pa->pa_lstart + EXT4_C2B(sbi, pa->pa_len); in pa_logical_end()
Dfsmap.c140 EXT4_C2B(sbi, cno), in ext4_getfsmap_helper()
163 trace_ext4_fsmap_mapping(sb, info->gfi_dev, agno, EXT4_C2B(sbi, cno), in ext4_getfsmap_helper()
202 fsb = (EXT4_C2B(sbi, start) + ext4_group_first_block_no(sb, agno)); in ext4_getfsmap_datadev_helper()
203 fslen = EXT4_C2B(sbi, len); in ext4_getfsmap_datadev_helper()
504 info->gfi_low.fmr_physical = EXT4_C2B(sbi, first_cluster); in ext4_getfsmap_datadev()
524 info->gfi_high.fmr_physical = EXT4_C2B(sbi, in ext4_getfsmap_datadev()
Dmballoc.c565 blocknr += EXT4_C2B(EXT4_SB(sb), first + i); in mb_free_blocks_double()
1935 blocknr += EXT4_C2B(sbi, block); in mb_free_blocks()
3839 discard_block = (EXT4_C2B(EXT4_SB(sb), cluster) + in ext4_issue_discard()
3841 count = EXT4_C2B(EXT4_SB(sb), count); in ext4_issue_discard()
4029 len = EXT4_C2B(sbi, ac->ac_b_ex.fe_len); in ext4_mb_mark_diskspace_used()
4128 EXT4_BLOCKS_PER_GROUP(sb) - EXT4_C2B(sbi, blkoff)); in ext4_mb_mark_bb()
4496 } else if (NRL_CHECK_SIZE(EXT4_C2B(sbi, ac->ac_o_ex.fe_len), in ext4_mb_normalize_request()
4503 size = (loff_t) EXT4_C2B(sbi, in ext4_mb_normalize_request()
4683 end = min(pa->pa_pstart + EXT4_C2B(sbi, pa->pa_len), in ext4_mb_use_inode_pa()
4684 start + EXT4_C2B(sbi, ac->ac_o_ex.fe_len)); in ext4_mb_use_inode_pa()
[all …]
Dresize.c478 group = ext4_get_group_number(sb, EXT4_C2B(sbi, first_cluster)); in set_flexbg_block_bitmap()
1445 free_blocks += EXT4_C2B(sbi, group_data[i].free_clusters_count); in ext4_update_super()
1685 group_data[i - 1].blocks_count = EXT4_C2B(sbi, last + 1); in ext4_setup_next_flex_gd()
2133 add = EXT4_C2B(sbi, EXT4_CLUSTERS_PER_GROUP(sb) - (offset + 1)); in ext4_resize_fs()
Dinode.c357 dquot_claim_block(inode, EXT4_C2B(sbi, used)); in ext4_da_update_reserve_space()
364 dquot_release_reservation_block(inode, EXT4_C2B(sbi, used)); in ext4_da_update_reserve_space()
1466 ret = dquot_reserve_block(inode, EXT4_C2B(sbi, 1)); in ext4_da_reserve_space()
1473 dquot_release_reservation_block(inode, EXT4_C2B(sbi, 1)); in ext4_da_reserve_space()
1515 dquot_release_reservation_block(inode, EXT4_C2B(sbi, to_free)); in ext4_da_release_space()
1608 EXT4_C2B(EXT4_SB(inode->i_sb), in ext4_print_free_blocks()
1612 (long long) EXT4_C2B(EXT4_SB(sb), in ext4_print_free_blocks()
1615 (long long) EXT4_C2B(EXT4_SB(sb), in ext4_print_free_blocks()
5618 delalloc_blocks = EXT4_C2B(EXT4_SB(inode->i_sb), in ext4_file_getattr()
Dextents.c2419 dquot_reclaim_block(inode, EXT4_C2B(sbi, 1)); in ext4_rereserve_cluster()
2478 EXT4_C2B(sbi, partial->pclu), in ext4_remove_blocks()
2751 EXT4_C2B(sbi, partial->pclu), in ext4_ext_rm_leaf()
3020 EXT4_C2B(sbi, partial.pclu), in ext4_ext_remove_space()
4318 ar.len = EXT4_C2B(sbi, ar.len) - offset; in ext4_ext_map_blocks()
4349 EXT4_C2B(sbi, allocated_clusters), in ext4_ext_map_blocks()
5811 path = ext4_find_extent(inode, EXT4_C2B(sbi, lclu), NULL, 0); in ext4_clu_mapped()
5828 (unsigned long) EXT4_C2B(sbi, lclu), in ext4_clu_mapped()
Dsysfs.c380 (s64) EXT4_C2B(sbi, in ext4_attr_show()
Dxattr.c1352 dquot_free_block(inode, EXT4_C2B(EXT4_SB(inode->i_sb), 1)); in ext4_xattr_release_block()
2079 EXT4_C2B(EXT4_SB(sb), 1)); in ext4_xattr_block_set()
2104 EXT4_C2B(EXT4_SB(sb), in ext4_xattr_block_set()
2236 dquot_free_block(inode, EXT4_C2B(EXT4_SB(sb), 1)); in ext4_xattr_block_set()
Dballoc.c751 EXT4_C2B(EXT4_SB(inode->i_sb), ar.len)); in ext4_new_meta_blocks()
Dsuper.c1219 ext4_free_blocks_count_set(sbi->s_es, EXT4_C2B(sbi, block)); in ext4_percpu_param_init()
6124 EXT4_C2B(sbi, percpu_counter_sum_positive( in ext4_update_super()
6815 resv_blocks = EXT4_C2B(sbi, atomic64_read(&sbi->s_resv_clusters)); in ext4_statfs()
6822 buf->f_blocks = ext4_blocks_count(es) - EXT4_C2B(sbi, overhead); in ext4_statfs()
6826 buf->f_bfree = EXT4_C2B(sbi, max_t(s64, bfree, 0)); in ext4_statfs()
Dext4.h369 #define EXT4_C2B(sbi, cluster) ((cluster) << (sbi)->s_cluster_bits) macro