Home
last modified time | relevance | path

Searched refs:mem_unit (Results 1 – 20 of 20) sorted by relevance

/third_party/musl/src/linux/x32/
Dsysinfo.c20 unsigned mem_unit; member
45 info->mem_unit = (tmp.mem_unit ? tmp.mem_unit : 1) << shifts; in __lsysinfo()
/third_party/libuv/src/unix/
Dsysinfo-memory.c32 return (uint64_t) info.freeram * info.mem_unit; in uv_get_free_memory()
40 return (uint64_t) info.totalram * info.mem_unit; in uv_get_total_memory()
Dlinux-core.c774 return (uint64_t) info.freeram * info.mem_unit; in uv_get_free_memory()
790 return (uint64_t) info.totalram * info.mem_unit; in uv_get_total_memory()
/third_party/ltp/lib/
Dtst_memutils.c35 safety /= info.mem_unit; in tst_pollute_memory()
56 if (freeram - safety < maxsize / info.mem_unit) in tst_pollute_memory()
57 maxsize = (freeram - safety) * info.mem_unit; in tst_pollute_memory()
/third_party/toybox/porting/liteos_a/toys/other/
Dfree.c46 TT.units = in.mem_unit ? in.mem_unit : 1; in free_main()
/third_party/toybox/toys/other/
Dfree.c46 TT.units = in.mem_unit ? in.mem_unit : 1; in free_main()
/third_party/musl/src/conf/
Dsysconf.c209 if (!si.mem_unit) si.mem_unit = 1; in sysconf()
212 mem *= si.mem_unit; in sysconf()
/third_party/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c117 max_pids = total_free * sstats.mem_unit in setup()
124 * (sstats.mem_unit * total_free); in setup()
/third_party/musl/porting/liteos_a/kernel/include/
Dsysinfo.h20 unsigned mem_unit; member
/third_party/musl/porting/liteos_a_newlib/kernel/include/
Dsysinfo.h20 unsigned mem_unit; member
/third_party/musl/porting/uniproton/kernel/include/sys/
Dsysinfo.h22 unsigned mem_unit; member
/third_party/musl/include/sys/
Dsysinfo.h22 unsigned mem_unit; member
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsysinfo.h22 unsigned mem_unit; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsysinfo.h22 unsigned mem_unit; member
/third_party/musl/porting/linux/user/include/sys/
Dsysinfo.h23 unsigned mem_unit; member
/third_party/musl/ndk_musl_include/sys/
Dsysinfo.h23 unsigned mem_unit; member
/third_party/iptables/include/linux/
Dkernel.h25 unsigned int mem_unit; /* Memory unit size in bytes */ member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_device.c884 uint64_t total_ram = (uint64_t)info.totalram * info.mem_unit; in panvk_get_system_heap_size()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c309 uint64_t total_ram = (uint64_t)info.totalram * (uint64_t)info.mem_unit; in compute_heap_size()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_device.c1140 uint64_t total_ram = (uint64_t) info.totalram * (uint64_t) info.mem_unit; in tu_get_system_heap_size()