Searched refs:STRING_UNITS_2 (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | string_helpers.c | 45 [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()
|
| H A D | test-string_helpers.c | 386 string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); in __test_string_get_size()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | string_helpers.h | 15 STRING_UNITS_2, /* use binary powers of 2^10 */ enumerator
|
| /OK3568_Linux_fs/kernel/drivers/mmc/core/ |
| H A D | block.c | 2463 string_get_size((u64)get_capacity(part_md->disk), 512, STRING_UNITS_2, in mmc_blk_alloc_part() 2601 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_rpmb_part() 2946 string_get_size((u64)get_capacity(md->disk), 512, STRING_UNITS_2, in mmc_blk_probe()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/mm/book3s64/ |
| H A D | radix_pgtable.c | 253 string_get_size(size, 1, STRING_UNITS_2, buf, sizeof(buf)); in print_mapping()
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | virtio_blk.c | 462 STRING_UNITS_2, cap_str_2, sizeof(cap_str_2)); in virtblk_update_capacity()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | hugetlb.c | 2549 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages() 2580 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages() 3202 1, STRING_UNITS_2, buf, 32); in hugetlb_init()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | sd.c | 2631 STRING_UNITS_2, cap_str_2, sizeof(cap_str_2)); in sd_print_capacity()
|
| /OK3568_Linux_fs/kernel/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()
|