/linux/drivers/mtd/spi-nor/ |
H A D | debugfs.c | 88 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/drivers/gpu/drm/xe/ |
H A D | xe_assert.h | 148 __tile->id, ({ string_get_size(__tile->mem.vram.actual_physical_size, 1, \
|
H A D | xe_gt_sriov_pf_config.c | 505 string_get_size(value, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done() 508 string_get_size(actual, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done() 515 string_get_size(actual, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done() 575 string_get_size(value, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_bulk_set_u64_done() 2374 string_get_size(config->ggtt_region->base.size, 1, STRING_UNITS_2, in xe_gt_sriov_pf_config_print_ggtt() 2480 string_get_size(config->lmem_obj->size, 1, STRING_UNITS_2, in xe_gt_sriov_pf_config_print_lmem() 2515 string_get_size(total, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt() 2518 string_get_size(spare, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt() 2523 string_get_size(avail, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
|
H A D | xe_gt_sriov_vf.c | 418 string_get_size(size, 1, STRING_UNITS_2, size_str, sizeof(size_str)); in vf_get_lmem_info() 1017 string_get_size(config->ggtt_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config() 1021 string_get_size(config->lmem_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config()
|
H A D | xe_ggtt.c | 425 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/include/linux/ |
H A D | string_helpers.h | 31 int string_get_size(u64 size, u64 blk_size, const enum string_size_units units,
|
/linux/lib/ |
H A D | string_helpers_kunit.c | 516 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()
|
H A D | string_helpers.c | 39 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/fs/bcachefs/ |
H A D | printbuf.c | 413 unsigned len = string_get_size(v, 1, !out->si_units, in bch2_prt_human_readable_u64()
|
/linux/drivers/gpu/drm/gud/ |
H A D | gud_drv.c | 333 string_get_size(gdrm->bulk_len, 1, STRING_UNITS_2, buf, sizeof(buf)); in gud_stats_debugfs()
|
/linux/mm/ |
H A D | hugetlb.c | 3363 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_onenode() 3390 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_errcheck() 3554 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages() 4498 string_get_size(huge_page_size(&default_hstate), in hugetlb_init()
|
/linux/drivers/mmc/core/ |
H A D | block.c | 2678 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/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_debugfs.c | 3460 string_get_size((u64)to - from + 1, 1, STRING_UNITS_2, buf, in mem_region_show()
|