Home
last modified time | relevance | path

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

/drivers/xen/
Defi.c144 efi_status_t xen_efi_get_next_variable(unsigned long *name_size, in xen_efi_get_next_variable() argument
150 efi_data(op).u.get_next_variable_name.size = *name_size; in xen_efi_get_next_variable()
160 *name_size = efi_data(op).u.get_next_variable_name.size; in xen_efi_get_next_variable()
/drivers/firmware/efi/test/
Defi_test.c427 unsigned long name_size, prev_name_size = 0, *ns = NULL; in efi_runtime_get_nextvariablename() local
441 if (get_user(name_size, getnextvariablename.variable_name_size)) in efi_runtime_get_nextvariablename()
443 ns = &name_size; in efi_runtime_get_nextvariablename()
444 prev_name_size = name_size; in efi_runtime_get_nextvariablename()
/drivers/firmware/efi/
Druntime-wrappers.c155 static efi_status_t virt_efi_get_next_variable(unsigned long *name_size, in virt_efi_get_next_variable() argument
163 status = efi_call_virt(get_next_variable, name_size, name, vendor); in virt_efi_get_next_variable()
Defivars.c643 unsigned long name_size, void *data) in efivar_update_sysfs_entry() argument
650 memcpy(entry->var.VariableName, name, name_size); in efivar_update_sysfs_entry()
679 unsigned long name_size, void *data) in efivars_sysfs_callback() argument
687 memcpy(entry->var.VariableName, name, name_size); in efivars_sysfs_callback()
Defi.c215 unsigned long name_size, void *data) in efivar_ssdt_iter() argument
220 int limit = min_t(unsigned long, EFIVAR_SSDT_NAME_MAX, name_size); in efivar_ssdt_iter()
230 memcpy(entry->var.VariableName, name, name_size); in efivar_ssdt_iter()
/drivers/firmware/google/
Dgsmi.c356 static efi_status_t gsmi_get_next_variable(unsigned long *name_size, in gsmi_get_next_variable() argument
369 if (*name_size != GSMI_BUF_SIZE) in gsmi_get_next_variable()
382 memcpy(gsmi_dev.name_buf->start, name, *name_size); in gsmi_get_next_variable()
401 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; in gsmi_get_next_variable()
/drivers/char/
Dvirtio_console.c1637 size_t name_size; in handle_control_message() local
1734 name_size = buf->len - buf->offset - sizeof(*cpkt) + 1; in handle_control_message()
1736 port->name = kmalloc(name_size, GFP_KERNEL); in handle_control_message()
1743 name_size - 1); in handle_control_message()
1744 port->name[name_size - 1] = 0; in handle_control_message()
/drivers/staging/lustre/lustre/llite/
Dllite_lib.c2677 u32 name_size; in ll_getparent() local
2685 if (get_user(name_size, &arg->gp_name_size)) in ll_getparent()
2691 if (name_size > PATH_MAX) in ll_getparent()
2711 if (ln.ln_namelen >= name_size) { in ll_getparent()