Lines Matching refs:enabled
338 bool enabled; in enabled_store() local
340 ret = kstrtobool(buf, &enabled); in enabled_store()
348 if (patch->enabled == enabled) { in enabled_store()
363 else if (!enabled) in enabled_store()
382 return snprintf(buf, PAGE_SIZE-1, "%d\n", patch->enabled); in enabled_show()
424 static struct kobj_attribute enabled_kobj_attr = __ATTR_RW(enabled);
891 patch->enabled = false; in klp_init_patch_early()
935 if (WARN_ON(!patch->enabled)) in __klp_disable_patch()
957 patch->enabled = false; in __klp_disable_patch()
971 if (WARN_ON(patch->enabled)) in __klp_enable_patch()
1007 patch->enabled = true; in __klp_enable_patch()
1121 old_patch->enabled = false; in klp_unpatch_replaced_patches()