Searched refs:string_get_size (Results 1 – 11 of 11) sorted by relevance
/openbmc/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()
|
/openbmc/linux/include/linux/ |
H A D | string_helpers.h | 27 void string_get_size(u64 size, u64 blk_size, enum string_size_units units,
|
/openbmc/linux/lib/ |
H A D | test-string_helpers.c | 510 string_get_size(size, blk_size, STRING_UNITS_10, buf10, sizeof(buf10)); in __test_string_get_size() 511 string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); in __test_string_get_size()
|
H A D | string_helpers.c | 35 void string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() function 132 EXPORT_SYMBOL(string_get_size);
|
/openbmc/linux/drivers/gpu/drm/gud/ |
H A D | gud_drv.c | 332 string_get_size(gdrm->bulk_len, 1, STRING_UNITS_2, buf, sizeof(buf)); in gud_stats_debugfs()
|
/openbmc/linux/drivers/block/ |
H A D | virtio_blk.c | 988 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity() 990 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
|
/openbmc/linux/mm/ |
H A D | hugetlb.c | 3282 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_onenode() 3344 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages() 3390 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages() 4280 string_get_size(huge_page_size(&default_hstate), in hugetlb_init()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | block.c | 2562 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_req() 2758 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_rpmb_part()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 263 string_get_size(size, 1, STRING_UNITS_2, buf, sizeof(buf)); in print_mapping()
|
/openbmc/linux/drivers/scsi/ |
H A D | sd.c | 2730 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity() 2732 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity()
|
/openbmc/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()
|