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.c55 write_cpuset_files(CPATH_NEW, "cpus", buf); in test_cpuset()
57 write_cpuset_files(CPATH_NEW, "mems", mems); in test_cpuset()
58 SAFE_FILE_PRINTF(CPATH_NEW "/tasks", "%d", getpid()); in test_cpuset()
73 write_cpuset_files(CPATH_NEW, "mems", buf); in test_cpuset()
75 write_cpuset_files(CPATH_NEW, "mems", buf); in test_cpuset()
88 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
98 umount_mem(CPATH, CPATH_NEW); in cleanup()
/external/ltp/testcases/kernel/mem/oom/
Doom04.c55 write_cpuset_files(CPATH_NEW, "memory_migrate", "1"); in verify_oom()
71 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
92 umount_mem(CPATH, CPATH_NEW); in cleanup()
Doom05.c58 write_cpuset_files(CPATH_NEW, "memory_migrate", "1"); in verify_oom()
97 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
119 umount_mem(CPATH, CPATH_NEW); in cleanup()
/external/ltp/testcases/kernel/mem/ksm/
Dksm02.c92 umount_mem(CPATH, CPATH_NEW); in cleanup()
108 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
Dksm04.c95 umount_mem(CPATH, CPATH_NEW); in cleanup()
113 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW); in setup()
/external/ltp/testcases/kernel/mem/include/
Dmem.h65 #define CPATH_NEW CPATH "/1" macro
/external/ltp/testcases/kernel/mem/lib/
Dmem.c692 write_cpuset_files(CPATH_NEW, "mems", buf); in write_cpusets()
701 write_cpuset_files(CPATH_NEW, "cpus", cpus); in write_cpusets()
705 write_cpuset_files(CPATH_NEW, "cpus", "0"); in write_cpusets()
708 SAFE_FILE_PRINTF(CPATH_NEW "/tasks", "%d", getpid()); in write_cpusets()