Home
last modified time | relevance | path

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

/linux/drivers/firmware/efi/test/
H A Defi_test.c602 struct efi_querycapsulecapabilities qcaps; in efi_runtime_query_capsulecaps() local
611 if (copy_from_user(&qcaps, qcaps_user, sizeof(qcaps))) in efi_runtime_query_capsulecaps()
614 if (qcaps.capsule_count == ULONG_MAX) in efi_runtime_query_capsulecaps()
617 capsules = kzalloc_objs(efi_capsule_header_t, qcaps.capsule_count + 1); in efi_runtime_query_capsulecaps()
621 for (i = 0; i < qcaps.capsule_count; i++) { in efi_runtime_query_capsulecaps()
628 if (get_user(c, qcaps.capsule_header_array + i)) { in efi_runtime_query_capsulecaps()
639 qcaps.capsule_header_array = &capsules; in efi_runtime_query_capsulecaps()
642 qcaps.capsule_header_array, in efi_runtime_query_capsulecaps()
643 qcaps.capsule_count, in efi_runtime_query_capsulecaps()
646 if (put_user(status, qcaps.status)) { in efi_runtime_query_capsulecaps()
[all …]