Home
last modified time | relevance | path

Searched refs:STRING_UNITS_2 (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/lib/
Dstring_helpers.c45 [STRING_UNITS_2] = units_2, in string_get_size()
49 [STRING_UNITS_2] = 1024, in string_get_size()
101 if (units == STRING_UNITS_2) { in string_get_size()
Dtest-string_helpers.c364 string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); in __test_string_get_size()
/Linux-v5.4/include/linux/
Dstring_helpers.h14 STRING_UNITS_2, /* use binary powers of 2^10 */ enumerator
/Linux-v5.4/drivers/mmc/core/
Dblock.c2447 string_get_size((u64)get_capacity(part_md->disk), 512, STRING_UNITS_2, in mmc_blk_alloc_part()
2585 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_rpmb_part()
2927 string_get_size((u64)get_capacity(md->disk), 512, STRING_UNITS_2, in mmc_blk_probe()
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dradix_pgtable.c238 string_get_size(size, 1, STRING_UNITS_2, buf, sizeof(buf)); in print_mapping()
/Linux-v5.4/drivers/block/
Dvirtio_blk.c466 STRING_UNITS_2, cap_str_2, sizeof(cap_str_2)); in virtblk_update_capacity()
/Linux-v5.4/mm/
Dhugetlb.c2274 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages()
2305 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages()
/Linux-v5.4/drivers/scsi/
Dsd.c2536 STRING_UNITS_2, cap_str_2, sizeof(cap_str_2)); in sd_print_capacity()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c3262 string_get_size((u64)to - from + 1, 1, STRING_UNITS_2, buf, in mem_region_show()