Home
last modified time | relevance | path

Searched refs:string_get_size (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/drivers/mtd/spi-nor/
H A Ddebugfs.c88 string_get_size(params->size, 1, STRING_UNITS_2, buf, sizeof(buf)); in spi_nor_params_show()
133 string_get_size(et->size, 1, STRING_UNITS_2, buf, in spi_nor_params_show()
140 string_get_size(params->size, 1, STRING_UNITS_2, buf, sizeof(buf)); in spi_nor_params_show()
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_assert.h148 __tile->id, ({ string_get_size(__tile->mem.vram.actual_physical_size, 1, \
H A Dxe_gt_sriov_pf_config.c531 string_get_size(value, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done()
534 string_get_size(actual, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done()
541 string_get_size(actual, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done()
601 string_get_size(value, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_bulk_set_u64_done()
2439 string_get_size(config->ggtt_region->base.size, 1, STRING_UNITS_2, in xe_gt_sriov_pf_config_print_ggtt()
2545 string_get_size(config->lmem_obj->size, 1, STRING_UNITS_2, in xe_gt_sriov_pf_config_print_lmem()
2580 string_get_size(total, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
2583 string_get_size(spare, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
2588 string_get_size(avail, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
H A Dxe_gt_sriov_vf.c444 string_get_size(size, 1, STRING_UNITS_2, size_str, sizeof(size_str)); in vf_get_lmem_info()
1043 string_get_size(config->ggtt_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config()
1047 string_get_size(config->lmem_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config()
H A Dxe_ggtt.c425 string_get_size(node->size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_ggtt_dump_node()
835 string_get_size(hole_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_ggtt_print_holes()
/linux-6.15/include/linux/
H A Dstring_helpers.h31 int string_get_size(u64 size, u64 blk_size, const enum string_size_units units,
/linux-6.15/lib/tests/
H A Dstring_helpers_kunit.c516 string_get_size(size, blk_size, STRING_UNITS_10 | units, buf10, sizeof(buf10)); in __test_string_get_size_one()
517 string_get_size(size, blk_size, STRING_UNITS_2 | units, buf2, sizeof(buf2)); in __test_string_get_size_one()
/linux-6.15/lib/
H A Dstring_helpers.c39 int string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() function
139 EXPORT_SYMBOL(string_get_size);
/linux-6.15/mm/
H A Dshow_mem.c441 string_get_size(counter.bytes, 1, STRING_UNITS_2, bytes, sizeof(bytes)); in __show_mem()
H A Dhugetlb.c3556 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_onenode()
3583 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_errcheck()
3757 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages()
4719 string_get_size(huge_page_size(&default_hstate), in hugetlb_init()
/linux-6.15/fs/bcachefs/
H A Dprintbuf.c432 unsigned len = string_get_size(v, 1, !out->si_units, in bch2_prt_human_readable_u64()
/linux-6.15/drivers/gpu/drm/gud/
H A Dgud_drv.c333 string_get_size(gdrm->bulk_len, 1, STRING_UNITS_2, buf, sizeof(buf)); in gud_stats_debugfs()
/linux-6.15/drivers/block/
H A Dvirtio_blk.c925 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
927 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
/linux-6.15/arch/powerpc/mm/book3s64/
H A Dradix_pgtable.c265 string_get_size(size, 1, STRING_UNITS_2, buf, sizeof(buf)); in print_mapping()
/linux-6.15/drivers/mmc/core/
H A Dblock.c2678 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_req()
3029 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_rpmb_part()
/linux-6.15/drivers/scsi/
H A Dsd.c2921 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity()
2923 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity()
/linux-6.15/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c3460 string_get_size((u64)to - from + 1, 1, STRING_UNITS_2, buf, in mem_region_show()