/lib/ |
D | bug.c | 71 struct module *mod; in module_find_bug() local 75 list_for_each_entry_rcu(mod, &module_bug_list, bug_list) { in module_find_bug() 78 bug = mod->bug_table; in module_find_bug() 79 for (i = 0; i < mod->num_bugs; ++i, ++bug) in module_find_bug() 91 struct module *mod) in module_bug_finalize() argument 96 mod->bug_table = NULL; in module_bug_finalize() 97 mod->num_bugs = 0; in module_bug_finalize() 104 mod->bug_table = (void *) sechdrs[i].sh_addr; in module_bug_finalize() 105 mod->num_bugs = sechdrs[i].sh_size / sizeof(struct bug_entry); in module_bug_finalize() 116 list_add_rcu(&mod->bug_list, &module_bug_list); in module_bug_finalize() [all …]
|
D | error-inject.c | 108 static void module_load_ei_list(struct module *mod) in module_load_ei_list() argument 110 if (!mod->num_ei_funcs) in module_load_ei_list() 113 populate_error_injection_list(mod->ei_funcs, in module_load_ei_list() 114 mod->ei_funcs + mod->num_ei_funcs, mod); in module_load_ei_list() 117 static void module_unload_ei_list(struct module *mod) in module_unload_ei_list() argument 121 if (!mod->num_ei_funcs) in module_unload_ei_list() 126 if (ent->priv == mod) { in module_unload_ei_list() 138 struct module *mod = data; in ei_module_callback() local 141 module_load_ei_list(mod); in ei_module_callback() 143 module_unload_ei_list(mod); in ei_module_callback()
|
D | once.c | 25 static void once_disable_jump(struct static_key_true *key, struct module *mod) in once_disable_jump() argument 35 w->module = mod; in once_disable_jump() 36 __module_get(mod); in once_disable_jump() 61 unsigned long *flags, struct module *mod) in __do_once_done() argument 66 once_disable_jump(once_key, mod); in __do_once_done() 91 struct module *mod) in __do_once_sleepable_done() argument 96 once_disable_jump(once_key, mod); in __do_once_sleepable_done()
|
D | dynamic_debug.c | 1347 struct module *mod = data; in ddebug_module_notify() local 1352 ret = ddebug_add_module(&mod->dyndbg_info, mod->name); in ddebug_module_notify() 1357 ddebug_remove_module(mod->name); in ddebug_module_notify()
|
/lib/livepatch/ |
D | test_klp_callbacks_demo2.c | 23 if (obj->mod) in callback_info() 24 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 25 module_state[obj->mod->state]); in callback_info() 73 .mod = THIS_MODULE,
|
D | test_klp_callbacks_demo.c | 23 if (obj->mod) in callback_info() 24 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 25 module_state[obj->mod->state]); in callback_info() 103 .mod = THIS_MODULE,
|
D | test_klp_state.c | 25 if (obj->mod) in callback_info() 26 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 27 module_state[obj->mod->state]); in callback_info() 142 .mod = THIS_MODULE,
|
D | test_klp_state2.c | 25 if (obj->mod) in callback_info() 26 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 27 module_state[obj->mod->state]); in callback_info() 171 .mod = THIS_MODULE,
|
D | test_klp_livepatch.c | 33 .mod = THIS_MODULE,
|
D | test_klp_atomic_replace.c | 37 .mod = THIS_MODULE,
|
/lib/kunit/ |
D | test.c | 776 static void kunit_module_init(struct module *mod) in kunit_module_init() argument 779 mod->kunit_suites, mod->kunit_suites + mod->num_kunit_suites, in kunit_module_init() 791 mod->kunit_suites = (struct kunit_suite **)suite_set.start; in kunit_module_init() 792 mod->num_kunit_suites = suite_set.end - suite_set.start; in kunit_module_init() 804 static void kunit_module_exit(struct module *mod) in kunit_module_exit() argument 807 mod->kunit_suites, mod->kunit_suites + mod->num_kunit_suites, in kunit_module_exit() 820 __kunit_test_suites_exit(mod->kunit_suites, in kunit_module_exit() 821 mod->num_kunit_suites); in kunit_module_exit() 829 struct module *mod = data; in kunit_module_notify() local 833 kunit_module_init(mod); in kunit_module_notify() [all …]
|
/lib/crypto/mpi/ |
D | mpi-pow.c | 24 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm() argument 42 msize = mod->nlimbs; in mpi_powm() 44 msign = mod->sign; in mpi_powm() 55 res->nlimbs = (msize == 1 && mod->d[0] == 1) ? 0 : 1; in mpi_powm() 73 mod_shift_cnt = count_leading_zeros(mod->d[msize - 1]); in mpi_powm() 75 mpihelp_lshift(mp, mod->d, msize, mod_shift_cnt); in mpi_powm() 77 MPN_COPY(mp, mod->d, msize); in mpi_powm()
|
D | Makefile | 24 mpi-mod.o \
|