Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/xen-netback/
Dhash.c293 struct gnttab_copy copy_op = { in xenvif_set_hash_key() local
306 if (copy_op.len != 0) { in xenvif_set_hash_key()
307 gnttab_batch_copy(&copy_op, 1); in xenvif_set_hash_key()
309 if (copy_op.status != GNTST_okay) in xenvif_set_hash_key()
339 struct gnttab_copy copy_op[2] = {{ in xenvif_set_hash_mapping() local
351 copy_op[0].dest.u.gmfn = virt_to_gfn(mapping + off); in xenvif_set_hash_mapping()
352 copy_op[0].dest.offset = xen_offset_in_page(mapping + off); in xenvif_set_hash_mapping()
353 if (copy_op[0].dest.offset + copy_op[0].len > XEN_PAGE_SIZE) { in xenvif_set_hash_mapping()
354 copy_op[1] = copy_op[0]; in xenvif_set_hash_mapping()
355 copy_op[1].source.offset = XEN_PAGE_SIZE - copy_op[0].dest.offset; in xenvif_set_hash_mapping()
[all …]