Home
last modified time | relevance | path

Searched refs:SKB_TRUESIZE (Results 1 – 17 of 17) sorted by relevance

/linux/net/tipc/
H A Dsocket.h43 #define FLOWCTL_MSG_LIM ((FLOWCTL_MSG_WIN * 2 + 1) * SKB_TRUESIZE(MAX_MSG_SIZE))
/linux/net/atm/
H A Datm_misc.c30 int guess = SKB_TRUESIZE(pdu_size); in atm_alloc_charge()
/linux/net/ipv4/
H A Dtcp_rate.c201 sk_wmem_alloc_get(sk) < SKB_TRUESIZE(1) && in tcp_rate_check_app_limited()
H A Dtcp_output.c1210 if (refcount_read(&sk->sk_wmem_alloc) >= SKB_TRUESIZE(1) && this_cpu_ksoftirqd() == current) in tcp_wfree()
1360 skb->ooo_okay = sk_wmem_alloc_get(sk) < SKB_TRUESIZE(1) || in __tcp_transmit_skb()
1621 limit = sk->sk_sndbuf + 2 * SKB_TRUESIZE(GSO_LEGACY_MAX_SIZE); in tcp_fragment()
H A Dicmp.c1522 sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); in icmp_init()
H A Dtcp.c890 skb->truesize = SKB_TRUESIZE(skb_end_offset(skb)); in tcp_stream_alloc_skb()
968 SKB_TRUESIZE(skb_end_offset(skb)); in tcp_downgrade_zcopy_pure()
H A Dtcp_input.c508 truesize -= SKB_TRUESIZE(skb_end_offset(skb)); in truesize_adjust()
/linux/net/core/
H A Dneighbour.c2083 NEIGH_VAR(parms, QUEUE_LEN_BYTES) / SKB_TRUESIZE(ETH_FRAME_LEN)) || in neightbl_fill_parms()
2339 SKB_TRUESIZE(ETH_FRAME_LEN)); in neightbl_set()
3478 static int unres_qlen_max = INT_MAX / SKB_TRUESIZE(ETH_FRAME_LEN);
3490 size = *(int *)ctl->data / SKB_TRUESIZE(ETH_FRAME_LEN); in proc_unres_qlen()
3494 *(int *)ctl->data = size * SKB_TRUESIZE(ETH_FRAME_LEN); in proc_unres_qlen()
H A Dgro.c153 new_truesize = SKB_TRUESIZE(skb_end_offset(skb)); in skb_gro_receive()
H A Dskbuff.c378 skb->truesize = SKB_TRUESIZE(size); in __finalize_skb_around()
6069 delta = from->truesize - SKB_TRUESIZE(skb_end_offset(from)); in skb_try_coalesce()
6903 skb->truesize = SKB_TRUESIZE(skb_end_offset(skb)); in skb_condense()
H A Dsock.c2754 if (atomic_read(&sk->sk_omem_alloc) + SKB_TRUESIZE(size) > in sock_omalloc()
/linux/net/ipv6/
H A Dicmp.c1078 sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); in icmpv6_init()
/linux/net/sctp/
H A Dprotocol.c1545 sysctl_sctp_rmem[1] = 1500 * SKB_TRUESIZE(1); in sctp_init()
/linux/net/iucv/
H A Daf_iucv.c1709 len += SKB_TRUESIZE(iucv_msg_length(msg)); in iucv_callback_rx()
/linux/include/net/
H A Dsock.h2852 #define _SK_MEM_OVERHEAD SKB_TRUESIZE(256)
H A Dtcp.h305 sk_mem_uncharge(sk, SKB_TRUESIZE(skb_end_offset(skb))); in tcp_wmem_free_skb()
/linux/include/linux/
H A Dskbuff.h273 #define SKB_TRUESIZE(X) ((X) + \ macro