Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/spi-nor/
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.12.1/drivers/gpu/drm/xe/
Dxe_assert.h148 __tile->id, ({ string_get_size(__tile->mem.vram.actual_physical_size, 1, \
Dxe_gt_sriov_pf_config.c492 string_get_size(value, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done()
495 string_get_size(actual, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done()
502 string_get_size(actual, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done()
562 string_get_size(value, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_bulk_set_u64_done()
2124 string_get_size(config->ggtt_region->base.size, 1, STRING_UNITS_2, in xe_gt_sriov_pf_config_print_ggtt()
2230 string_get_size(total, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
2233 string_get_size(spare, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
2238 string_get_size(avail, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
Dxe_gt_sriov_vf.c379 string_get_size(size, 1, STRING_UNITS_2, size_str, sizeof(size_str)); in vf_get_lmem_info()
954 string_get_size(config->ggtt_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config()
958 string_get_size(config->lmem_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config()
Dxe_ggtt.c421 string_get_size(node->size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_ggtt_dump_node()
828 string_get_size(hole_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_ggtt_print_holes()
/linux-6.12.1/include/linux/
Dstring_helpers.h31 int string_get_size(u64 size, u64 blk_size, const enum string_size_units units,
/linux-6.12.1/lib/
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()
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.12.1/fs/bcachefs/
Dprintbuf.c413 unsigned len = string_get_size(v, 1, !out->si_units, in bch2_prt_human_readable_u64()
/linux-6.12.1/mm/
Dshow_mem.c440 string_get_size(counter.bytes, 1, STRING_UNITS_2, bytes, sizeof(bytes)); in __show_mem()
Dhugetlb.c3324 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_onenode()
3351 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_errcheck()
3515 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages()
4457 string_get_size(huge_page_size(&default_hstate), in hugetlb_init()
/linux-6.12.1/drivers/gpu/drm/gud/
Dgud_drv.c332 string_get_size(gdrm->bulk_len, 1, STRING_UNITS_2, buf, sizeof(buf)); in gud_stats_debugfs()
/linux-6.12.1/drivers/block/
Dvirtio_blk.c931 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
933 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dradix_pgtable.c265 string_get_size(size, 1, STRING_UNITS_2, buf, sizeof(buf)); in print_mapping()
/linux-6.12.1/drivers/mmc/core/
Dblock.c2604 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_req()
2953 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_rpmb_part()
/linux-6.12.1/drivers/scsi/
Dsd.c2925 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity()
2927 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c3460 string_get_size((u64)to - from + 1, 1, STRING_UNITS_2, buf, in mem_region_show()