Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 29) sorted by relevance

12

/net/ipv4/
A Dinet_fragment.c513 struct sk_buff *clone; in inet_frag_reasm_prepare() local
516 clone = alloc_skb(0, GFP_ATOMIC); in inet_frag_reasm_prepare()
517 if (!clone) in inet_frag_reasm_prepare()
523 clone->data_len = head->data_len - plen; in inet_frag_reasm_prepare()
524 clone->len = clone->data_len; in inet_frag_reasm_prepare()
525 head->truesize += clone->truesize; in inet_frag_reasm_prepare()
526 clone->csum = 0; in inet_frag_reasm_prepare()
527 clone->ip_summed = head->ip_summed; in inet_frag_reasm_prepare()
528 add_frag_mem_limit(q->fqdir, clone->truesize); in inet_frag_reasm_prepare()
529 skb_shinfo(head)->frag_list = clone; in inet_frag_reasm_prepare()
[all …]
A Dtcp_cong.c371 char *saved_clone, *clone, *name; in tcp_set_allowed_congestion_control() local
374 saved_clone = clone = kstrdup(val, GFP_USER); in tcp_set_allowed_congestion_control()
375 if (!clone) in tcp_set_allowed_congestion_control()
380 while ((name = strsep(&clone, " ")) && *name) { in tcp_set_allowed_congestion_control()
A Dtcp_ulp.c143 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
A Draw.c189 struct sk_buff *clone = skb_clone(skb, GFP_ATOMIC); in raw_v4_input() local
192 if (clone) in raw_v4_input()
193 raw_rcv(sk, clone); in raw_v4_input()
A Dinet_connection_sock.c1205 icsk->icsk_ulp_ops->clone(req, newsk, priority); in inet_clone_ulp()
1324 if (icsk->icsk_ulp_ops && !icsk->icsk_ulp_ops->clone) in inet_ulp_can_listen()
/net/rds/
A Dtcp_recv.c162 struct sk_buff *clone; in rds_tcp_data_recv() local
219 clone = pskb_extract(skb, offset, to_copy, arg->gfp); in rds_tcp_data_recv()
220 if (!clone) { in rds_tcp_data_recv()
225 skb_queue_tail(&tinc->ti_skb_list, clone); in rds_tcp_data_recv()
230 clone, clone->data, clone->len); in rds_tcp_data_recv()
/net/core/
A Dtimestamping.c28 struct sk_buff *clone; in skb_clone_tx_timestamp() local
59 clone = skb_clone_sk(skb); in skb_clone_tx_timestamp()
60 if (!clone) in skb_clone_tx_timestamp()
62 mii_ts->txtstamp(mii_ts, clone, type); in skb_clone_tx_timestamp()
A Dskbuff.c2859 if (!clone) in __pskb_pull_tail()
2862 list = clone; in __pskb_pull_tail()
2882 if (clone) { in __pskb_pull_tail()
5465 if (!clone) { in skb_clone_sk()
5470 clone->sk = sk; in skb_clone_sk()
5473 return clone; in skb_clone_sk()
6787 if (!clone) in pskb_carve_frag_list()
6790 list = clone; in pskb_carve_frag_list()
6809 if (clone) { in pskb_carve_frag_list()
6914 if (!clone) in pskb_extract()
[all …]
A Dfilter.c2451 struct sk_buff *clone; in BPF_CALL_3() local
2463 clone = skb_clone(skb, GFP_ATOMIC); in BPF_CALL_3()
2464 if (unlikely(!clone)) in BPF_CALL_3()
2474 kfree_skb(clone); in BPF_CALL_3()
2478 return __bpf_redirect(clone, dev, flags); in BPF_CALL_3()
/net/netfilter/
A Dnft_set_pipapo.c1237 if (priv->clone)
1238 return priv->clone;
1242 priv->clone = pipapo_clone(m);
1244 return priv->clone;
1777 if (!priv->clone)
1781 pipapo_gc(set, priv->clone);
1785 priv->clone = NULL;
1795 if (!priv->clone)
1798 priv->clone = NULL;
2297 if (priv->clone) {
[all …]
A Dnft_last.c126 .clone = nft_last_clone,
A Dnft_limit.c244 .clone = nft_limit_pkts_clone,
300 .clone = nft_limit_bytes_clone,
A Dnft_set_pipapo.h162 struct nft_pipapo_match *clone; member
A Dnft_quota.c266 .clone = nft_quota_clone,
A Dnft_connlimit.c257 .clone = nft_connlimit_clone,
A Dnft_counter.c303 .clone = nft_counter_clone,
/net/sched/
A Dsch_etf.c138 struct sk_buff *clone; in report_sock_error() local
145 clone = skb_clone(skb, GFP_ATOMIC); in report_sock_error()
146 if (!clone) in report_sock_error()
149 serr = SKB_EXT_ERR(clone); in report_sock_error()
158 if (sock_queue_err_skb(sk, clone)) in report_sock_error()
159 kfree_skb(clone); in report_sock_error()
/net/ieee802154/
A Dsocket.c371 struct sk_buff *clone; in ieee802154_raw_deliver() local
373 clone = skb_clone(skb, GFP_ATOMIC); in ieee802154_raw_deliver()
374 if (clone) in ieee802154_raw_deliver()
375 raw_rcv_skb(sk, clone); in ieee802154_raw_deliver()
812 struct sk_buff *clone; in ieee802154_dgram_deliver() local
814 clone = skb_clone(skb, GFP_ATOMIC); in ieee802154_dgram_deliver()
815 if (clone) in ieee802154_dgram_deliver()
816 dgram_rcv_skb(prev, clone); in ieee802154_dgram_deliver()
/net/openvswitch/
A Dactions.c1336 struct sk_buff *clone; in do_execute_actions() local
1349 clone = skb_clone(skb, GFP_ATOMIC); in do_execute_actions()
1350 if (clone) in do_execute_actions()
1351 do_output(dp, clone, port, key); in do_execute_actions()
1486 err = clone(dp, skb, key, a, last); in do_execute_actions()
1551 struct sw_flow_key *clone; in clone_execute() local
1566 clone = clone_flow_key ? clone_key(key) : key; in clone_execute()
1567 if (clone) { in clone_execute()
1573 err = do_execute_actions(dp, skb, clone, in clone_execute()
1579 clone->recirc_id = recirc_id; in clone_execute()
[all …]
/net/dsa/
A Dtag_ksz.c249 struct sk_buff *clone = KSZ_SKB_CB(skb)->clone; in ksz_defer_xmit() local
253 if (!clone) in ksz_defer_xmit()
A Dtag_sja1105.c296 struct sk_buff *clone = SJA1105_SKB_CB(skb)->clone; in sja1110_xmit() local
336 if (clone) { in sja1110_xmit()
337 u8 ts_id = SJA1105_SKB_CB(clone)->ts_id; in sja1110_xmit()
/net/tls/
A Dtls_strp.c162 struct sk_buff *iter, *clone; in tls_strp_msg_hold() local
178 clone = skb_clone(iter, strp->sk->sk_allocation); in tls_strp_msg_hold()
179 if (!clone) in tls_strp_msg_hold()
181 __skb_queue_tail(dst, clone); in tls_strp_msg_hold()
/net/phonet/
A Dsocket.c114 struct sk_buff *clone; in pn_deliver_sock_broadcast() local
121 clone = skb_clone(skb, GFP_ATOMIC); in pn_deliver_sock_broadcast()
122 if (clone) { in pn_deliver_sock_broadcast()
124 sk_receive_skb(sknode, clone, 0); in pn_deliver_sock_broadcast()
/net/ipv6/
A Draw.c200 struct sk_buff *clone = skb_clone(skb, GFP_ATOMIC); in ipv6_raw_deliver() local
203 if (clone) in ipv6_raw_deliver()
204 rawv6_rcv(sk, clone); in ipv6_raw_deliver()
/net/9p/
A Dclient.c1155 const unsigned char * const *wnames, int clone) in p9_client_walk() argument
1166 if (clone) { in p9_client_walk()

Completed in 81 milliseconds

12