/external/ltp/testcases/kernel/mem/ksm/ |
D | ksm06.c | 77 SAFE_FILE_SCANF(PATH_KSM "run", "%d", &run); in setup() 78 SAFE_FILE_SCANF(PATH_KSM "merge_across_nodes", in setup() 80 SAFE_FILE_SCANF(PATH_KSM "sleep_millisecs", in setup()
|
D | ksm01.c | 82 SAFE_FILE_SCANF(PATH_KSM "merge_across_nodes", in setup()
|
D | ksm03.c | 76 SAFE_FILE_SCANF(PATH_KSM "merge_across_nodes", in setup()
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone09.c | 38 SAFE_FILE_SCANF(sysctl_path, "%d", &sysctl_net_new); in newnet() 62 SAFE_FILE_SCANF(sysctl_path, "%d", &sysctl_net); in do_test() 73 SAFE_FILE_SCANF(sysctl_path_def, "%d", &def_val); in do_test()
|
/external/ltp/testcases/kernel/containers/userns/ |
D | userns01.c | 72 SAFE_FILE_SCANF(NULL, "/proc/sys/kernel/cap_last_cap", "%d", &last_cap); in child_fn1() 95 SAFE_FILE_SCANF(NULL, OVERFLOWUIDPATH, "%ld", &overflowuid); in setup() 96 SAFE_FILE_SCANF(NULL, OVERFLOWGIDPATH, "%ld", &overflowgid); in setup()
|
D | userns03.c | 95 SAFE_FILE_SCANF(NULL, "/proc/self/uid_map", "%d %d %d", &idinsidens, in child_fn2() 110 SAFE_FILE_SCANF(NULL, cpid1uidpath, "%d %d %d", &idinsidens, in child_fn2() 124 SAFE_FILE_SCANF(NULL, "/proc/self/gid_map", "%d %d %d", in child_fn2() 134 SAFE_FILE_SCANF(NULL, cpid1gidpath, "%d %d %d", &idinsidens, in child_fn2()
|
D | userns06_capcheck.c | 55 SAFE_FILE_SCANF(NULL, "/proc/sys/kernel/cap_last_cap", "%d", &last_cap); in main()
|
/external/ltp/testcases/kernel/sched/eas/ |
D | sugov_latency.c | 49 SAFE_FILE_SCANF(scaling_freq_file, "%d", &scaling_min_freq); in burn_fn() 58 SAFE_FILE_SCANF(scaling_freq_file, "%d", in burn_fn() 150 SAFE_FILE_SCANF(scaling_freq_file, "%d", &scaling_max_freq); in parse_results() 165 SAFE_FILE_SCANF(scaling_freq_file, "%d", &scaling_min_freq); in parse_results()
|
/external/ltp/testcases/kernel/lib/ |
D | ksm_helper.c | 18 SAFE_FILE_SCANF(PATH_KSM "full_scans", "%lu", &full_scans); in wait_ksmd_full_scan() 33 SAFE_FILE_SCANF(PATH_KSM "full_scans", "%lu", &full_scans); in wait_ksmd_full_scan()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice.h | 30 SAFE_FILE_SCANF("/proc/sys/fs/pipe-max-size", "%d", &pipe_max_unpriv); in get_max_limit() 35 SAFE_FILE_SCANF("/proc/sys/fs/pipe-max-pages", "%d", &pipe_max_unpriv); in get_max_limit()
|
/external/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi.c | 65 SAFE_FILE_SCANF(cleanup, dev_result, "%d", &res); in tc_acpi_str() 135 SAFE_FILE_SCANF(cleanup, dev_result, "%d", &res); in test_run() 161 SAFE_FILE_SCANF(cleanup, dev_acpi_disabled, "%d", &acpi_disabled); in main()
|
/external/ltp/lib/ |
D | tst_pid.c | 34 SAFE_FILE_SCANF(cleanup_fn, PID_MAX_PATH, "%d", &pid); in tst_get_unused_pid_() 58 SAFE_FILE_SCANF(cleanup_fn, PID_MAX_PATH, "%d", &max_pids); in tst_get_free_pids_()
|
D | tst_cpu.c | 64 SAFE_FILE_SCANF(NULL, KERNEL_MAX, "%ld", &ncpus_max); in tst_ncpus_max()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap05.c | 214 SAFE_FILE_SCANF(PATH_SHMMAX, "%llu", &shmmax); in setup() 222 SAFE_FILE_SCANF(path, "%ld", &nr_hugepages); in setup() 234 SAFE_FILE_SCANF(pathover, "%ld", &nr_overcommit_hugepages); in setup() 273 SAFE_FILE_SCANF(path, "%ld", &act_val); in checksys()
|
/external/ltp/testcases/kernel/device-drivers/cpufreq/ |
D | cpufreq_boost.c | 111 SAFE_FILE_SCANF(NULL, cdrv[i].file, "%d", &boost_value); in setup() 121 SAFE_FILE_SCANF(NULL, governor, "%s", governor_name); in setup() 170 SAFE_FILE_SCANF(cleanup, maxspeed, "%d", &max_freq_khz); in test_run()
|
/external/ltp/testcases/kernel/device-drivers/zram/ |
D | zram03.c | 184 SAFE_FILE_SCANF(cleanup, filename, "%s", value); in print() 192 SAFE_FILE_SCANF(cleanup, PATH_ZRAM_STAT, "%s %*s %*s %*s %s", in print_stat() 205 SAFE_FILE_SCANF(cleanup, PATH_ZRAM_MM_STAT, "%s %s %s %*s %*s %s", in print_mm_stat()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat04.c | 90 SAFE_FILE_SCANF(PATH_SHMMAX, "%ld", &orig_shmmax); in setup() 92 SAFE_FILE_SCANF(PATH_SHMMAX, "%ld", &new_shmmax); in setup()
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 277 SAFE_FILE_SCANF(path_hugepages_node1, in setup() 287 SAFE_FILE_SCANF(path_hugepages_node2, in setup() 299 SAFE_FILE_SCANF(PATH_NR_HUGEPAGES, "%ld", &orig_hugepages); in setup()
|
/external/ltp/lib/newlib_tests/ |
D | test14.c | 16 SAFE_FILE_SCANF("foo", "%i", &i); in cleanup()
|
/external/ltp/testcases/cve/ |
D | cve-2015-3290.c | 440 SAFE_FILE_SCANF("/proc/sys/kernel/perf_event_mlock_kb", in setup() 442 SAFE_FILE_SCANF("/proc/sys/kernel/perf_event_max_sample_rate", in setup()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl07.c | 31 SAFE_FILE_SCANF("/proc/sys/kernel/random/entropy_avail", "%d", &pcnt); in verify_ioctl()
|
/external/ltp/testcases/kernel/sched/autogroup/ |
D | autogroup01.c | 67 SAFE_FILE_SCANF(PATH_AUTOGROUP, "%d", &orig_autogroup); in setup()
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futex_utils.h | 45 SAFE_FILE_SCANF(NULL, name, "%*i %*s %c", &thread_state); in wait_for_threads()
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise09.c | 190 SAFE_FILE_SCANF(limit_in_bytes_path, "%u", &old_limit); in child() 193 SAFE_FILE_SCANF(memsw_limit_in_bytes_path, "%u", &old_memsw_limit); in child()
|
/external/ltp/testcases/kernel/syscalls/wait4/ |
D | wait402.c | 45 SAFE_FILE_SCANF(NULL, "/proc/sys/kernel/pid_max", "%ld", &pid_max); in get_pid_max()
|