Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/xen/xenbus/
Dxenbus_client.c69 unsigned int nr_handles; member
565 unsigned int nr_handles, unsigned long *vaddrs) in xenbus_unmap_ring() argument
571 if (nr_handles > XENBUS_MAX_RING_GRANTS) in xenbus_unmap_ring()
574 for (i = 0; i < nr_handles; i++) in xenbus_unmap_ring()
582 for (i = 0; i < nr_handles; i++) { in xenbus_unmap_ring()
631 node->nr_handles = nr_grefs; in xenbus_map_ring_hvm()
717 node->nr_handles = nr_grefs; in xenbus_map_ring_pv()
764 for (i = 0; i < node->nr_handles; i++) { in xenbus_unmap_ring_pv()
780 for (i = 0; i < node->nr_handles; i++) { in xenbus_unmap_ring_pv()
795 node->pv.area, node->nr_handles); in xenbus_unmap_ring_pv()
[all …]
/Linux-v5.10/drivers/char/tpm/
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()