/external/ltp/testcases/kernel/sched/eas/ |
D | sched_boost.c | 75 SAFE_FILE_PRINTF(STUNE_TEST_PATH "/tasks", "%d", task_pid); in test_fn() 86 SAFE_FILE_PRINTF(STUNE_ROOT_TASKS, "%d", task_pid); in test_fn() 111 SAFE_FILE_PRINTF(STUNE_TEST_PATH "/schedtune.boost", in run_test() 165 SAFE_FILE_PRINTF(STUNE_TEST_PATH "/schedtune.colocate", in run() 169 SAFE_FILE_PRINTF(STUNE_TEST_PATH "/schedtune.prefer_idle", in run() 174 SAFE_FILE_PRINTF(STUNE_TEST_PATH "/schedtune.sched_boost_enabled", in run() 179 SAFE_FILE_PRINTF(STUNE_TEST_PATH "/schedtune.sched_boost_no_override", in run()
|
/external/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 234 SAFE_FILE_PRINTF(PATH_KSM "run", "1"); in testoom() 236 SAFE_FILE_PRINTF(PATH_KSM "run", "%d", ksm_run_orig); in testoom() 317 SAFE_FILE_PRINTF(MEMCG_LIMIT, "%ld", TESTMEM); in write_memcg() 319 SAFE_FILE_PRINTF(MEMCG_PATH_NEW "/tasks", "%d", getpid()); in write_memcg() 486 SAFE_FILE_PRINTF(PATH_KSM "run", "2"); in create_same_memory() 487 SAFE_FILE_PRINTF(PATH_KSM "max_page_sharing", "%ld", size * pages * num); in create_same_memory() 490 SAFE_FILE_PRINTF(PATH_KSM "run", "1"); in create_same_memory() 491 SAFE_FILE_PRINTF(PATH_KSM "pages_to_scan", "%ld", size * pages * num); in create_same_memory() 492 SAFE_FILE_PRINTF(PATH_KSM "sleep_millisecs", "0"); in create_same_memory() 511 SAFE_FILE_PRINTF(PATH_KSM "run", "2"); in create_same_memory() [all …]
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise06.c | 54 SAFE_FILE_PRINTF(drop_caches_fname, "3"); in setup() 78 SAFE_FILE_PRINTF("/proc/self/oom_score_adj", "%d", -1000); in setup() 79 SAFE_FILE_PRINTF(MNT_NAME"/"GROUP_NAME"/memory.limit_in_bytes", "%ld\n", in setup() 81 SAFE_FILE_PRINTF(MNT_NAME"/"GROUP_NAME"/memory.swappiness", "60"); in setup() 82 SAFE_FILE_PRINTF(MNT_NAME"/"GROUP_NAME"/tasks", "%d\n", getpid()); in setup() 88 SAFE_FILE_PRINTF(MNT_NAME"/tasks", "%d\n", getpid()); in cleanup()
|
D | madvise09.c | 164 SAFE_FILE_PRINTF(tasks_path, "%i", getpid()); in child() 195 SAFE_FILE_PRINTF(limit_in_bytes_path, "%u", usage); in child() 198 SAFE_FILE_PRINTF(memsw_limit_in_bytes_path, "%u", 2 * usage); in child() 255 SAFE_FILE_PRINTF(memsw_limit_in_bytes_path, "%u", old_memsw_limit); in child() 257 SAFE_FILE_PRINTF(limit_in_bytes_path, "%u", old_limit); in child()
|
/external/ltp/testcases/kernel/sched/autogroup/ |
D | autogroup01.c | 33 SAFE_FILE_PRINTF(PATH_AUTOGROUP, "%d", 1); in do_test() 43 SAFE_FILE_PRINTF(PATH_AUTOGROUP, "%d", 0); in do_test() 73 SAFE_FILE_PRINTF(PATH_AUTOGROUP, "%d", orig_autogroup); in cleanup()
|
/external/ltp/testcases/kernel/mem/oom/ |
D | oom03.c | 47 SAFE_FILE_PRINTF(MEMCG_PATH_NEW "/tasks", "%d", getpid()); in verify_oom() 48 SAFE_FILE_PRINTF(MEMCG_LIMIT, "%ld", TESTMEM); in verify_oom() 59 SAFE_FILE_PRINTF(MEMCG_SW_LIMIT, "%ld", TESTMEM); in verify_oom()
|
D | oom05.c | 76 SAFE_FILE_PRINTF(MEMCG_SW_LIMIT, "%ld", TESTMEM); in verify_oom() 81 SAFE_FILE_PRINTF(MEMCG_SW_LIMIT, "-1"); in verify_oom()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap05.c | 181 SAFE_FILE_PRINTF(path, "%ld", nr_hugepages); in cleanup() 185 SAFE_FILE_PRINTF(PATH_SHMMAX, "%llu", shmmax); in cleanup() 190 SAFE_FILE_PRINTF(pathover, "%ld", nr_overcommit_hugepages); in cleanup() 217 SAFE_FILE_PRINTF(PATH_SHMMAX, "%ld", in setup() 226 SAFE_FILE_PRINTF(path, "%ld", size); in setup() 239 SAFE_FILE_PRINTF(pathover, "%ld", size); in setup()
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone09.c | 31 SAFE_FILE_PRINTF(sysctl_path, "%d", sysctl_net); in cleanup() 63 SAFE_FILE_PRINTF(sysctl_path, "%d", sysctl_net + 1); in do_test() 81 SAFE_FILE_PRINTF(sysctl_path, "%d", sysctl_net); in do_test()
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 282 SAFE_FILE_PRINTF(path_hugepages_node1, in setup() 292 SAFE_FILE_PRINTF(path_hugepages_node2, in setup() 302 SAFE_FILE_PRINTF(PATH_NR_HUGEPAGES, "%ld", orig_hugepages + 8); in setup() 312 SAFE_FILE_PRINTF(PATH_NR_HUGEPAGES, "%ld", orig_hugepages); in cleanup() 315 SAFE_FILE_PRINTF(path_hugepages_node1, in cleanup() 320 SAFE_FILE_PRINTF(path_hugepages_node2, in cleanup()
|
/external/ltp/testcases/kernel/syscalls/getxattr/ |
D | getxattr05.c | 106 SAFE_FILE_PRINTF(UID_MAP, "%d %d %d", 0, 0, 1); in do_unshare() 158 SAFE_FILE_PRINTF(MAX_USERNS, "%d", 10); in setup() 166 SAFE_FILE_PRINTF(MAX_USERNS, "%d", orig_max_userns); in cleanup()
|
/external/ltp/testcases/kernel/device-drivers/cpufreq/ |
D | cpufreq_boost.c | 122 SAFE_FILE_PRINTF(cleanup, governor, "%s", "performance"); in setup() 175 SAFE_FILE_PRINTF(cleanup, cdrv[id].file, "%s", cdrv[id].on_str); in test_run() 180 SAFE_FILE_PRINTF(cleanup, cdrv[id].file, "%s", cdrv[id].off_str); in test_run()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl35.c | 56 SAFE_FILE_PRINTF("/proc/sys/fs/pipe-max-size", "%d", in setup() 67 SAFE_FILE_PRINTF("/proc/sys/fs/pipe-max-size", "%d", pipe_max_unpriv); in cleanup()
|
/external/ltp/testcases/cve/ |
D | cve-2017-2671.c | 61 SAFE_FILE_PRINTF(PING_SYSCTL_PATH, "0 0"); in setup() 77 SAFE_FILE_PRINTF(PING_SYSCTL_PATH, "%u %u", in cleanup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat04.c | 91 SAFE_FILE_PRINTF(PATH_SHMMAX, "%ld", (long)SIZE); in setup() 110 SAFE_FILE_PRINTF(PATH_SHMMAX, "%ld", orig_shmmax); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/keyctl/ |
D | keyctl02.c | 125 SAFE_FILE_PRINTF(PATH_KEY_COUNT_QUOTA, "%d", orig_maxkeys + LOOPS + 1); in setup() 131 SAFE_FILE_PRINTF(PATH_KEY_COUNT_QUOTA, "%d", orig_maxkeys); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/futimesat/ |
D | futimesat01.c | 114 SAFE_FILE_PRINTF(cleanup, testfile, testfile); in setup() 115 SAFE_FILE_PRINTF(cleanup, testfile2, testfile2); in setup()
|
/external/ltp/testcases/kernel/syscalls/unlinkat/ |
D | unlinkat01.c | 121 SAFE_FILE_PRINTF(cleanup, testfile, testfile); in setup() 122 SAFE_FILE_PRINTF(cleanup, testfile2, testfile2); in setup()
|
/external/ltp/testcases/kernel/syscalls/fchmodat/ |
D | fchmodat01.c | 130 SAFE_FILE_PRINTF(cleanup, testfile, "%s", testfile); in setup() 131 SAFE_FILE_PRINTF(cleanup, testfile2, "%s", testfile2); in setup()
|
/external/ltp/testcases/kernel/syscalls/faccessat/ |
D | faccessat01.c | 132 SAFE_FILE_PRINTF(cleanup, testfile, "%s", testfile); in setup() 133 SAFE_FILE_PRINTF(cleanup, testfile2, "%s", testfile2); in setup()
|
/external/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi.c | 64 SAFE_FILE_PRINTF(cleanup, dev_tcase, "%d", ACPI_TRAVERSE); in tc_acpi_str() 134 SAFE_FILE_PRINTF(cleanup, dev_tcase, "%d", i); in test_run()
|
/external/ltp/testcases/kernel/syscalls/fstatat/ |
D | fstatat01.c | 131 SAFE_FILE_PRINTF(cleanup, testfile, testfile); in setup() 132 SAFE_FILE_PRINTF(cleanup, testfile2, testfile2); in setup()
|
/external/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages03.c | 97 SAFE_FILE_PRINTF(PATH_KSM "run", "%d", 1); in setup() 114 SAFE_FILE_PRINTF(PATH_KSM "run", "%d", orig_ksm_run); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futex_wake04.c | 81 SAFE_FILE_PRINTF(NULL, PATH_NR_HUGEPAGES, "%d", 1); in setup() 89 SAFE_FILE_PRINTF(NULL, PATH_NR_HUGEPAGES, "%ld", orig_hugepages); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
D | inotify08.c | 75 SAFE_FILE_PRINTF(FILE_PATH, "1"); in verify_inotify() 152 SAFE_FILE_PRINTF("/proc/sys/vm/drop_caches", "2"); in setup()
|