Lines Matching refs:txp

110 			     struct xen_netif_tx_request *txp,
207 struct xen_netif_tx_request *txp, in xenvif_tx_err() argument
215 make_tx_response(queue, txp, extra_count, XEN_NETIF_RSP_ERROR); in xenvif_tx_err()
220 RING_COPY_REQUEST(&queue->tx, cons++, txp); in xenvif_tx_err()
238 struct xen_netif_tx_request *txp, in xenvif_count_requests() argument
287 txp = &dropped_tx; in xenvif_count_requests()
289 RING_COPY_REQUEST(&queue->tx, cons + slots, txp); in xenvif_count_requests()
300 if (!drop_err && txp->size > first->size) { in xenvif_count_requests()
304 txp->size, first->size); in xenvif_count_requests()
308 first->size -= txp->size; in xenvif_count_requests()
311 if (unlikely((txp->offset + txp->size) > XEN_PAGE_SIZE)) { in xenvif_count_requests()
313 txp->offset, txp->size); in xenvif_count_requests()
318 more_data = txp->flags & XEN_NETTXF_more_data; in xenvif_count_requests()
321 txp++; in xenvif_count_requests()
345 struct xen_netif_tx_request *txp, in xenvif_tx_create_map_op() argument
352 txp->gref, queue->vif->domid); in xenvif_tx_create_map_op()
354 memcpy(&queue->pending_tx_info[pending_idx].req, txp, in xenvif_tx_create_map_op()
355 sizeof(*txp)); in xenvif_tx_create_map_op()
394 struct xen_netif_tx_request *txp = first; in xenvif_get_requests() local
403 int amount = data_len > txp->size ? txp->size : data_len; in xenvif_get_requests()
405 cop->source.u.ref = txp->gref; in xenvif_get_requests()
407 cop->source.offset = txp->offset; in xenvif_get_requests()
428 if (amount == txp->size) { in xenvif_get_requests()
432 txp, sizeof(*txp)); in xenvif_get_requests()
434 (txp == first) ? extra_count : 0; in xenvif_get_requests()
436 if (txp == first) in xenvif_get_requests()
437 txp = txfrags; in xenvif_get_requests()
439 txp++; in xenvif_get_requests()
446 txp->offset += amount; in xenvif_get_requests()
447 txp->size -= amount; in xenvif_get_requests()
455 xenvif_tx_create_map_op(queue, pending_idx, txp, in xenvif_get_requests()
456 txp == first ? extra_count : 0, gop); in xenvif_get_requests()
459 if (txp == first) in xenvif_get_requests()
460 txp = txfrags; in xenvif_get_requests()
462 txp++; in xenvif_get_requests()
471 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
474 xenvif_tx_create_map_op(queue, pending_idx, txp, 0, in xenvif_get_requests()
653 struct xen_netif_tx_request *txp; in xenvif_fill_frags() local
670 txp = &queue->pending_tx_info[pending_idx].req; in xenvif_fill_frags()
672 __skb_fill_page_desc(skb, i, page, txp->offset, txp->size); in xenvif_fill_frags()
673 skb->len += txp->size; in xenvif_fill_frags()
674 skb->data_len += txp->size; in xenvif_fill_frags()
675 skb->truesize += txp->size; in xenvif_fill_frags()
1146 struct xen_netif_tx_request *txp; in xenvif_tx_submit() local
1150 txp = &queue->pending_tx_info[pending_idx].req; in xenvif_tx_submit()
1168 if (txp->flags & XEN_NETTXF_csum_blank) in xenvif_tx_submit()
1170 else if (txp->flags & XEN_NETTXF_data_validated) in xenvif_tx_submit()
1414 struct xen_netif_tx_request *txp, in make_tx_response() argument
1422 resp->id = txp->id; in make_tx_response()