Home
last modified time | relevance | path

Searched refs:shiftlen (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c522 xdr_extend_head(struct xdr_buf *buf, unsigned int base, unsigned int shiftlen) in xdr_extend_head() argument
526 if (shiftlen == 0) in xdr_extend_head()
530 BUG_ON(shiftlen > RPC_MAX_AUTH_SIZE); in xdr_extend_head()
534 memmove(p + shiftlen, p, buf->head[0].iov_len - base); in xdr_extend_head()
536 buf->head[0].iov_len += shiftlen; in xdr_extend_head()
537 buf->len += shiftlen; in xdr_extend_head()
/linux-5.19.10/include/linux/sunrpc/
Dgss_krb5.h288 xdr_extend_head(struct xdr_buf *buf, unsigned int base, unsigned int shiftlen);
/linux-5.19.10/net/core/
Dskbuff.c3523 int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen) in skb_shift() argument
3528 BUG_ON(shiftlen > skb->len); in skb_shift()
3535 todo = shiftlen; in skb_shift()
3560 skb_frag_size_add(fragto, shiftlen); in skb_shift()
3561 skb_frag_size_sub(fragfrom, shiftlen); in skb_shift()
3562 skb_frag_off_add(fragfrom, shiftlen); in skb_shift()
3571 if ((shiftlen == skb->len) && in skb_shift()
3633 skb->len -= shiftlen; in skb_shift()
3634 skb->data_len -= shiftlen; in skb_shift()
3635 skb->truesize -= shiftlen; in skb_shift()
[all …]
/linux-5.19.10/include/linux/
Dtcp.h514 int shiftlen);
Dskbuff.h4072 int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen);
/linux-5.19.10/net/ipv4/
Dtcp_input.c1528 int pcount, int shiftlen) in tcp_skb_shift() argument
1535 if (unlikely(to->len + shiftlen >= 65535 * TCP_MIN_GSO_SIZE)) in tcp_skb_shift()
1539 return skb_shift(to, from, shiftlen); in tcp_skb_shift()