Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/include/linux/sunrpc/
Dgss_krb5.h288 xdr_extend_head(struct xdr_buf *buf, unsigned int base, unsigned int shiftlen);
/linux-6.1.9/include/linux/
Dtcp.h550 int shiftlen);
Dskbuff.h3938 int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen);
/linux-6.1.9/net/core/
Dskbuff.c3663 int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen) in skb_shift() argument
3668 BUG_ON(shiftlen > skb->len); in skb_shift()
3675 todo = shiftlen; in skb_shift()
3700 skb_frag_size_add(fragto, shiftlen); in skb_shift()
3701 skb_frag_size_sub(fragfrom, shiftlen); in skb_shift()
3702 skb_frag_off_add(fragfrom, shiftlen); in skb_shift()
3711 if ((shiftlen == skb->len) && in skb_shift()
3772 skb_len_add(skb, -shiftlen); in skb_shift()
3773 skb_len_add(tgt, shiftlen); in skb_shift()
3775 return shiftlen; in skb_shift()
/linux-6.1.9/net/ipv4/
Dtcp_input.c1527 int pcount, int shiftlen) in tcp_skb_shift() argument
1534 if (unlikely(to->len + shiftlen >= 65535 * TCP_MIN_GSO_SIZE)) in tcp_skb_shift()
1538 return skb_shift(to, from, shiftlen); in tcp_skb_shift()