Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/xen/xenbus/
Dxenbus_client.c69 unsigned int nr_handles; member
576 node->nr_handles = nr_grefs; in xenbus_map_ring_valloc_hvm()
707 node->nr_handles = nr_grefs; in xenbus_map_ring_valloc_pv()
753 for (i = 0; i < node->nr_handles; i++) { in xenbus_unmap_ring_vfree_pv()
769 for (i = 0; i < node->nr_handles; i++) { in xenbus_unmap_ring_vfree_pv()
784 node->pv.area, node->nr_handles); in xenbus_unmap_ring_vfree_pv()
842 nr_pages = XENBUS_PAGES(node->nr_handles); in xenbus_unmap_ring_vfree_hvm()
844 gnttab_foreach_grant(node->hvm.pages, node->nr_handles, in xenbus_unmap_ring_vfree_hvm()
848 rv = xenbus_unmap_ring(dev, node->handles, node->nr_handles, in xenbus_unmap_ring_vfree_hvm()
873 grant_handle_t *handles, unsigned int nr_handles, in xenbus_unmap_ring() argument
[all …]
/Linux-v5.4/drivers/char/tpm/
Dtpm2-space.c239 unsigned int nr_handles; in tpm2_map_command() local
249 nr_handles = (attrs >> TPM2_CC_ATTR_CHANDLES) & GENMASK(2, 0); in tpm2_map_command()
252 for (i = 0; i < nr_handles; i++, handle++) { in tpm2_map_command()
270 unsigned int nr_handles; in tpm_find_and_validate_cc() local
285 nr_handles = in tpm_find_and_validate_cc()
287 if (len < TPM_HEADER_SIZE + 4 * nr_handles) in tpm_find_and_validate_cc()
/Linux-v5.4/include/xen/
Dxenbus.h215 grant_handle_t *handles, unsigned int nr_handles,