Home
last modified time | relevance | path

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

/linux-6.12.1/tools/virtio/
Dvringh_test.c447 struct scatterlist guest_sg[RINGSIZE], *sgs[2]; in main() local
508 sg_init_table(guest_sg, 1); in main()
509 sg_set_buf(&guest_sg[0], __user_addr_max - 1, 1); in main()
510 sg_init_table(guest_sg+1, 1); in main()
511 sg_set_buf(&guest_sg[1], __user_addr_max - 3, 2); in main()
512 sgs[0] = &guest_sg[0]; in main()
513 sgs[1] = &guest_sg[1]; in main()
574 sg_init_table(guest_sg, RINGSIZE); in main()
576 sg_set_buf(&guest_sg[i], in main()
586 err = virtqueue_add_outbuf(vq, guest_sg, RINGSIZE, &err, GFP_KERNEL); in main()
[all …]