Home
last modified time | relevance | path

Searched refs:meminfo (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/util/
Dos_misc.c281 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/
Dtestutil.py115 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/
Dcpuacct.sh45 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/
Drandom_offline106 cbefore=$(grep HardwareCorrupted /proc/meminfo)
153 grep HardwareCorrupted /proc/meminfo
Dtsoftinj.c50 unsigned meminfo(char *fmt) in meminfo() function
75 return (meminfo("HardwareCorrupted: %u") * 1024) / PS; in hardware_corrupted()
/third_party/ltp/testcases/commands/mkswap/
Dmkswap01.sh45 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/
Dmemcg_stress_test.sh32 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/
Dlws-cgi-test.sh23 cat /proc/meminfo | while read line ; do
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-cgi/
Dmy-cgi-script.sh23 cat /proc/meminfo | while read line ; do
/third_party/ltp/testcases/kdump/lib/
Dsysinfo.sh18 cat /proc/meminfo
/third_party/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/
Dftrace_buffer_size_kb.sh19 free_mem=`cat /proc/meminfo | grep '^MemFree' | awk '{ print $2 }'`
/third_party/ltp/testcases/kernel/device-drivers/zram/
Dzram01.sh19 ram_size=$(awk '/MemTotal:/ {print $2}' /proc/meminfo)
/third_party/mesa3d/src/intel/dev/
Dintel_device_info.c1602 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/
Drun_memctl_test.sh86 MEM_AVAIL=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'`;
/third_party/ltp/utils/benchmark/kernbench-0.42/
Dkernbench80 mem=`awk '/MemTotal/ {print $2}' /proc/meminfo`
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c730 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/
Dmemcg_lib.sh39 HUGEPAGESIZE=$(awk '/Hugepagesize/ {print $2}' /proc/meminfo)
/third_party/ltp/testcases/kernel/numa/
Dnuma01.sh75 export HPAGE_SIZE=$(awk '/Hugepagesize:/ {print $2}' /proc/meminfo)
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_testset.sh43 HUGEPAGESIZE=$(awk '/Hugepagesize/{ print $2 }' /proc/meminfo)
/third_party/ltp/testcases/kernel/mce-test/stress/
Dhwpoison.sh164 maxmem=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'`
/third_party/node/tools/gyp/pylib/gyp/generator/
Dninja.py2121 with open("/proc/meminfo") as meminfo:
2123 for line in meminfo:
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dninja.py2121 with open("/proc/meminfo") as meminfo:
2123 for line in meminfo:
/third_party/rust/crates/libc/src/unix/solarish/
Dmod.rs3168 pub fn meminfo( in meminfo() function
/third_party/node/deps/uv/
DChangeLog1390 * linux: read free/total memory from /proc/meminfo (Ben Noordhuis)
/third_party/libuv/
DChangeLog1390 * linux: read free/total memory from /proc/meminfo (Ben Noordhuis)

12