Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/lib/
H A Dstring_helpers.c46 [STRING_UNITS_2] = units_2, in string_get_size()
50 [STRING_UNITS_2] = 1024, in string_get_size()
102 if (units == STRING_UNITS_2) { in string_get_size()
H A Dtest-string_helpers.c511 string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); in __test_string_get_size()
/openbmc/linux/include/linux/
H A Dstring_helpers.h24 STRING_UNITS_2, /* use binary powers of 2^10 */ enumerator
/openbmc/linux/drivers/gpu/drm/gud/
H A Dgud_drv.c332 string_get_size(gdrm->bulk_len, 1, STRING_UNITS_2, buf, sizeof(buf)); in gud_stats_debugfs()
/openbmc/linux/mm/
H A Dhugetlb.c3282 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()
4281 1, STRING_UNITS_2, buf, 32); in hugetlb_init()
/openbmc/linux/drivers/mmc/core/
H A Dblock.c2562 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 Dradix_pgtable.c263 string_get_size(size, 1, STRING_UNITS_2, buf, sizeof(buf)); in print_mapping()
/openbmc/linux/drivers/block/
H A Dvirtio_blk.c989 STRING_UNITS_2, cap_str_2, sizeof(cap_str_2)); in virtblk_update_capacity()
/openbmc/linux/drivers/scsi/
H A Dsd.c2731 STRING_UNITS_2, cap_str_2, sizeof(cap_str_2)); in sd_print_capacity()
/openbmc/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()