Home
last modified time | relevance | path

Searched refs:nr_handles (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/xen/xenbus/
H A Dxenbus_client.c69 unsigned int nr_handles; member
561 * @nr_handles: number of handles in the array
569 unsigned int nr_handles, unsigned long *vaddrs) in xenbus_unmap_ring()
575 if (nr_handles > XENBUS_MAX_RING_GRANTS) in xenbus_unmap_ring()
578 for (i = 0; i < nr_handles; i++) in xenbus_unmap_ring()
586 for (i = 0; i < nr_handles; i++) { in xenbus_unmap_ring()
635 node->nr_handles = nr_grefs; in xenbus_map_ring_hvm()
721 node->nr_handles = nr_grefs; in xenbus_map_ring_pv()
768 for (i = 0; i < node->nr_handles; i++) { in xenbus_unmap_ring_pv()
784 for (i = 0; i < node->nr_handles; in xenbus_unmap_ring_pv()
568 xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, unsigned int nr_handles, unsigned long *vaddrs) xenbus_unmap_ring() argument
[all...]
/kernel/linux/linux-6.6/drivers/xen/xenbus/
H A Dxenbus_client.c69 unsigned int nr_handles; member
605 * @nr_handles: number of handles in the array
613 unsigned int nr_handles, unsigned long *vaddrs) in xenbus_unmap_ring()
619 if (nr_handles > XENBUS_MAX_RING_GRANTS) in xenbus_unmap_ring()
622 for (i = 0; i < nr_handles; i++) in xenbus_unmap_ring()
629 for (i = 0; i < nr_handles; i++) { in xenbus_unmap_ring()
678 node->nr_handles = nr_grefs; in xenbus_map_ring_hvm()
764 node->nr_handles = nr_grefs; in xenbus_map_ring_pv()
811 for (i = 0; i < node->nr_handles; i++) { in xenbus_unmap_ring_pv()
826 for (i = 0; i < node->nr_handles; in xenbus_unmap_ring_pv()
612 xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, unsigned int nr_handles, unsigned long *vaddrs) xenbus_unmap_ring() argument
[all...]
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm2-space.c242 unsigned int nr_handles; in tpm2_map_command() local
252 nr_handles = (attrs >> TPM2_CC_ATTR_CHANDLES) & GENMASK(2, 0); in tpm2_map_command()
255 for (i = 0; i < nr_handles; i++, handle++) { in tpm2_map_command()
273 unsigned int nr_handles; in tpm_find_and_validate_cc() local
288 nr_handles = in tpm_find_and_validate_cc()
290 if (len < TPM_HEADER_SIZE + 4 * nr_handles) in tpm_find_and_validate_cc()
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm2-space.c242 unsigned int nr_handles; in tpm2_map_command() local
252 nr_handles = (attrs >> TPM2_CC_ATTR_CHANDLES) & GENMASK(2, 0); in tpm2_map_command()
255 for (i = 0; i < nr_handles; i++, handle++) { in tpm2_map_command()
273 unsigned int nr_handles; in tpm_find_and_validate_cc() local
288 nr_handles = in tpm_find_and_validate_cc()
290 if (len < TPM_HEADER_SIZE + 4 * nr_handles) in tpm_find_and_validate_cc()

Completed in 6 milliseconds