Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/firmware/efi/
Defivars.c102 ssize_t (*show) (struct efivar_entry *entry, char *buf);
103 ssize_t (*store)(struct efivar_entry *entry, const char *buf, size_t count);
114 #define to_efivar_entry(obj) container_of(obj, struct efivar_entry, kobj)
120 efivar_create_sysfs_entry(struct efivar_entry *new_var);
123 efivar_guid_read(struct efivar_entry *entry, char *buf) in efivar_guid_read()
139 efivar_attr_read(struct efivar_entry *entry, char *buf) in efivar_attr_read()
172 efivar_size_read(struct efivar_entry *entry, char *buf) in efivar_size_read()
189 efivar_data_read(struct efivar_entry *entry, char *buf) in efivar_data_read()
256 efivar_store_raw(struct efivar_entry *entry, const char *buf, size_t count) in efivar_store_raw()
313 efivar_show_raw(struct efivar_entry *entry, char *buf) in efivar_show_raw()
[all …]
Defi-pstore.c46 static int efi_pstore_read_func(struct efivar_entry *entry, void *data) in efi_pstore_read_func()
110 static void efi_pstore_scan_sysfs_enter(struct efivar_entry *pos, in efi_pstore_scan_sysfs_enter()
111 struct efivar_entry *next, in efi_pstore_scan_sysfs_enter()
124 static inline void __efi_pstore_scan_sysfs_exit(struct efivar_entry *entry, in __efi_pstore_scan_sysfs_exit()
143 static void efi_pstore_scan_sysfs_exit(struct efivar_entry *pos, in efi_pstore_scan_sysfs_exit()
144 struct efivar_entry *next, in efi_pstore_scan_sysfs_exit()
166 static int efi_pstore_sysfs_entry_iter(void *data, struct efivar_entry **pos) in efi_pstore_sysfs_entry_iter()
168 struct efivar_entry *entry, *n; in efi_pstore_sysfs_entry_iter()
231 (struct efivar_entry **)&psi->data); in efi_pstore_read()
276 static int efi_pstore_erase_func(struct efivar_entry *entry, void *data) in efi_pstore_erase_func()
[all …]
Dvars.c357 struct efivar_entry *entry, *n; in variable_is_present()
532 void efivar_entry_add(struct efivar_entry *entry, struct list_head *head) in efivar_entry_add()
544 void efivar_entry_remove(struct efivar_entry *entry) in efivar_entry_remove()
563 static void efivar_entry_list_del_unlock(struct efivar_entry *entry) in efivar_entry_list_del_unlock()
586 int __efivar_entry_delete(struct efivar_entry *entry) in __efivar_entry_delete()
612 int efivar_entry_delete(struct efivar_entry *entry) in efivar_entry_delete()
652 int efivar_entry_set(struct efivar_entry *entry, u32 attributes, in efivar_entry_set()
791 struct efivar_entry *efivar_entry_find(efi_char16_t *name, efi_guid_t guid, in efivar_entry_find()
794 struct efivar_entry *entry, *n; in efivar_entry_find()
834 int efivar_entry_size(struct efivar_entry *entry, unsigned long *size) in efivar_entry_size()
[all …]
/linux-4.4.14/include/linux/
Defi.h1128 struct efivar_entry { struct
1157 efivar_unregister(struct efivar_entry *var) in efivar_unregister()
1172 void efivar_entry_add(struct efivar_entry *entry, struct list_head *head);
1173 void efivar_entry_remove(struct efivar_entry *entry);
1175 int __efivar_entry_delete(struct efivar_entry *entry);
1176 int efivar_entry_delete(struct efivar_entry *entry);
1178 int efivar_entry_size(struct efivar_entry *entry, unsigned long *size);
1179 int __efivar_entry_get(struct efivar_entry *entry, u32 *attributes,
1181 int efivar_entry_get(struct efivar_entry *entry, u32 *attributes,
1183 int efivar_entry_set(struct efivar_entry *entry, u32 attributes,
[all …]
/linux-4.4.14/fs/efivarfs/
Dinode.c108 struct efivar_entry *var; in efivarfs_create()
115 var = kzalloc(sizeof(struct efivar_entry), GFP_KERNEL); in efivarfs_create()
156 struct efivar_entry *var = d_inode(dentry)->i_private; in efivarfs_unlink()
Dfile.c20 struct efivar_entry *var = file->private_data; in efivarfs_file_write()
70 struct efivar_entry *var = file->private_data; in efivarfs_file_read()
Dsuper.c116 struct efivar_entry *entry; in efivarfs_callback()
184 static int efivarfs_destroy(struct efivar_entry *entry, void *data) in efivarfs_destroy()