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