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;
1611 end = (u64 *)eowr + flits;
1613 end = (u64 *)wr + flits;
1665 left = (u8 *)end - (u8 *)q->q.stat;
1666 end = (void *)q->q.desc + left;
1688 /* If current position is already at the end of the
1690 * and update the end ptr as well.
1692 left = (u8 *)end - (u8 *)q->q.stat;
1693 end = (void *)q->q.desc + left;
1726 cxgb4_write_sgl(skb, &q->q, (void *)sgl, end, sgl_off,
1835 u64 cntrl, *end;
1924 end = (u64 *)wr + flits;
2063 * pointer lines up exactly with the end of our TX Descriptor
2069 end = (void *)((void *)tq->desc +
2070 ((void *)end - (void *)tq->stat));
2073 cxgb4_write_sgl(skb, tq, sgl, end, 0, sgl_sdesc->addr);
2263 u64 cntrl, *start, *end, *sgl;
2349 end = (u64 *)wr + flits;
2351 left = (u8 *)end - (u8 *)eohw_txq->q.stat;
2352 end = (void *)eohw_txq->q.desc + left;
2356 /* If current position is already at the end of the
2358 * and update the end ptr as well.
2360 left = (u8 *)end - (u8 *)eohw_txq->q.stat;
2362 end = (void *)eohw_txq->q.desc + left;
2366 cxgb4_write_sgl(skb, &eohw_txq->q, (void *)sgl, end, hdr_len,
2945 u64 *pos, *before, *end;
2997 end = (u64 *)pos + flits;
3003 left = (u8 *)end - (u8 *)txq->stat;
3004 end = (void *)txq->desc + left;
3007 /* If current position is already at the end of the
3009 * start of the queue and update the end ptr as well.
3012 left = (u8 *)end - (u8 *)txq->stat;
3013 end = (void *)txq->desc + left;
3018 end, hdr_len,
4596 * write the CIDX Updates into the Status Page at the end of the