Home
last modified time | relevance | path

Searched refs:name_size (Results 1 – 8 of 8) sorted by relevance

/drivers/firmware/efi/
Defi-pstore.c364 unsigned long name_size, void *data) in efi_pstore_callback() argument
373 memcpy(entry->var.VariableName, name, name_size); in efi_pstore_callback()
384 unsigned long name_size, void *data) in efi_pstore_update_entry() argument
391 memcpy(entry->var.VariableName, name, name_size); in efi_pstore_update_entry()
Druntime-wrappers.c316 static efi_status_t virt_efi_get_next_variable(unsigned long *name_size, in virt_efi_get_next_variable() argument
324 status = efi_queue_work(EFI_GET_NEXT_VARIABLE, name_size, name, vendor, in virt_efi_get_next_variable()
Defi.c217 unsigned long name_size, void *data) in efivar_ssdt_iter() argument
222 int limit = min_t(unsigned long, EFIVAR_SSDT_NAME_MAX, name_size); in efivar_ssdt_iter()
232 memcpy(entry->var.VariableName, name, name_size); in efivar_ssdt_iter()
Defivars.c593 unsigned long name_size, void *data) in efivars_sysfs_callback() argument
601 memcpy(entry->var.VariableName, name, name_size); in efivars_sysfs_callback()
/drivers/xen/
Defi.c142 static efi_status_t xen_efi_get_next_variable(unsigned long *name_size, in xen_efi_get_next_variable() argument
148 efi_data(op).u.get_next_variable_name.size = *name_size; in xen_efi_get_next_variable()
158 *name_size = efi_data(op).u.get_next_variable_name.size; in xen_efi_get_next_variable()
/drivers/firmware/efi/test/
Defi_test.c407 unsigned long name_size, prev_name_size = 0, *ns = NULL; in efi_runtime_get_nextvariablename() local
421 if (get_user(name_size, getnextvariablename.variable_name_size)) in efi_runtime_get_nextvariablename()
423 ns = &name_size; in efi_runtime_get_nextvariablename()
424 prev_name_size = name_size; in efi_runtime_get_nextvariablename()
/drivers/firmware/google/
Dgsmi.c374 static efi_status_t gsmi_get_next_variable(unsigned long *name_size, in gsmi_get_next_variable() argument
387 if (*name_size != GSMI_BUF_SIZE) in gsmi_get_next_variable()
400 memcpy(gsmi_dev.name_buf->start, name, *name_size); in gsmi_get_next_variable()
419 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; in gsmi_get_next_variable()
/drivers/char/
Dvirtio_console.c1571 size_t name_size; in handle_control_message() local
1668 name_size = buf->len - buf->offset - sizeof(*cpkt) + 1; in handle_control_message()
1670 port->name = kmalloc(name_size, GFP_KERNEL); in handle_control_message()
1677 name_size - 1); in handle_control_message()
1678 port->name[name_size - 1] = 0; in handle_control_message()