| /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/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.c | 40 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 D | kmem.c | 116 string_get_size(orig_len - total_len, 1, STRING_UNITS_2, in dev_dax_kmem_probe()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_gt_sriov_vf.c | 562 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 D | xe_ggtt.c | 547 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 D | show_mem.c | 444 string_get_size(counter.bytes, 1, STRING_UNITS_2, bytes, sizeof(bytes)); in __show_mem()
|
| H A D | hugetlb.c | 3458 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 D | gud_drv.c | 318 string_get_size(gdrm->bulk_len, 1, STRING_UNITS_2, buf, sizeof(buf)); in gud_stats_debugfs()
|
| /linux/drivers/block/ |
| H A D | virtio_blk.c | 926 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 D | block.c | 2631 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 D | sd.c | 2958 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 D | cxgb4_debugfs.c | 3460 string_get_size((u64)to - from + 1, 1, STRING_UNITS_2, buf, in mem_region_show()
|