Searched refs:guest_sg (Results 1 – 1 of 1) sorted by relevance
/tools/virtio/ |
D | vringh_test.c | 444 struct scatterlist guest_sg[RINGSIZE], *sgs[2]; in main() local 505 sg_init_table(guest_sg, 1); in main() 506 sg_set_buf(&guest_sg[0], __user_addr_max - 1, 1); in main() 507 sg_init_table(guest_sg+1, 1); in main() 508 sg_set_buf(&guest_sg[1], __user_addr_max - 3, 2); in main() 509 sgs[0] = &guest_sg[0]; in main() 510 sgs[1] = &guest_sg[1]; in main() 571 sg_init_table(guest_sg, RINGSIZE); in main() 573 sg_set_buf(&guest_sg[i], in main() 583 err = virtqueue_add_outbuf(vq, guest_sg, RINGSIZE, &err, GFP_KERNEL); in main() [all …]
|