Home
last modified time | relevance | path

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

/drivers/xen/xenbus/
Dxenbus_client.c69 unsigned int nr_handles; member
613 unsigned int nr_handles, unsigned long *vaddrs) in xenbus_unmap_ring() argument
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; i++) { in xenbus_unmap_ring_pv()
841 node->pv.area, node->nr_handles); in xenbus_unmap_ring_pv()
[all …]
/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()