Home
last modified time | relevance | path

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

/linux/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/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.c505 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 Dxe_gt_sriov_vf.c418 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 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/include/linux/
H A Dstring_helpers.h31 int string_get_size(u64 size, u64 blk_size, const enum string_size_units units,
/linux/lib/
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()
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/fs/bcachefs/
H A Dprintbuf.c413 unsigned len = string_get_size(v, 1, !out->si_units, in bch2_prt_human_readable_u64()
/linux/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/mm/
H A Dhugetlb.c3363 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 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/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()