Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ext4/
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()
502 info->gfi_low.fmr_physical = EXT4_C2B(sbi, first_cluster); in ext4_getfsmap_datadev()
522 info->gfi_high.fmr_physical = EXT4_C2B(sbi, in ext4_getfsmap_datadev()
Dmballoc.c554 blocknr += EXT4_C2B(EXT4_SB(sb), first + i); in mb_free_blocks_double()
1774 blocknr += EXT4_C2B(sbi, block); in mb_free_blocks()
3590 discard_block = (EXT4_C2B(EXT4_SB(sb), cluster) + in ext4_issue_discard()
3592 count = EXT4_C2B(EXT4_SB(sb), count); in ext4_issue_discard()
3786 len = EXT4_C2B(sbi, ac->ac_b_ex.fe_len); in ext4_mb_mark_diskspace_used()
3885 EXT4_BLOCKS_PER_GROUP(sb) - EXT4_C2B(sbi, blkoff)); in ext4_mb_mark_bb()
4027 size = ac->ac_o_ex.fe_logical + EXT4_C2B(sbi, ac->ac_o_ex.fe_len); in ext4_mb_normalize_request()
4071 size = (loff_t) EXT4_C2B(EXT4_SB(ac->ac_sb), in ext4_mb_normalize_request()
4116 pa_end = pa->pa_lstart + EXT4_C2B(EXT4_SB(ac->ac_sb), in ext4_mb_normalize_request()
4150 pa_end = pa->pa_lstart + EXT4_C2B(EXT4_SB(ac->ac_sb), in ext4_mb_normalize_request()
[all …]
Dresize.c470 group = ext4_get_group_number(sb, EXT4_C2B(sbi, first_cluster)); in set_flexbg_block_bitmap()
1441 free_blocks += EXT4_C2B(sbi, group_data[i].free_clusters_count); in ext4_update_super()
1680 group_data[i - 1].blocks_count = EXT4_C2B(sbi, last + 1); in ext4_setup_next_flex_gd()
2131 add = EXT4_C2B(sbi, EXT4_CLUSTERS_PER_GROUP(sb) - (offset + 1)); in ext4_resize_fs()
Dinode.c385 dquot_claim_block(inode, EXT4_C2B(sbi, used)); in ext4_da_update_reserve_space()
392 dquot_release_reservation_block(inode, EXT4_C2B(sbi, used)); in ext4_da_update_reserve_space()
1496 ret = dquot_reserve_block(inode, EXT4_C2B(sbi, 1)); in ext4_da_reserve_space()
1503 dquot_release_reservation_block(inode, EXT4_C2B(sbi, 1)); in ext4_da_reserve_space()
1545 dquot_release_reservation_block(inode, EXT4_C2B(sbi, to_free)); in ext4_da_release_space()
1634 EXT4_C2B(EXT4_SB(inode->i_sb), in ext4_print_free_blocks()
1638 (long long) EXT4_C2B(EXT4_SB(sb), in ext4_print_free_blocks()
1641 (long long) EXT4_C2B(EXT4_SB(sb), in ext4_print_free_blocks()
5690 delalloc_blocks = EXT4_C2B(EXT4_SB(inode->i_sb), in ext4_file_getattr()
Dextents.c2443 dquot_reclaim_block(inode, EXT4_C2B(sbi, 1)); in ext4_rereserve_cluster()
2502 EXT4_C2B(sbi, partial->pclu), in ext4_remove_blocks()
2776 EXT4_C2B(sbi, partial->pclu), in ext4_ext_rm_leaf()
3045 EXT4_C2B(sbi, partial.pclu), in ext4_ext_remove_space()
4291 ar.len = EXT4_C2B(sbi, ar.len) - offset; in ext4_ext_map_blocks()
4322 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.c1308 dquot_free_block(inode, EXT4_C2B(EXT4_SB(inode->i_sb), 1)); in ext4_xattr_release_block()
2013 EXT4_C2B(EXT4_SB(sb), 1)); in ext4_xattr_block_set()
2038 EXT4_C2B(EXT4_SB(sb), in ext4_xattr_block_set()
2169 dquot_free_block(inode, EXT4_C2B(EXT4_SB(sb), 1)); in ext4_xattr_block_set()
Dballoc.c709 EXT4_C2B(EXT4_SB(inode->i_sb), ar.len)); in ext4_new_meta_blocks()
Dsuper.c5453 EXT4_C2B(sbi, block)); in __ext4_fill_super()
5994 EXT4_C2B(sbi, percpu_counter_sum_positive( in ext4_update_super()
6672 resv_blocks = EXT4_C2B(sbi, atomic64_read(&sbi->s_resv_clusters)); in ext4_statfs()
6679 buf->f_blocks = ext4_blocks_count(es) - EXT4_C2B(sbi, overhead); in ext4_statfs()
6683 buf->f_bfree = EXT4_C2B(sbi, max_t(s64, bfree, 0)); in ext4_statfs()
Dext4.h316 #define EXT4_C2B(sbi, cluster) ((cluster) << (sbi)->s_cluster_bits) macro