Searched refs:mem_unit (Results 1 – 16 of 16) sorted by relevance
/openbmc/linux/tools/testing/selftests/size/ |
H A D | get_size.c | 108 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()
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | sysinfo.h | 21 uint32_t mem_unit; /* Memory unit size in bytes */ member
|
/openbmc/linux/include/uapi/linux/ |
H A D | sysinfo.h | 21 __u32 mem_unit; /* Memory unit size in bytes */ member
|
/openbmc/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_device.c | 87 num_pages = ((u64)si.totalram * si.mem_unit) >> PAGE_SHIFT; in ttm_global_init() 91 num_dma32 = (u64)(si.totalram - si.totalhigh) * si.mem_unit in ttm_global_init()
|
/openbmc/linux/kernel/ |
H A D | sys.c | 2777 unsigned int mem_unit, bitcount; in do_sysinfo() local 2806 mem_unit = info->mem_unit; in do_sysinfo() 2807 while (mem_unit > 1) { in do_sysinfo() 2809 mem_unit >>= 1; in do_sysinfo() 2823 info->mem_unit = 1; in do_sysinfo() 2863 u32 mem_unit; member 2880 while (s.mem_unit < PAGE_SIZE) { in COMPAT_SYSCALL_DEFINE1() 2881 s.mem_unit <<= 1; in COMPAT_SYSCALL_DEFINE1() 2909 s_32.mem_unit = s.mem_unit; in COMPAT_SYSCALL_DEFINE1()
|
/openbmc/linux/mm/ |
H A D | show_mem.c | 86 val->mem_unit = PAGE_SIZE; in si_meminfo() 120 val->mem_unit = PAGE_SIZE; in si_meminfo_node()
|
/openbmc/linux/net/handshake/ |
H A D | netlink.c | 185 tmp = si.totalram / (25 * si.mem_unit); in handshake_net_init()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd.c | 53 amdgpu_amdkfd_total_mem_size *= si.mem_unit; in amdgpu_amdkfd_init()
|
H A D | amdgpu_acpi.c | 890 numa_info->size = info.totalram * info.mem_unit; in amdgpu_acpi_get_numa_info()
|
H A D | amdgpu_vm.c | 2073 phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + in amdgpu_vm_adjust_size()
|
H A D | amdgpu_amdkfd_gpuvm.c | 121 mem *= si.mem_unit; in amdgpu_amdkfd_gpuvm_init_mem_limits()
|
H A D | amdgpu_device.c | 1390 total_memory = (uint64_t)si.totalram * si.mem_unit; in amdgpu_device_check_smu_prv_buffer_size()
|
/openbmc/linux/drivers/edac/ |
H A D | synopsys_edac.c | 783 return inf.totalram * inf.mem_unit; in get_memsize()
|
/openbmc/qemu/linux-user/ |
H A D | syscall_defs.h | 2536 abi_uint mem_unit; /* Memory unit size in bytes */ member
|
H A D | syscall.c | 10984 __put_user(value.mem_unit, &target_value->mem_unit); in _syscall2()
|
/openbmc/linux/fs/nfsd/ |
H A D | nfs4state.c | 4435 max_clients = (u64)si.totalram * si.mem_unit / (1024 * 1024 * 1024); in nfsd4_init_leases_net()
|