Lines Matching refs:mod
66 struct module *mod; in module_find_bug() local
70 list_for_each_entry_rcu(mod, &module_bug_list, bug_list) { in module_find_bug()
73 bug = mod->bug_table; in module_find_bug()
74 for (i = 0; i < mod->num_bugs; ++i, ++bug) in module_find_bug()
86 struct module *mod) in module_bug_finalize() argument
91 mod->bug_table = NULL; in module_bug_finalize()
92 mod->num_bugs = 0; in module_bug_finalize()
99 mod->bug_table = (void *) sechdrs[i].sh_addr; in module_bug_finalize()
100 mod->num_bugs = sechdrs[i].sh_size / sizeof(struct bug_entry); in module_bug_finalize()
111 list_add_rcu(&mod->bug_list, &module_bug_list); in module_bug_finalize()
114 void module_bug_cleanup(struct module *mod) in module_bug_cleanup() argument
116 list_del_rcu(&mod->bug_list); in module_bug_cleanup()