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()
1170 if (refcount_read(&sk->sk_wmem_alloc) >= SKB_TRUESIZE(1) && this_cpu_ksoftirqd() == current) in tcp_wfree()1320 skb->ooo_okay = sk_wmem_alloc_get(sk) < SKB_TRUESIZE(1) || in __tcp_transmit_skb()1568 limit = sk->sk_sndbuf + 2 * SKB_TRUESIZE(GSO_LEGACY_MAX_SIZE); in tcp_fragment()
1518 sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); in icmp_init()
876 skb->truesize = SKB_TRUESIZE(skb_end_offset(skb)); in tcp_stream_alloc_skb()954 SKB_TRUESIZE(skb_end_offset(skb)); in tcp_downgrade_zcopy_pure()
514 truesize -= SKB_TRUESIZE(skb_end_offset(skb)); in truesize_adjust()
155 new_truesize = SKB_TRUESIZE(skb_end_offset(skb)); in skb_gro_receive()
2126 NEIGH_VAR(parms, QUEUE_LEN_BYTES) / SKB_TRUESIZE(ETH_FRAME_LEN)) || in neightbl_fill_parms()2382 SKB_TRUESIZE(ETH_FRAME_LEN)); in neightbl_set()3540 static int unres_qlen_max = INT_MAX / SKB_TRUESIZE(ETH_FRAME_LEN);3552 size = *(int *)ctl->data / SKB_TRUESIZE(ETH_FRAME_LEN); in proc_unres_qlen()3556 *(int *)ctl->data = size * SKB_TRUESIZE(ETH_FRAME_LEN); in proc_unres_qlen()
352 skb->truesize = SKB_TRUESIZE(size); in __finalize_skb_around()5815 delta = from->truesize - SKB_TRUESIZE(skb_end_offset(from)); in skb_try_coalesce()6619 skb->truesize = SKB_TRUESIZE(skb_end_offset(skb)); in skb_condense()
2672 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()
1536 sysctl_sctp_rmem[1] = 1500 * SKB_TRUESIZE(1); in sctp_init()
1711 len += SKB_TRUESIZE(iucv_msg_length(msg)); in iucv_callback_rx()
302 sk_mem_uncharge(sk, SKB_TRUESIZE(skb_end_offset(skb))); in tcp_wmem_free_skb()
2953 #define _SK_MEM_OVERHEAD SKB_TRUESIZE(256)
271 #define SKB_TRUESIZE(X) ((X) + \ macro