Lines Matching defs:end

246 	const skb_frag_t *fp, *end;
254 end = &si->frags[si->nr_frags];
256 for (fp = si->frags; fp < end; fp++) {
277 const skb_frag_t *fp, *end;
283 end = &si->frags[si->nr_frags];
284 for (fp = si->frags; fp < end; fp++)
825 * @end: points right after the end of the SGL
833 * aligned and within a Tx descriptor with available space. @end points
834 * right after the end of the SGL but does not account for any potential
835 * wrap around, i.e., @end > @sgl.
838 struct ulptx_sgl *sgl, u64 *end, unsigned int start,
863 * end of the queue in the middle of writing the SGL. For this case
866 to = (u8 *)end > (u8 *)q->stat ? buf : sgl->sge;
879 if (unlikely((u8 *)end > (u8 *)q->stat)) {
884 part1 = (u8 *)end - (u8 *)q->stat;
886 end = (void *)q->desc + part1;
888 if ((uintptr_t)end & 8) /* 0-pad to multiple of 16 */
889 *end = 0;
897 * @end: points right after the end of the SGL
907 struct ulptx_sgl *sgl, u64 *end,
952 * end of the queue in the middle of writing the SGL. For this case
955 to = (u8 *)end > (u8 *)q->stat ? buf : sgl->sge;
980 * end of the queue in the middle of writing the SGL.
982 if (unlikely((u8 *)end > (u8 *)q->stat)) {
987 part1 = (u8 *)end - (u8 *)q->stat;
989 end = (void *)q->desc + part1;
993 if ((uintptr_t)end & 8)
994 *end = 0;
1515 u64 cntrl, *end, *sgl;
1612 end = (u64 *)eowr + flits;
1614 end = (u64 *)wr + flits;
1666 left = (u8 *)end - (u8 *)q->q.stat;
1667 end = (void *)q->q.desc + left;
1689 /* If current position is already at the end of the
1691 * and update the end ptr as well.
1693 left = (u8 *)end - (u8 *)q->q.stat;
1694 end = (void *)q->q.desc + left;
1727 cxgb4_write_sgl(skb, &q->q, (void *)sgl, end, sgl_off,
1837 u64 cntrl, *end;
1930 end = (u64 *)wr + flits;
2069 * pointer lines up exactly with the end of our TX Descriptor
2075 end = (void *)((void *)tq->desc +
2076 ((void *)end - (void *)tq->stat));
2079 cxgb4_write_sgl(skb, tq, sgl, end, 0, sgl_sdesc->addr);
2269 u64 cntrl, *start, *end, *sgl;
2355 end = (u64 *)wr + flits;
2357 left = (u8 *)end - (u8 *)eohw_txq->q.stat;
2358 end = (void *)eohw_txq->q.desc + left;
2362 /* If current position is already at the end of the
2364 * and update the end ptr as well.
2366 left = (u8 *)end - (u8 *)eohw_txq->q.stat;
2368 end = (void *)eohw_txq->q.desc + left;
2372 cxgb4_write_sgl(skb, &eohw_txq->q, (void *)sgl, end, hdr_len,
2951 u64 *pos, *before, *end;
3003 end = (u64 *)pos + flits;
3009 left = (u8 *)end - (u8 *)txq->stat;
3010 end = (void *)txq->desc + left;
3013 /* If current position is already at the end of the
3015 * start of the queue and update the end ptr as well.
3018 left = (u8 *)end - (u8 *)txq->stat;
3019 end = (void *)txq->desc + left;
3024 end, hdr_len,
3626 * stored in the Status Page at the end of the TX Queue. It's easiest
4621 * write the CIDX Updates into the Status Page at the end of the