Home
last modified time | relevance | path

Searched refs:destructor (Results 1 – 25 of 47) sorted by relevance

12

/net/core/
Ddatagram.c168 void (*destructor)(struct sock *sk, in __skb_try_recv_from_queue()
200 if (destructor) in __skb_try_recv_from_queue()
201 destructor(sk, skb); in __skb_try_recv_from_queue()
245 void (*destructor)(struct sock *sk, in __skb_try_recv_datagram()
269 skb = __skb_try_recv_from_queue(sk, queue, flags, destructor, in __skb_try_recv_datagram()
292 void (*destructor)(struct sock *sk, in __skb_recv_datagram()
302 skb = __skb_try_recv_datagram(sk, flags, destructor, off, err, in __skb_recv_datagram()
355 void (*destructor)(struct sock *sk, in __sk_queue_drop_skb()
366 if (destructor) in __sk_queue_drop_skb()
367 destructor(sk, skb); in __sk_queue_drop_skb()
Dskbuff.c650 if (skb->destructor) { in skb_release_head_state()
652 skb->destructor(skb); in skb_release_head_state()
997 n->destructor = NULL; in __skb_clone()
1032 n->destructor = NULL; in alloc_skb_for_msg()
1687 if (!skb->sk || skb->destructor == sock_edemux) in pskb_expand_head()
2004 if (!skb->sk || skb->destructor == sock_edemux) in ___pskb_trim()
3973 if (head_skb->destructor == sock_wfree) { in skb_segment()
3975 swap(tail->destructor, head_skb->destructor); in skb_segment()
4423 skb->destructor = sock_rmem_free; in sock_queue_err_skb()
4497 clone->destructor = sock_efree; in skb_clone_sk()
Dsock.c1989 skb->destructor = sock_edemux; in skb_set_owner_w()
1994 skb->destructor = sock_wfree; in skb_set_owner_w()
2014 return (skb->destructor == sock_wfree || in can_skb_orphan_partial()
2015 (IS_ENABLED(CONFIG_INET) && skb->destructor == tcp_wfree)); in can_skb_orphan_partial()
2034 skb->destructor = sock_efree; in skb_orphan_partial()
2129 skb->destructor = sock_ofree; in sock_omalloc()
/net/ipv4/
Dtcp_offload.c93 copy_destructor = gso_skb->destructor == tcp_wfree; in tcp_gso_segment()
135 skb->destructor = gso_skb->destructor; in tcp_gso_segment()
155 swap(gso_skb->destructor, skb->destructor); in tcp_gso_segment()
Dudp_offload.c206 copy_dtor = gso_skb->destructor == sock_wfree; in __udp_gso_segment()
208 gso_skb->destructor = NULL; in __udp_gso_segment()
213 gso_skb->destructor = sock_wfree; in __udp_gso_segment()
238 seg->destructor = sock_wfree; in __udp_gso_segment()
Dxfrm4_tunnel.c49 .destructor = ipip_destroy,
Dip_sockglue.c336 void (*destructor)(struct sock *)) in ip_ra_control()
365 if (ra->destructor) in ip_ra_control()
366 ra->destructor(sk); in ip_ra_control()
382 new_ra->destructor = destructor; in ip_ra_control()
Dip_output.c834 frag->destructor = sock_wfree; in ip_do_fragment()
876 frag2->destructor = NULL; in ip_do_fragment()
1158 if (!skb->destructor) { in __ip_append_data()
1159 skb->destructor = sock_wfree; in __ip_append_data()
1495 tmp_skb->destructor = NULL; in __ip_make_skb()
Dipcomp.c158 .destructor = ipcomp_destroy,
Dinet_fragment.c227 if (f->destructor) in inet_frag_destroy_rcu()
228 f->destructor(q); in inet_frag_destroy_rcu()
Dah4.c562 .destructor = ah_destroy,
/net/tls/
Dtls_device_fallback.c205 nskb->destructor = skb->destructor; in complete_skb()
207 skb->destructor = NULL; in complete_skb()
213 if (nskb->destructor == sock_efree) in complete_skb()
/net/caif/
Dcaif_dev.c224 caifd->xoff_skb_dtor = skb->destructor; in transmit()
225 skb->destructor = caif_flow_cb; in transmit()
442 caifd->xoff_skb->destructor = caifd->xoff_skb_dtor; in caif_device_notify()
/net/sched/
Dact_sample.c265 tc_action_priv_destructor *destructor) in tcf_sample_get_group() argument
275 *destructor = tcf_psample_group_put; in tcf_sample_get_group()
Dact_mirred.c422 tc_action_priv_destructor *destructor) in tcf_mirred_get_dev() argument
431 *destructor = tcf_mirred_dev_put; in tcf_mirred_get_dev()
Dcls_api.c3391 if (entry->destructor) in tc_cleanup_flow_action()
3392 entry->destructor(entry->destructor_priv); in tc_cleanup_flow_action()
3400 entry->dev = act->ops->get_dev(act, &entry->destructor); in tcf_mirred_get_dev()
3420 entry->destructor = tcf_tunnel_encap_put_tunnel; in tcf_tunnel_encap_get_tunnel()
3430 act->ops->get_psample_group(act, &entry->destructor); in tcf_sample_get_group()
/net/ipv6/
Dmip6.c332 .destructor = mip6_destopt_destroy,
464 .destructor = mip6_rthdr_destroy,
Dipcomp6.c178 .destructor = ipcomp_destroy,
Dip6_output.c843 frag->destructor = sock_wfree; in ip6_fragment()
890 frag2->destructor = NULL; in ip6_fragment()
1579 if (!skb->destructor) { in __ip6_append_data()
1580 skb->destructor = sock_wfree; in __ip6_append_data()
1744 tmp_skb->destructor = NULL; in __ip6_make_skb()
Dxfrm6_tunnel.c298 .destructor = xfrm6_tunnel_destroy,
Dreassembly.c553 ip6_frags.destructor = NULL; in ipv6_frag_init()
Dah6.c762 .destructor = ah6_destroy,
/net/llc/
Dllc_sap.c289 skb->destructor = sock_efree; in llc_sap_rcv()
/net/ieee802154/6lowpan/
Dreassembly.c520 lowpan_frags.destructor = NULL; in lowpan_net_frag_init()
/net/ipv6/netfilter/
Dnf_conntrack_reasm.c534 nf_frags.destructor = NULL; in nf_ct_frag6_init()

12