Searched refs:FILE_LINES_SCANF (Results 1 – 8 of 8) sorted by relevance
/third_party/ltp/lib/newlib_tests/ |
D | tst_safe_fileops.c | 16 if (FILE_LINES_SCANF("/proc/stat", "processes %ld", &nproc)) in do_test() 20 if (FILE_LINES_SCANF("/proc/stat", "non-existent %ld", &dummy)) in do_test()
|
/third_party/ltp/testcases/kernel/tracing/pt_test/ |
D | pt_test.c | 131 if (FILE_LINES_SCANF("/proc/cpuinfo", "cpu family%*s%d", &family) in is_affected_by_erratum_BDM106() 135 if (!FILE_LINES_SCANF("/proc/cpuinfo", "model%*s%d", &model)) { in is_affected_by_erratum_BDM106()
|
/third_party/ltp/include/old/ |
D | old_safe_file_ops.h | 41 #define FILE_LINES_SCANF(cleanup_fn, path, fmt, ...) \ macro
|
/third_party/ltp/include/ |
D | tst_safe_file_ops.h | 17 #define FILE_LINES_SCANF(path, fmt, ...) \ macro
|
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl06.c | 90 if (FILE_LINES_SCANF(PROC_STATUS, "NoNewPrivs:%d", &field)) { in setup()
|
/third_party/ltp/lib/ |
D | tst_memutils.c | 89 if (FILE_LINES_SCANF("/proc/meminfo", "MemAvailable: %llu", in tst_available_mem()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget02.c | 81 if (FILE_LINES_SCANF("/proc/meminfo", "Hugepagesize: %ld", &tmp)) { in get_hugetlb_exp_error()
|
/third_party/ltp/testcases/cve/ |
D | meltdown.c | 263 ret = FILE_LINES_SCANF(filename, fmt, &addr, &type, &read); in find_symbol_in_file()
|