Home
last modified time | relevance | path

Searched refs:DUMMY_MOD (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/module/query_module/
Dquery_module01.c104 #define DUMMY_MOD "dummy_query_mod" macro
142 {DUMMY_MOD, QM_REFS, "valid module name, which: QM_REFS",
145 {DUMMY_MOD, QM_INFO, "valid module name, which: QM_INFO",
148 {DUMMY_MOD, QM_SYMBOLS, "valid module name, which: QM_SYMBOLS",
213 modname = DUMMY_MOD; in test_functionality()
294 if (insert_mod(DUMMY_MOD)) { in setup1()
304 if (insert_mod(DUMMY_MOD)) { in setup2()
319 if (system("rmmod " DUMMY_MOD) != 0) { in cleanup1()
321 DUMMY_MOD); in cleanup1()
Dquery_module03.c100 #define DUMMY_MOD "dummy_query_mod" macro
198 if (sprintf(cmd, "cp `which %s.o` ./", DUMMY_MOD) == -1) { in setup1()
203 tst_resm(TBROK, "Failed to copy %s module", DUMMY_MOD); in setup1()
210 if (sprintf(cmd, "insmod --force -q %s.o >/dev/null 2>&1", DUMMY_MOD) == in setup1()
216 tst_resm(TBROK, "Failed to load %s module", DUMMY_MOD); in setup1()
225 if (system("rmmod " DUMMY_MOD) != 0) { in cleanup1()
227 DUMMY_MOD); in cleanup1()
/external/ltp/testcases/kernel/module/delete_module/
Ddelete_module03.c33 #define DUMMY_MOD "dummy_del_mod" macro
59 TEST(ltp_syscall(__NR_delete_module, DUMMY_MOD, 0)); in main()