Home
last modified time | relevance | path

Searched refs:mem_total (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/tools/perf/util/
Dheader.c644 u64 mem_total, mem_free, mem; in write_topo_node() local
659 mem_total = mem; in write_topo_node()
667 ret = do_write(fd, &mem_total, sizeof(u64)); in write_topo_node()
1107 uint64_t mem_total, mem_free; in print_numa_topology() local
1120 mem_total = strtoull(str, &tmp, 0); in print_numa_topology()
1131 c, mem_total, mem_free); in print_numa_topology()
1627 uint64_t mem_total, mem_free; in process_numa_topology() local
1647 ret = readn(fd, &mem_total, sizeof(u64)); in process_numa_topology()
1657 mem_total = bswap_64(mem_total); in process_numa_topology()
1662 node, mem_total, mem_free); in process_numa_topology()
/linux-4.1.27/kernel/
Dsys.c2272 unsigned long mem_total, sav_total; in do_sysinfo() local
2297 mem_total = info->totalram + info->totalswap; in do_sysinfo()
2298 if (mem_total < info->totalram || mem_total < info->totalswap) in do_sysinfo()
2305 sav_total = mem_total; in do_sysinfo()
2306 mem_total <<= 1; in do_sysinfo()
2307 if (mem_total < sav_total) in do_sysinfo()