Searched refs:mem_total (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/tools/perf/util/ |
H A D | header.c | 629 u64 mem_total, mem_free, mem; write_topo_node() local 644 mem_total = mem; write_topo_node() 652 ret = do_write(fd, &mem_total, sizeof(u64)); write_topo_node() 1109 uint64_t mem_total, mem_free; print_numa_topology() local 1122 mem_total = strtoull(str, &tmp, 0); print_numa_topology() 1133 c, mem_total, mem_free); print_numa_topology() 1694 uint64_t mem_total, mem_free; process_numa_topology() local 1714 ret = readn(fd, &mem_total, sizeof(u64)); process_numa_topology() 1724 mem_total = bswap_64(mem_total); process_numa_topology() 1729 node, mem_total, mem_free); process_numa_topology()
|
/linux-4.4.14/kernel/ |
H A D | sys.c | 2295 unsigned long mem_total, sav_total; do_sysinfo() local 2320 mem_total = info->totalram + info->totalswap; do_sysinfo() 2321 if (mem_total < info->totalram || mem_total < info->totalswap) do_sysinfo() 2328 sav_total = mem_total; do_sysinfo() 2329 mem_total <<= 1; do_sysinfo() 2330 if (mem_total < sav_total) do_sysinfo() 2335 * If mem_total did not overflow, multiply all memory values by do_sysinfo()
|
Completed in 109 milliseconds