Home
last modified time | relevance | path

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

/openbmc/linux/net/tipc/
H A Dsocket.h43 #define FLOWCTL_MSG_LIM ((FLOWCTL_MSG_WIN * 2 + 1) * SKB_TRUESIZE(MAX_MSG_SIZE))
/openbmc/linux/net/atm/
H A Datm_misc.c30 int guess = SKB_TRUESIZE(pdu_size); in atm_alloc_charge()
/openbmc/linux/net/ipv4/
H A Dtcp_rate.c201 sk_wmem_alloc_get(sk) < SKB_TRUESIZE(1) && in tcp_rate_check_app_limited()
H A Dicmp.c1509 sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); in icmp_init()
H A Dtcp_output.c1168 if (refcount_read(&sk->sk_wmem_alloc) >= SKB_TRUESIZE(1) && this_cpu_ksoftirqd() == current) in tcp_wfree()
1318 skb->ooo_okay = sk_wmem_alloc_get(sk) < SKB_TRUESIZE(1) || in __tcp_transmit_skb()
1566 limit = sk->sk_sndbuf + 2 * SKB_TRUESIZE(GSO_LEGACY_MAX_SIZE); in tcp_fragment()
H A Dtcp.c876 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()
H A Dtcp_input.c514 truesize -= SKB_TRUESIZE(skb_end_offset(skb)); in truesize_adjust()
/openbmc/linux/net/core/
H A Dneighbour.c2126 NEIGH_VAR(parms, QUEUE_LEN_BYTES) / SKB_TRUESIZE(ETH_FRAME_LEN)) || in neightbl_fill_parms()
2382 SKB_TRUESIZE(ETH_FRAME_LEN)); in neightbl_set()
3539 static int unres_qlen_max = INT_MAX / SKB_TRUESIZE(ETH_FRAME_LEN);
3551 size = *(int *)ctl->data / SKB_TRUESIZE(ETH_FRAME_LEN); in proc_unres_qlen()
3555 *(int *)ctl->data = size * SKB_TRUESIZE(ETH_FRAME_LEN); in proc_unres_qlen()
H A Dgro.c160 new_truesize = SKB_TRUESIZE(skb_end_offset(skb)); in skb_gro_receive()
H A Dskbuff.c352 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()
H A Dsock.c2669 if (atomic_read(&sk->sk_omem_alloc) + SKB_TRUESIZE(size) > in sock_omalloc()
/openbmc/linux/net/ipv6/
H A Dicmp.c1070 sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); in icmpv6_init()
/openbmc/linux/net/sctp/
H A Dprotocol.c1536 sysctl_sctp_rmem[1] = 1500 * SKB_TRUESIZE(1); in sctp_init()
/openbmc/linux/net/iucv/
H A Daf_iucv.c1703 len += SKB_TRUESIZE(iucv_msg_length(msg)); in iucv_callback_rx()
/openbmc/linux/include/net/
H A Dtcp.h302 sk_mem_uncharge(sk, SKB_TRUESIZE(skb_end_offset(skb))); in tcp_wmem_free_skb()
H A Dsock.h2940 #define _SK_MEM_OVERHEAD SKB_TRUESIZE(256)
/openbmc/linux/include/linux/
H A Dskbuff.h271 #define SKB_TRUESIZE(X) ((X) + \ macro