Home
last modified time | relevance | path

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

/linux/kernel/module/
H A Dtracking.c22 struct mod_unload_taint *mod_taint; in try_add_tainted_module() local
29 list_for_each_entry_rcu(mod_taint, &unloaded_tainted_modules, list, in try_add_tainted_module()
31 if (!strcmp(mod_taint->name, mod->name) && in try_add_tainted_module()
32 mod_taint->taints & mod->taints) { in try_add_tainted_module()
33 mod_taint->count++; in try_add_tainted_module()
38 mod_taint = kmalloc(sizeof(*mod_taint), GFP_KERNEL); in try_add_tainted_module()
39 if (unlikely(!mod_taint)) in try_add_tainted_module()
41 strscpy(mod_taint->name, mod->name, MODULE_NAME_LEN); in try_add_tainted_module()
42 mod_taint->taints = mod->taints; in try_add_tainted_module()
43 list_add_rcu(&mod_taint->list, &unloaded_tainted_modules); in try_add_tainted_module()
[all …]