Searched refs:nr_handles (Results 1 – 2 of 2) sorted by relevance
69 unsigned int nr_handles; member613 unsigned int nr_handles, unsigned long *vaddrs) in xenbus_unmap_ring() argument619 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 …]
242 unsigned int nr_handles; in tpm2_map_command() local252 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() local288 nr_handles = in tpm_find_and_validate_cc()290 if (len < TPM_HEADER_SIZE + 4 * nr_handles) in tpm_find_and_validate_cc()