/third_party/mesa3d/src/util/ |
D | os_misc.c | 281 char *meminfo = os_read_file("/proc/meminfo", NULL); in os_get_available_system_memory() local 282 if (!meminfo) in os_get_available_system_memory() 285 char *str = strstr(meminfo, "MemAvailable:"); in os_get_available_system_memory() 287 free(meminfo); in os_get_available_system_memory() 293 free(meminfo); in os_get_available_system_memory() 298 free(meminfo); in os_get_available_system_memory()
|
/third_party/python/Tools/peg_generator/pegen/ |
D | testutil.py | 115 meminfo = process.memory_info() 117 res["rss"] = meminfo.rss / MiB 118 res["vms"] = meminfo.vms / MiB 120 res["maxrss"] = meminfo.peak_wset / MiB
|
/third_party/ltp/testcases/kernel/controllers/cpuacct/ |
D | cpuacct.sh | 45 local memfree=`awk '/MemAvailable/ {print $2}' /proc/meminfo` 50 memfree=`awk '/MemFree/ {print $2}' /proc/meminfo` 53 memcached=`awk '/MemCached/ {print $2}' /proc/meminfo`
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
D | random_offline | 106 cbefore=$(grep HardwareCorrupted /proc/meminfo) 153 grep HardwareCorrupted /proc/meminfo
|
D | tsoftinj.c | 50 unsigned meminfo(char *fmt) in meminfo() function 75 return (meminfo("HardwareCorrupted: %u") * 1024) / PS; in hardware_corrupted()
|
/third_party/ltp/testcases/commands/mkswap/ |
D | mkswap01.sh | 45 local before=`awk '/SwapTotal/ {print $2}' /proc/meminfo` 84 local after=`awk '/SwapTotal/ {print $2}' /proc/meminfo`
|
/third_party/ltp/testcases/kernel/controllers/memcg/stress/ |
D | memcg_stress_test.sh | 32 local mem_free=`cat /proc/meminfo | grep MemFree | awk '{ print $2 }'` 33 local swap_free=`cat /proc/meminfo | grep SwapFree | awk '{ print $2 }'`
|
/third_party/libwebsockets/test-apps/ |
D | lws-cgi-test.sh | 23 cat /proc/meminfo | while read line ; do
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-cgi/ |
D | my-cgi-script.sh | 23 cat /proc/meminfo | while read line ; do
|
/third_party/ltp/testcases/kdump/lib/ |
D | sysinfo.sh | 18 cat /proc/meminfo
|
/third_party/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/ |
D | ftrace_buffer_size_kb.sh | 19 free_mem=`cat /proc/meminfo | grep '^MemFree' | awk '{ print $2 }'`
|
/third_party/ltp/testcases/kernel/device-drivers/zram/ |
D | zram01.sh | 19 ram_size=$(awk '/MemTotal:/ {print $2}' /proc/meminfo)
|
/third_party/mesa3d/src/intel/dev/ |
D | intel_device_info.c | 1602 struct drm_i915_query_memory_regions *meminfo = in query_regions() local 1604 if (meminfo == NULL) in query_regions() 1607 for (int i = 0; i < meminfo->num_regions; i++) { in query_regions() 1608 const struct drm_i915_memory_region_info *mem = &meminfo->regions[i]; in query_regions() 1672 free(meminfo); in query_regions()
|
/third_party/ltp/testcases/kernel/controllers/memctl/ |
D | run_memctl_test.sh | 86 MEM_AVAIL=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'`;
|
/third_party/ltp/utils/benchmark/kernbench-0.42/ |
D | kernbench | 80 mem=`awk '/MemTotal/ {print $2}' /proc/meminfo`
|
/third_party/mesa3d/src/amd/common/ |
D | ac_gpu_info.c | 730 struct drm_amdgpu_memory_info meminfo = {0}; in ac_query_gpu_info() local 732 r = amdgpu_query_info(dev, AMDGPU_INFO_MEMORY, sizeof(meminfo), &meminfo); in ac_query_gpu_info() 739 info->gart_size_kb = DIV_ROUND_UP(meminfo.gtt.total_heap_size, 1024); in ac_query_gpu_info() 740 info->vram_size_kb = DIV_ROUND_UP(fix_vram_size(meminfo.vram.total_heap_size), 1024); in ac_query_gpu_info() 741 info->vram_vis_size_kb = DIV_ROUND_UP(meminfo.cpu_accessible_vram.total_heap_size, 1024); in ac_query_gpu_info()
|
/third_party/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_lib.sh | 39 HUGEPAGESIZE=$(awk '/Hugepagesize/ {print $2}' /proc/meminfo)
|
/third_party/ltp/testcases/kernel/numa/ |
D | numa01.sh | 75 export HPAGE_SIZE=$(awk '/Hugepagesize:/ {print $2}' /proc/meminfo)
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
D | cpuset_memory_testset.sh | 43 HUGEPAGESIZE=$(awk '/Hugepagesize/{ print $2 }' /proc/meminfo)
|
/third_party/ltp/testcases/kernel/mce-test/stress/ |
D | hwpoison.sh | 164 maxmem=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'`
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
D | ninja.py | 2121 with open("/proc/meminfo") as meminfo: 2123 for line in meminfo:
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
D | ninja.py | 2121 with open("/proc/meminfo") as meminfo: 2123 for line in meminfo:
|
/third_party/rust/crates/libc/src/unix/solarish/ |
D | mod.rs | 3168 pub fn meminfo( in meminfo() function
|
/third_party/node/deps/uv/ |
D | ChangeLog | 1390 * linux: read free/total memory from /proc/meminfo (Ben Noordhuis)
|
/third_party/libuv/ |
D | ChangeLog | 1390 * linux: read free/total memory from /proc/meminfo (Ben Noordhuis)
|