Lines Matching refs:taints
169 set_bit(flag, &mod->taints);
568 char taints[MODULE_FLAGS_BUF_SIZE];
797 /* Store the name and taints of the last unloaded module for diagnostic purposes */
799 strscpy(last_unloaded_module.taints, module_flags(mod, buf, false), sizeof(last_unloaded_module.taints));
907 size_t module_flags_taint(unsigned long taints, char *buf)
913 if (taint_flags[i].module && test_bit(i, &taints))
1005 l = module_flags_taint(mk->mod->taints, buffer);
1125 if (!owner || !test_bit(TAINT_PROPRIETARY_MODULE, &owner->taints))
1134 if (!test_bit(TAINT_PROPRIETARY_MODULE, &mod->taints)) {
1137 set_bit(TAINT_PROPRIETARY_MODULE, &mod->taints);
1150 .gplok = !(mod->taints & (1 << TAINT_PROPRIETARY_MODULE)),
1675 pr_warn("%s: module license '%s' taints kernel.\n",
2343 pr_warn("%s: loading out-of-tree module taints kernel.\n",
2366 pr_warn("%s: loading test module taints kernel.\n",
2399 pr_warn("%s: module license taints kernel.\n", mod->name);
3612 if (!mod->taints && !show_state)
3614 if (mod->taints ||
3618 bx += module_flags_taint(mod->taints, buf + bx);
3768 last_unloaded_module.taints);