search for: copy_response

Displaying 1 result from an estimated 1 matches for "copy_response".

2012 Aug 16
0
[RFC v1 5/5] VBD: enlarge max segment per request in blkfront
...; + RING_PUSH_RESPONSES(blk_segrings); RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(&blk_rings->common, *notify); } -/* - * Put a response on the ring on how the operation fared. - */ -static void make_response(struct xen_blkif *blkif, u64 id, - unsigned short op, int nr_page, int st) +void copy_response(struct xen_blkif *blkif, struct blkif_response *resp) { - struct blkif_response resp; - unsigned long flags; - union blkif_back_rings *blk_rings = - (union blkif_back_rings *)blkif->ops->get_back_ring(blkif); - int notify; + union blkif_back_rings *blk_rings = &blkif->blk_rings;...