Home
last modified time | relevance | path

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

/kernel/module/
Dtracking.c21 struct mod_unload_taint *mod_taint; in try_add_tainted_module() local
28 list_for_each_entry_rcu(mod_taint, &unloaded_tainted_modules, list, in try_add_tainted_module()
30 if (!strcmp(mod_taint->name, mod->name) && in try_add_tainted_module()
31 mod_taint->taints & mod->taints) { in try_add_tainted_module()
32 mod_taint->count++; in try_add_tainted_module()
37 mod_taint = kmalloc(sizeof(*mod_taint), GFP_KERNEL); in try_add_tainted_module()
38 if (unlikely(!mod_taint)) in try_add_tainted_module()
40 strscpy(mod_taint->name, mod->name, MODULE_NAME_LEN); in try_add_tainted_module()
41 mod_taint->taints = mod->taints; in try_add_tainted_module()
42 list_add_rcu(&mod_taint->list, &unloaded_tainted_modules); in try_add_tainted_module()
[all …]