Home
last modified time | relevance | path

Searched refs:FILE_LINES_SCANF (Results 1 – 8 of 8) sorted by relevance

/third_party/ltp/lib/newlib_tests/
Dtst_safe_fileops.c16 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/
Dpt_test.c131 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/
Dold_safe_file_ops.h41 #define FILE_LINES_SCANF(cleanup_fn, path, fmt, ...) \ macro
/third_party/ltp/include/
Dtst_safe_file_ops.h17 #define FILE_LINES_SCANF(path, fmt, ...) \ macro
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl06.c90 if (FILE_LINES_SCANF(PROC_STATUS, "NoNewPrivs:%d", &field)) { in setup()
/third_party/ltp/lib/
Dtst_memutils.c89 if (FILE_LINES_SCANF("/proc/meminfo", "MemAvailable: %llu", in tst_available_mem()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget02.c81 if (FILE_LINES_SCANF("/proc/meminfo", "Hugepagesize: %ld", &tmp)) { in get_hugetlb_exp_error()
/third_party/ltp/testcases/cve/
Dmeltdown.c263 ret = FILE_LINES_SCANF(filename, fmt, &addr, &type, &read); in find_symbol_in_file()