Home
last modified time | relevance | path

Searched refs:name_size (Results 1 – 9 of 9) 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.c375 static efi_status_t gsmi_get_next_variable(unsigned long *name_size, in gsmi_get_next_variable() argument
388 if (*name_size != GSMI_BUF_SIZE) in gsmi_get_next_variable()
401 memcpy(gsmi_dev.name_buf->start, name, *name_size); in gsmi_get_next_variable()
420 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; in gsmi_get_next_variable()
/drivers/char/
Dvirtio_console.c1568 size_t name_size; in handle_control_message() local
1665 name_size = buf->len - buf->offset - sizeof(*cpkt) + 1; in handle_control_message()
1667 port->name = kmalloc(name_size, GFP_KERNEL); in handle_control_message()
1674 name_size - 1); in handle_control_message()
1675 port->name[name_size - 1] = 0; in handle_control_message()
/drivers/gpu/drm/amd/amdgpu/
Datom.c1309 int name_size; in atom_get_vbios_name() local
1343 name_size = strnlen(c_ptr, STRLEN_LONG - 1); in atom_get_vbios_name()
1344 memcpy(ctx->name, c_ptr, name_size); in atom_get_vbios_name()
1345 back = ctx->name + name_size; in atom_get_vbios_name()