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/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.c40 int string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() function
140 EXPORT_SYMBOL(string_get_size);
/linux/drivers/dax/
H A Dkmem.c116 string_get_size(orig_len - total_len, 1, STRING_UNITS_2, in dev_dax_kmem_probe()
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_vf.c562 string_get_size(size, 1, STRING_UNITS_2, size_str, sizeof(size_str)); in vf_get_lmem_info()
1153 string_get_size(ggtt_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config()
1158 string_get_size(lmem_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config()
H A Dxe_ggtt.c547 string_get_size(node->size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_ggtt_dump_node()
1169 string_get_size(hole_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_ggtt_print_holes()
/linux/mm/
H A Dshow_mem.c444 string_get_size(counter.bytes, 1, STRING_UNITS_2, bytes, sizeof(bytes)); in __show_mem()
H A Dhugetlb.c3458 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_onenode()
3485 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_errcheck()
3696 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages()
4163 string_get_size(huge_page_size(&default_hstate), in hugetlb_init()
/linux/drivers/gpu/drm/gud/
H A Dgud_drv.c318 string_get_size(gdrm->bulk_len, 1, STRING_UNITS_2, buf, sizeof(buf)); in gud_stats_debugfs()
/linux/drivers/block/
H A Dvirtio_blk.c926 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
928 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
/linux/drivers/mmc/core/
H A Dblock.c2631 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_req()
2976 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_rpmb_part()
/linux/drivers/scsi/
H A Dsd.c2958 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity()
2960 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity()
/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()