Searched refs:__efivars (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/firmware/efi/
H A Dvars.c38 static struct efivars *__efivars; variable in typeref:struct:efivars
313 const struct efivar_operations *fops = __efivars->ops; check_var_size()
447 const struct efivar_operations *ops = __efivars->ops; efivar_init()
460 spin_lock_irq(&__efivars->lock); efivar_init()
476 spin_unlock_irq(&__efivars->lock); efivar_init()
494 spin_lock_irq(&__efivars->lock); efivar_init()
505 spin_lock_irq(&__efivars->lock); efivar_init()
519 spin_unlock_irq(&__efivars->lock); efivar_init()
534 spin_lock_irq(&__efivars->lock); efivar_entry_add()
536 spin_unlock_irq(&__efivars->lock); efivar_entry_add()
546 spin_lock_irq(&__efivars->lock); efivar_entry_remove()
548 spin_unlock_irq(&__efivars->lock); efivar_entry_remove()
565 lockdep_assert_held(&__efivars->lock); efivar_entry_list_del_unlock()
568 spin_unlock_irq(&__efivars->lock); efivar_entry_list_del_unlock()
588 const struct efivar_operations *ops = __efivars->ops; __efivar_entry_delete()
591 lockdep_assert_held(&__efivars->lock); __efivar_entry_delete()
614 const struct efivar_operations *ops = __efivars->ops; efivar_entry_delete()
617 spin_lock_irq(&__efivars->lock); efivar_entry_delete()
622 spin_unlock_irq(&__efivars->lock); efivar_entry_delete()
655 const struct efivar_operations *ops = __efivars->ops; efivar_entry_set()
660 spin_lock_irq(&__efivars->lock); efivar_entry_set()
663 spin_unlock_irq(&__efivars->lock); efivar_entry_set()
672 spin_unlock_irq(&__efivars->lock); efivar_entry_set()
686 * __efivars->lock. Instead, it returns -EBUSY.
692 const struct efivar_operations *ops = __efivars->ops; efivar_entry_set_nonblocking()
696 if (!spin_trylock_irqsave(&__efivars->lock, flags)) efivar_entry_set_nonblocking()
701 spin_unlock_irqrestore(&__efivars->lock, flags); efivar_entry_set_nonblocking()
708 spin_unlock_irqrestore(&__efivars->lock, flags); efivar_entry_set_nonblocking()
732 const struct efivar_operations *ops = __efivars->ops; efivar_entry_set_safe()
754 if (!spin_trylock_irqsave(&__efivars->lock, flags)) efivar_entry_set_safe()
757 spin_lock_irqsave(&__efivars->lock, flags); efivar_entry_set_safe()
762 spin_unlock_irqrestore(&__efivars->lock, flags); efivar_entry_set_safe()
768 spin_unlock_irqrestore(&__efivars->lock, flags); efivar_entry_set_safe()
798 lockdep_assert_held(&__efivars->lock); efivar_entry_find()
836 const struct efivar_operations *ops = __efivars->ops; efivar_entry_size()
841 spin_lock_irq(&__efivars->lock); efivar_entry_size()
844 spin_unlock_irq(&__efivars->lock); efivar_entry_size()
867 const struct efivar_operations *ops = __efivars->ops; __efivar_entry_get()
870 lockdep_assert_held(&__efivars->lock); __efivar_entry_get()
890 const struct efivar_operations *ops = __efivars->ops; efivar_entry_get()
893 spin_lock_irq(&__efivars->lock); efivar_entry_get()
897 spin_unlock_irq(&__efivars->lock); efivar_entry_get()
928 const struct efivar_operations *ops = __efivars->ops; efivar_entry_set_get_size()
944 spin_lock_irq(&__efivars->lock); efivar_entry_set_get_size()
984 spin_unlock_irq(&__efivars->lock); efivar_entry_set_get_size()
992 spin_unlock_irq(&__efivars->lock); efivar_entry_set_get_size()
1007 spin_lock_irq(&__efivars->lock); efivar_entry_iter_begin()
1018 spin_unlock_irq(&__efivars->lock); efivar_entry_iter_end()
1110 if (!__efivars) efivars_kobject()
1113 return __efivars->kobject; efivars_kobject()
1143 __efivars = efivars; efivars_register()
1160 if (!__efivars) { efivars_unregister()
1166 if (__efivars != efivars) { efivars_unregister()
1171 __efivars = NULL; efivars_unregister()

Completed in 54 milliseconds