Searched refs:mem_unit (Results 1 – 12 of 12) sorted by relevance
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()
21 __u32 mem_unit; /* Memory unit size in bytes */ member
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()
2658 unsigned int mem_unit, bitcount; in do_sysinfo() local2687 mem_unit = info->mem_unit; in do_sysinfo()2688 while (mem_unit > 1) { in do_sysinfo()2690 mem_unit >>= 1; in do_sysinfo()2704 info->mem_unit = 1; in do_sysinfo()2744 u32 mem_unit; member2761 while (s.mem_unit < PAGE_SIZE) { in COMPAT_SYSCALL_DEFINE1()2762 s.mem_unit <<= 1; in COMPAT_SYSCALL_DEFINE1()2790 s_32.mem_unit = s.mem_unit; in COMPAT_SYSCALL_DEFINE1()
53 amdgpu_amdkfd_total_mem_size *= si.mem_unit; in amdgpu_amdkfd_init()
1788 (u64)si.totalram * si.mem_unit / 2); in amdgpu_ttm_init()
1939 phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + in amdgpu_vm_adjust_size()
94 mem *= si.mem_unit; in amdgpu_amdkfd_gpuvm_init_mem_limits()
1440 total_memory = (uint64_t)si.totalram * si.mem_unit; in amdgpu_device_check_smu_prv_buffer_size()
737 return inf.totalram * inf.mem_unit; in get_memsize()
5987 val->mem_unit = PAGE_SIZE; in si_meminfo()6021 val->mem_unit = PAGE_SIZE; in si_meminfo_node()
4400 max_clients = (u64)si.totalram * si.mem_unit / (1024 * 1024 * 1024); in nfsd4_init_leases_net()