Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/firmware/efi/test/
Defi_test.c584 struct efi_querycapsulecapabilities qcaps; in efi_runtime_query_capsulecaps() local
593 if (copy_from_user(&qcaps, qcaps_user, sizeof(qcaps))) in efi_runtime_query_capsulecaps()
596 if (qcaps.capsule_count == ULONG_MAX) in efi_runtime_query_capsulecaps()
599 capsules = kcalloc(qcaps.capsule_count + 1, in efi_runtime_query_capsulecaps()
604 for (i = 0; i < qcaps.capsule_count; i++) { in efi_runtime_query_capsulecaps()
611 if (get_user(c, qcaps.capsule_header_array + i)) { in efi_runtime_query_capsulecaps()
622 qcaps.capsule_header_array = &capsules; in efi_runtime_query_capsulecaps()
625 qcaps.capsule_header_array, in efi_runtime_query_capsulecaps()
626 qcaps.capsule_count, in efi_runtime_query_capsulecaps()
629 if (put_user(status, qcaps.status)) { in efi_runtime_query_capsulecaps()
[all …]