Home
last modified time | relevance | path

Searched refs:CPATH_NEW (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c96 write_cpuset_files(CPATH_NEW, "cpus", buf); in testcpuset()
98 write_cpuset_files(CPATH_NEW, "mems", mems); in testcpuset()
99 SAFE_FILE_PRINTF(cleanup, CPATH_NEW "/tasks", "%d", getpid()); in testcpuset()
117 write_cpuset_files(CPATH_NEW, "mems", buf); in testcpuset()
119 write_cpuset_files(CPATH_NEW, "mems", buf); in testcpuset()
138 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
143 umount_mem(CPATH, CPATH_NEW); in cleanup()
/external/ltp/testcases/kernel/mem/oom/
Doom04.c72 write_cpuset_files(CPATH_NEW, in main()
96 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
114 umount_mem(CPATH, CPATH_NEW); in cleanup()
Doom05.c73 write_cpuset_files(CPATH_NEW, "memory_migrate", "1"); in main()
120 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
139 umount_mem(CPATH, CPATH_NEW); in cleanup()
/external/ltp/testcases/kernel/mem/ksm/
Dksm02.c130 umount_mem(CPATH, CPATH_NEW); in cleanup()
151 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
Dksm04.c132 umount_mem(CPATH, CPATH_NEW); in cleanup()
155 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
/external/ltp/testcases/kernel/mem/include/
Dmem.h70 #define CPATH_NEW CPATH "/1" macro
/external/ltp/testcases/kernel/mem/lib/
Dmem.c789 write_cpuset_files(CPATH_NEW, "mems", buf); in write_cpusets()
798 write_cpuset_files(CPATH_NEW, "cpus", cpus); in write_cpusets()
802 write_cpuset_files(CPATH_NEW, "cpus", "0"); in write_cpusets()
805 SAFE_FILE_PRINTF(NULL, CPATH_NEW "/tasks", "%d", getpid()); in write_cpusets()