Home
last modified time | relevance | path

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

/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()
/linux/lib/
H A Dstring_helpers.c51 [STRING_UNITS_2] = units_2, in string_get_size()
55 [STRING_UNITS_2] = 1024, in string_get_size()
107 if (units_base == STRING_UNITS_2) { in string_get_size()
/linux/include/linux/
H A Dstring_helpers.h23 STRING_UNITS_2, /* use binary powers of 2^10 */ enumerator
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_pf_config.c553 string_get_size(value, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done()
556 string_get_size(actual, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done()
563 string_get_size(actual, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_set_u64_done()
623 string_get_size(value, 1, STRING_UNITS_2, size, sizeof(size)); in pf_config_bulk_set_u64_done()
2781 string_get_size(config->ggtt_region->base.size, 1, STRING_UNITS_2, in xe_gt_sriov_pf_config_print_ggtt()
2887 string_get_size(xe_bo_size(config->lmem_obj), 1, STRING_UNITS_2, in xe_gt_sriov_pf_config_print_lmem()
2922 string_get_size(total, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
2925 string_get_size(spare, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
2930 string_get_size(avail, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_pf_config_print_available_ggtt()
H A Dxe_gt_sriov_vf.c515 string_get_size(size, 1, STRING_UNITS_2, size_str, sizeof(size_str)); in vf_get_lmem_info()
1039 string_get_size(ggtt_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config()
1044 string_get_size(lmem_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config()
H A Dxe_ggtt.c503 string_get_size(node->size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_ggtt_dump_node()
1089 string_get_size(hole_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_ggtt_print_holes()
/linux/mm/
H A Dshow_mem.c445 string_get_size(counter.bytes, 1, STRING_UNITS_2, bytes, sizeof(bytes)); in __show_mem()
H A Dhugetlb.c3441 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_onenode()
3468 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages_errcheck()
3679 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages()
4147 1, STRING_UNITS_2, buf, 32); in hugetlb_init()
/linux/arch/powerpc/mm/book3s64/
H A Dradix_pgtable.c265 string_get_size(size, 1, STRING_UNITS_2, buf, sizeof(buf)); in print_mapping()
/linux/drivers/mmc/core/
H A Dblock.c2631 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_req()
2976 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_rpmb_part()
/linux/drivers/scsi/
H A Dsd.c2967 STRING_UNITS_2, cap_str_2, sizeof(cap_str_2)); in sd_print_capacity()
/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()