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
568 unsigned int nr_handles, unsigned long *vaddrs) in xenbus_unmap_ring() argument
574 if (nr_handles > XENBUS_MAX_RING_GRANTS) in xenbus_unmap_ring()
577 for (i = 0; i < nr_handles; i++) in xenbus_unmap_ring()
584 for (i = 0; i < nr_handles; i++) { in xenbus_unmap_ring()
633 node->nr_handles = nr_grefs; in xenbus_map_ring_hvm()
719 node->nr_handles = nr_grefs; in xenbus_map_ring_pv()
766 for (i = 0; i < node->nr_handles; i++) { in xenbus_unmap_ring_pv()
781 for (i = 0; i < node->nr_handles; i++) { in xenbus_unmap_ring_pv()
796 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()