Lines Matching refs:efivars
3 * Originally from efivars.c
24 /* Private pointer to registered efivars */
25 static struct efivars *__efivars;
397 printk(KERN_WARNING "efivars: duplicate variable: %s-%pUl\n",
431 printk(KERN_ERR "efivars: Memory allocation failed.\n");
495 printk(KERN_WARNING "efivars: get_next_variable: status=%lx\n",
553 * called with the efivars lock already held, and we release it before
969 * set_variable call, and removal of the variable from the efivars
1141 * efivars_kobject - get the kobject for the registered efivars
1156 * efivars_register - register an efivars
1157 * @efivars: efivars to register
1158 * @ops: efivars operations
1159 * @kobject: @efivars-specific kobject
1161 * Only a single efivars can be registered at any time.
1163 int efivars_register(struct efivars *efivars,
1170 efivars->ops = ops;
1171 efivars->kobject = kobject;
1173 __efivars = efivars;
1175 pr_info("Registered efivars operations\n");
1184 * efivars_unregister - unregister an efivars
1185 * @efivars: efivars to unregister
1190 int efivars_unregister(struct efivars *efivars)
1198 printk(KERN_ERR "efivars not registered\n");
1203 if (__efivars != efivars) {
1208 pr_info("Unregistered efivars operations\n");