Searched refs:SKB_TRUESIZE (Results 1 – 17 of 17) sorted by relevance
43 #define FLOWCTL_MSG_LIM ((FLOWCTL_MSG_WIN * 2 + 1) * SKB_TRUESIZE(MAX_MSG_SIZE))
30 int guess = SKB_TRUESIZE(pdu_size); in atm_alloc_charge()
201 sk_wmem_alloc_get(sk) < SKB_TRUESIZE(1) && in tcp_rate_check_app_limited()
1210 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()
1522 sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); in icmp_init()
890 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()
508 truesize -= SKB_TRUESIZE(skb_end_offset(skb)); in truesize_adjust()
2083 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()
153 new_truesize = SKB_TRUESIZE(skb_end_offset(skb)); in skb_gro_receive()
378 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()
2754 if (atomic_read(&sk->sk_omem_alloc) + SKB_TRUESIZE(size) > in sock_omalloc()
1078 sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); in icmpv6_init()
1545 sysctl_sctp_rmem[1] = 1500 * SKB_TRUESIZE(1); in sctp_init()
1709 len += SKB_TRUESIZE(iucv_msg_length(msg)); in iucv_callback_rx()
2852 #define _SK_MEM_OVERHEAD SKB_TRUESIZE(256)
305 sk_mem_uncharge(sk, SKB_TRUESIZE(skb_end_offset(skb))); in tcp_wmem_free_skb()
273 #define SKB_TRUESIZE(X) ((X) + \ macro