Home
last modified time | relevance | path

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

/external/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()
/external/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()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl06.h35 TEST(FILE_LINES_SCANF(PROC_STATUS, "NoNewPrivs:%d", &field)); in check_proc_field()
/external/ltp/include/old/
Dold_safe_file_ops.h41 #define FILE_LINES_SCANF(cleanup_fn, path, fmt, ...) \ macro
/external/ltp/include/
Dtst_safe_file_ops.h33 #define FILE_LINES_SCANF(path, fmt, ...) \ macro
/external/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.c63 if (FILE_LINES_SCANF("/proc/meminfo", in limit_hugepages()
/external/ltp/testcases/kernel/mem/swapping/
Dswapping01.c85 if (FILE_LINES_SCANF("/proc/meminfo", "MemAvailable: %ld", in init_meminfo()
/external/ltp/testcases/cve/
Dmeltdown.c264 ret = FILE_LINES_SCANF(filename, fmt, &addr, &type, &read); in find_symbol_in_file()