Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/size/
Dget_size.c108 print_k_value(" Total: ", info.totalram, info.mem_unit); in _start()
109 print_k_value(" Free: ", info.freeram, info.mem_unit); in _start()
110 print_k_value(" Buffer: ", info.bufferram, info.mem_unit); in _start()
111 print_k_value(" In use: ", used, info.mem_unit); in _start()
/Linux-v5.10/include/uapi/linux/
Dsysinfo.h21 __u32 mem_unit; /* Memory unit size in bytes */ member
/Linux-v5.10/kernel/
Dsys.c2560 unsigned int mem_unit, bitcount; in do_sysinfo() local
2589 mem_unit = info->mem_unit; in do_sysinfo()
2590 while (mem_unit > 1) { in do_sysinfo()
2592 mem_unit >>= 1; in do_sysinfo()
2606 info->mem_unit = 1; in do_sysinfo()
2646 u32 mem_unit; member
2663 while (s.mem_unit < PAGE_SIZE) { in COMPAT_SYSCALL_DEFINE1()
2664 s.mem_unit <<= 1; in COMPAT_SYSCALL_DEFINE1()
2692 s_32.mem_unit = s.mem_unit; in COMPAT_SYSCALL_DEFINE1()
/Linux-v5.10/drivers/gpu/drm/ttm/
Dttm_memory.c310 mem *= si->mem_unit; in ttm_mem_init_kernel_zone()
346 mem *= si->mem_unit; in ttm_mem_init_highmem_zone()
378 mem *= si->mem_unit; in ttm_mem_init_dma32_zone()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c48 amdgpu_amdkfd_total_mem_size *= si.mem_unit; in amdgpu_amdkfd_init()
Damdgpu_amdkfd_gpuvm.c99 mem *= si.mem_unit; in amdgpu_amdkfd_gpuvm_init_mem_limits()
Damdgpu_ttm.c1970 ((uint64_t)si.totalram * si.mem_unit * 3/4)); in amdgpu_ttm_init()
Damdgpu_vm.c2732 phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + in amdgpu_vm_adjust_size()
Damdgpu_device.c1291 total_memory = (uint64_t)si.totalram * si.mem_unit; in amdgpu_device_check_smu_prv_buffer_size()
/Linux-v5.10/drivers/edac/
Dsynopsys_edac.c706 return inf.totalram * inf.mem_unit; in get_memsize()
/Linux-v5.10/mm/
Dpage_alloc.c5338 val->mem_unit = PAGE_SIZE; in si_meminfo()
5372 val->mem_unit = PAGE_SIZE; in si_meminfo_node()