Home
last modified time | relevance | path

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

/linux-6.1.9/net/tipc/
Dsocket.h43 #define FLOWCTL_MSG_LIM ((FLOWCTL_MSG_WIN * 2 + 1) * SKB_TRUESIZE(MAX_MSG_SIZE))
/linux-6.1.9/net/atm/
Datm_misc.c30 int guess = SKB_TRUESIZE(pdu_size); in atm_alloc_charge()
/linux-6.1.9/net/ipv4/
Dtcp_rate.c201 sk_wmem_alloc_get(sk) < SKB_TRUESIZE(1) && in tcp_rate_check_app_limited()
Dtcp_output.c1155 if (refcount_read(&sk->sk_wmem_alloc) >= SKB_TRUESIZE(1) && this_cpu_ksoftirqd() == current) in tcp_wfree()
1304 skb->ooo_okay = sk_wmem_alloc_get(sk) < SKB_TRUESIZE(1); in __tcp_transmit_skb()
1553 limit = sk->sk_sndbuf + 2 * SKB_TRUESIZE(GSO_LEGACY_MAX_SIZE); in tcp_fragment()
Dicmp.c1493 sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); in icmp_init()
Dtcp.c867 skb->truesize = SKB_TRUESIZE(skb_end_offset(skb)); in tcp_stream_alloc_skb()
945 SKB_TRUESIZE(skb_end_offset(skb)); in tcp_downgrade_zcopy_pure()
Dtcp_input.c487 truesize -= SKB_TRUESIZE(skb_end_offset(skb)); in truesize_adjust()
743 rcvmem = SKB_TRUESIZE(tp->advmss + MAX_TCP_HEADER); in tcp_rcv_space_adjust()
/linux-6.1.9/net/core/
Dneighbour.c2124 NEIGH_VAR(parms, QUEUE_LEN_BYTES) / SKB_TRUESIZE(ETH_FRAME_LEN)) || in neightbl_fill_parms()
2379 SKB_TRUESIZE(ETH_FRAME_LEN)); in neightbl_set()
3536 static int unres_qlen_max = INT_MAX / SKB_TRUESIZE(ETH_FRAME_LEN);
3548 size = *(int *)ctl->data / SKB_TRUESIZE(ETH_FRAME_LEN); in proc_unres_qlen()
3552 *(int *)ctl->data = size * SKB_TRUESIZE(ETH_FRAME_LEN); in proc_unres_qlen()
Dgro.c206 new_truesize = SKB_TRUESIZE(skb_end_offset(skb)); in skb_gro_receive()
Dskbuff.c282 skb->truesize = SKB_TRUESIZE(size); in __build_skb_around()
5465 delta = from->truesize - SKB_TRUESIZE(skb_end_offset(from)); in skb_try_coalesce()
6430 skb->truesize = SKB_TRUESIZE(skb_end_offset(skb)); in skb_condense()
Dsock.c2592 if (atomic_read(&sk->sk_omem_alloc) + SKB_TRUESIZE(size) > in sock_omalloc()
/linux-6.1.9/net/ipv6/
Dicmp.c1055 sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024); in icmpv6_init()
/linux-6.1.9/drivers/net/usb/
Daqc111.c1154 new_skb->truesize = SKB_TRUESIZE(new_skb->len); in aqc111_rx_fixup()
Dax88179_178a.c1440 skb->truesize = SKB_TRUESIZE(pkt_len_plus_padd); in ax88179_rx_fixup()
/linux-6.1.9/net/sctp/
Dprotocol.c1527 sysctl_sctp_rmem[1] = 1500 * SKB_TRUESIZE(1); in sctp_init()
/linux-6.1.9/include/net/
Dtcp.h301 sk_mem_uncharge(sk, SKB_TRUESIZE(skb_end_offset(skb))); in tcp_wmem_free_skb()
Dsock.h2884 #define _SK_MEM_OVERHEAD SKB_TRUESIZE(256)
/linux-6.1.9/net/iucv/
Daf_iucv.c1703 len += SKB_TRUESIZE(iucv_msg_length(msg)); in iucv_callback_rx()
/linux-6.1.9/include/linux/
Dskbuff.h270 #define SKB_TRUESIZE(X) ((X) + \ macro
/linux-6.1.9/net/mptcp/
Dprotocol.c1955 rcvmem = SKB_TRUESIZE(advmss + MAX_TCP_HEADER); in mptcp_rcv_space_adjust()