Searched refs:FILE_LINES_SCANF (Results 1 – 8 of 8) sorted by relevance
/external/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()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl06.h | 35 TEST(FILE_LINES_SCANF(PROC_STATUS, "NoNewPrivs:%d", &field)); in check_proc_field()
|
/external/ltp/include/old/ |
D | old_safe_file_ops.h | 41 #define FILE_LINES_SCANF(cleanup_fn, path, fmt, ...) \ macro
|
/external/ltp/include/ |
D | tst_safe_file_ops.h | 33 #define FILE_LINES_SCANF(path, fmt, ...) \ macro
|
/external/ltp/testcases/kernel/mem/hugetlb/lib/ |
D | hugetlb.c | 63 if (FILE_LINES_SCANF("/proc/meminfo", in limit_hugepages()
|
/external/ltp/testcases/kernel/mem/swapping/ |
D | swapping01.c | 85 if (FILE_LINES_SCANF("/proc/meminfo", "MemAvailable: %ld", in init_meminfo()
|
/external/ltp/testcases/cve/ |
D | meltdown.c | 264 ret = FILE_LINES_SCANF(filename, fmt, &addr, &type, &read); in find_symbol_in_file()
|