Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 7 of 7) sorted by relevance

/lib/
Dbug.c68 struct module *mod; in module_find_bug() local
72 list_for_each_entry_rcu(mod, &module_bug_list, bug_list) { in module_find_bug()
75 bug = mod->bug_table; in module_find_bug()
76 for (i = 0; i < mod->num_bugs; ++i, ++bug) in module_find_bug()
88 struct module *mod) in module_bug_finalize() argument
95 mod->bug_table = NULL; in module_bug_finalize()
96 mod->num_bugs = 0; in module_bug_finalize()
103 mod->bug_table = (void *) sechdrs[i].sh_addr; in module_bug_finalize()
104 mod->num_bugs = sechdrs[i].sh_size / sizeof(struct bug_entry); in module_bug_finalize()
115 list_add_rcu(&mod->bug_list, &module_bug_list); in module_bug_finalize()
[all …]
Derror-inject.c101 static void module_load_ei_list(struct module *mod) in module_load_ei_list() argument
103 if (!mod->num_ei_funcs) in module_load_ei_list()
106 populate_error_injection_list(mod->ei_funcs, in module_load_ei_list()
107 mod->ei_funcs + mod->num_ei_funcs, mod); in module_load_ei_list()
110 static void module_unload_ei_list(struct module *mod) in module_unload_ei_list() argument
114 if (!mod->num_ei_funcs) in module_unload_ei_list()
119 if (ent->priv == mod) { in module_unload_ei_list()
131 struct module *mod = data; in ei_module_callback() local
134 module_load_ei_list(mod); in ei_module_callback()
136 module_unload_ei_list(mod); in ei_module_callback()
/lib/livepatch/
Dtest_klp_callbacks_demo2.c23 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,
Dtest_klp_callbacks_demo.c23 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,
Dtest_klp_livepatch.c33 .mod = THIS_MODULE,
Dtest_klp_atomic_replace.c37 .mod = THIS_MODULE,
/lib/mpi/
Dmpi-pow.c24 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()