Searched refs:string_get_size (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | string_helpers.h | 18 void string_get_size(u64 size, u64 blk_size, enum string_size_units units,
|
/kernel/linux/linux-5.10/lib/ |
D | string_helpers.c | 34 void string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() function 131 EXPORT_SYMBOL(string_get_size);
|
D | test-string_helpers.c | 385 string_get_size(size, blk_size, STRING_UNITS_10, buf10, sizeof(buf10)); in __test_string_get_size() 386 string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); in __test_string_get_size()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | virtio_blk.c | 459 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity() 461 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | block.c | 2448 string_get_size((u64)get_capacity(part_md->disk), 512, STRING_UNITS_2, in mmc_blk_alloc_part() 2586 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_rpmb_part() 2930 string_get_size((u64)get_capacity(md->disk), 512, STRING_UNITS_2, in mmc_blk_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 253 string_get_size(size, 1, STRING_UNITS_2, buf, sizeof(buf)); in print_mapping()
|
/kernel/linux/linux-5.10/mm/ |
D | hugetlb.c | 2567 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages() 2598 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages() 3219 string_get_size(huge_page_size(&default_hstate), in hugetlb_init()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | sd.c | 2630 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity() 2632 string_get_size(sdkp->capacity, sector_size, in sd_print_capacity()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_debugfs.c | 3460 string_get_size((u64)to - from + 1, 1, STRING_UNITS_2, buf, in mem_region_show()
|