Home
last modified time | relevance | path

Searched refs:_skb (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/net/tipc/
H A Dmsg.c257 bool tipc_msg_validate(struct sk_buff **_skb) in tipc_msg_validate() argument
259 struct sk_buff *skb = *_skb; in tipc_msg_validate()
268 kfree_skb(*_skb); in tipc_msg_validate()
269 *_skb = skb; in tipc_msg_validate()
316 struct sk_buff *_skb; in tipc_msg_fragment() local
336 _skb = tipc_buf_acquire(INT_H_SIZE + eat, GFP_ATOMIC); in tipc_msg_fragment()
337 if (!_skb) in tipc_msg_fragment()
339 skb_orphan(_skb); in tipc_msg_fragment()
340 __skb_queue_tail(frags, _skb); in tipc_msg_fragment()
342 skb_copy_to_linear_data(_skb, hd in tipc_msg_fragment()
627 struct sk_buff *_skb = *skb; tipc_msg_reverse() local
679 struct sk_buff *skb, *_skb; tipc_msg_skb_clone() local
762 struct sk_buff *skb, *_skb; tipc_msg_reassemble() local
800 struct sk_buff *skb, *_skb; tipc_msg_pskb_copy() local
822 struct sk_buff *_skb, *tmp; __tipc_skb_queue_sorted() local
[all...]
H A Dbcast.c181 struct sk_buff *skb, *_skb; in tipc_bcbase_xmit() local
201 _skb = pskb_copy_for_clone(skb, GFP_ATOMIC); in tipc_bcbase_xmit()
202 if (!_skb) in tipc_bcbase_xmit()
204 __skb_queue_tail(&_xmitq, _skb); in tipc_bcbase_xmit()
323 struct sk_buff *_skb; in tipc_mcast_send_sync() local
338 _skb = tipc_buf_acquire(MCAST_H_SIZE, GFP_KERNEL); in tipc_mcast_send_sync()
339 if (!_skb) in tipc_mcast_send_sync()
346 skb_copy_to_linear_data(_skb, hdr, MCAST_H_SIZE); in tipc_mcast_send_sync()
347 skb_orphan(_skb); in tipc_mcast_send_sync()
350 _hdr = buf_msg(_skb); in tipc_mcast_send_sync()
787 struct sk_buff *skb, *_skb, *tmp; tipc_mcast_filter_msg() local
[all...]
H A Dmsg.h1179 bool tipc_msg_validate(struct sk_buff **_skb);
1269 struct sk_buff *_skb, *tmp, *skb = NULL; in tipc_skb_dequeue() local
1272 skb_queue_walk_safe(list, _skb, tmp) { in tipc_skb_dequeue()
1273 if (msg_destport(buf_msg(_skb)) == dport) { in tipc_skb_dequeue()
1274 __skb_unlink(_skb, list); in tipc_skb_dequeue()
1275 skb = _skb; in tipc_skb_dequeue()
H A Dlink.c1006 struct sk_buff *skb, *_skb; in tipc_link_xmit() local
1053 _skb = skb_clone(skb, GFP_ATOMIC); in tipc_link_xmit()
1054 if (!_skb) { in tipc_link_xmit()
1061 __skb_queue_tail(xmitq, _skb); in tipc_link_xmit()
1140 struct sk_buff *skb, *_skb; in tipc_link_advance_backlog() local
1151 _skb = skb_clone(skb, GFP_ATOMIC); in tipc_link_advance_backlog()
1152 if (!_skb) in tipc_link_advance_backlog()
1163 __skb_queue_tail(xmitq, _skb); in tipc_link_advance_backlog()
1528 struct sk_buff *skb, *_skb, *tmp; in tipc_link_advance_transmq() local
1613 _skb in tipc_link_advance_transmq()
[all...]
H A Dgroup.c475 struct sk_buff *_skb, *tmp; in tipc_group_sort_msg() local
480 skb_queue_walk_safe(defq, _skb, tmp) { in tipc_group_sort_msg()
481 _hdr = buf_msg(_skb); in tipc_group_sort_msg()
484 __skb_queue_before(defq, _skb, skb); in tipc_group_sort_msg()
H A Dudp_media.c254 struct sk_buff *_skb; in tipc_udp_send_msg() local
256 _skb = pskb_copy(skb, GFP_ATOMIC); in tipc_udp_send_msg()
257 if (!_skb) { in tipc_udp_send_msg()
262 err = tipc_udp_xmit(net, _skb, ub, src, &rcast->addr, in tipc_udp_send_msg()
H A Dbearer.c748 struct sk_buff *skb, *_skb; in tipc_clone_to_loopback() local
751 skb_queue_walk(pkts, _skb) { in tipc_clone_to_loopback()
752 skb = pskb_copy(_skb, GFP_ATOMIC); in tipc_clone_to_loopback()
H A Dcrypto.c288 static inline void tipc_crypto_clone_msg(struct net *net, struct sk_buff *_skb,
1645 static inline void tipc_crypto_clone_msg(struct net *net, struct sk_buff *_skb, in tipc_crypto_clone_msg() argument
1652 skb = skb_clone(_skb, GFP_ATOMIC); in tipc_crypto_clone_msg()
H A Dsocket.c1183 struct sk_buff *skb, *_skb; in tipc_sk_mcast_rcv() local
1237 _skb = __pskb_copy(skb, hlen, GFP_ATOMIC); in tipc_sk_mcast_rcv()
1238 if (_skb) { in tipc_sk_mcast_rcv()
1239 msg_set_destport(buf_msg(_skb), portid); in tipc_sk_mcast_rcv()
1240 __skb_queue_tail(&tmpq, _skb); in tipc_sk_mcast_rcv()
/kernel/linux/linux-6.6/net/tipc/
H A Dmsg.c252 bool tipc_msg_validate(struct sk_buff **_skb) in tipc_msg_validate() argument
254 struct sk_buff *skb = *_skb; in tipc_msg_validate()
263 kfree_skb(*_skb); in tipc_msg_validate()
264 *_skb = skb; in tipc_msg_validate()
311 struct sk_buff *_skb; in tipc_msg_fragment() local
331 _skb = tipc_buf_acquire(INT_H_SIZE + eat, GFP_ATOMIC); in tipc_msg_fragment()
332 if (!_skb) in tipc_msg_fragment()
334 skb_orphan(_skb); in tipc_msg_fragment()
335 __skb_queue_tail(frags, _skb); in tipc_msg_fragment()
337 skb_copy_to_linear_data(_skb, hd in tipc_msg_fragment()
623 struct sk_buff *_skb = *skb; tipc_msg_reverse() local
675 struct sk_buff *skb, *_skb; tipc_msg_skb_clone() local
762 struct sk_buff *skb, *_skb; tipc_msg_reassemble() local
800 struct sk_buff *skb, *_skb; tipc_msg_pskb_copy() local
822 struct sk_buff *_skb, *tmp; __tipc_skb_queue_sorted() local
[all...]
H A Dbcast.c181 struct sk_buff *skb, *_skb; in tipc_bcbase_xmit() local
201 _skb = pskb_copy_for_clone(skb, GFP_ATOMIC); in tipc_bcbase_xmit()
202 if (!_skb) in tipc_bcbase_xmit()
204 __skb_queue_tail(&_xmitq, _skb); in tipc_bcbase_xmit()
323 struct sk_buff *_skb; in tipc_mcast_send_sync() local
338 _skb = tipc_buf_acquire(MCAST_H_SIZE, GFP_KERNEL); in tipc_mcast_send_sync()
339 if (!_skb) in tipc_mcast_send_sync()
346 skb_copy_to_linear_data(_skb, hdr, MCAST_H_SIZE); in tipc_mcast_send_sync()
347 skb_orphan(_skb); in tipc_mcast_send_sync()
350 _hdr = buf_msg(_skb); in tipc_mcast_send_sync()
787 struct sk_buff *skb, *_skb, *tmp; tipc_mcast_filter_msg() local
[all...]
H A Dmsg.h1156 bool tipc_msg_validate(struct sk_buff **_skb);
1246 struct sk_buff *_skb, *tmp, *skb = NULL; in tipc_skb_dequeue() local
1249 skb_queue_walk_safe(list, _skb, tmp) { in tipc_skb_dequeue()
1250 if (msg_destport(buf_msg(_skb)) == dport) { in tipc_skb_dequeue()
1251 __skb_unlink(_skb, list); in tipc_skb_dequeue()
1252 skb = _skb; in tipc_skb_dequeue()
H A Dlink.c1041 struct sk_buff *skb, *_skb; in tipc_link_xmit() local
1088 _skb = skb_clone(skb, GFP_ATOMIC); in tipc_link_xmit()
1089 if (!_skb) { in tipc_link_xmit()
1096 __skb_queue_tail(xmitq, _skb); in tipc_link_xmit()
1175 struct sk_buff *skb, *_skb; in tipc_link_advance_backlog() local
1186 _skb = skb_clone(skb, GFP_ATOMIC); in tipc_link_advance_backlog()
1187 if (!_skb) in tipc_link_advance_backlog()
1198 __skb_queue_tail(xmitq, _skb); in tipc_link_advance_backlog()
1564 struct sk_buff *skb, *_skb, *tmp; in tipc_link_advance_transmq() local
1649 _skb in tipc_link_advance_transmq()
[all...]
H A Dgroup.c476 struct sk_buff *_skb, *tmp; in tipc_group_sort_msg() local
481 skb_queue_walk_safe(defq, _skb, tmp) { in tipc_group_sort_msg()
482 _hdr = buf_msg(_skb); in tipc_group_sort_msg()
485 __skb_queue_before(defq, _skb, skb); in tipc_group_sort_msg()
H A Dudp_media.c260 struct sk_buff *_skb; in tipc_udp_send_msg() local
262 _skb = pskb_copy(skb, GFP_ATOMIC); in tipc_udp_send_msg()
263 if (!_skb) { in tipc_udp_send_msg()
268 err = tipc_udp_xmit(net, _skb, ub, src, &rcast->addr, in tipc_udp_send_msg()
H A Dbearer.c762 struct sk_buff *skb, *_skb; in tipc_clone_to_loopback() local
765 skb_queue_walk(pkts, _skb) { in tipc_clone_to_loopback()
766 skb = pskb_copy(_skb, GFP_ATOMIC); in tipc_clone_to_loopback()
H A Dcrypto.c292 static inline void tipc_crypto_clone_msg(struct net *net, struct sk_buff *_skb,
1641 static inline void tipc_crypto_clone_msg(struct net *net, struct sk_buff *_skb, in tipc_crypto_clone_msg() argument
1648 skb = skb_clone(_skb, GFP_ATOMIC); in tipc_crypto_clone_msg()
H A Dsocket.c1199 struct sk_buff *skb, *_skb; in tipc_sk_mcast_rcv() local
1250 _skb = __pskb_copy(skb, hlen, GFP_ATOMIC); in tipc_sk_mcast_rcv()
1251 if (_skb) { in tipc_sk_mcast_rcv()
1252 msg_set_destport(buf_msg(_skb), portid); in tipc_sk_mcast_rcv()
1253 __skb_queue_tail(&tmpq, _skb); in tipc_sk_mcast_rcv()
/kernel/linux/linux-6.6/net/rxrpc/
H A Dio_thread.c164 static bool rxrpc_input_packet(struct rxrpc_local *local, struct sk_buff **_skb) in rxrpc_input_packet() argument
170 struct sk_buff *skb = *_skb; in rxrpc_input_packet()
223 rxrpc_eaten_skb(*_skb, rxrpc_skb_eaten_by_unshare_nomem); in rxrpc_input_packet()
224 *_skb = NULL; in rxrpc_input_packet()
228 if (skb != *_skb) { in rxrpc_input_packet()
229 rxrpc_eaten_skb(*_skb, rxrpc_skb_eaten_by_unshare); in rxrpc_input_packet()
230 *_skb = skb; in rxrpc_input_packet()
/kernel/linux/linux-6.6/include/linux/soc/mediatek/
H A Dmtk_wed.h237 #define mtk_wed_device_ppe_check(_dev, _skb, _reason, _hash) \
238 (_dev)->ops->ppe_check(_dev, _skb, _reason, _hash)
259 #define mtk_wed_device_ppe_check(_dev, _skb, _reason, _hash) do {} while (0)
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
H A Dusb.c514 struct sk_buff *_skb; in _rtl_rx_pre_process() local
523 _skb = skb_dequeue(&rx_queue); in _rtl_rx_pre_process()
524 _rtl_usb_rx_process_agg(hw, _skb); in _rtl_rx_pre_process()
525 ieee80211_rx(hw, _skb); in _rtl_rx_pre_process()
765 struct sk_buff *_skb; in rtl_usb_cleanup() local
774 while ((_skb = skb_dequeue(&rtlusb->tx_skb_queue[i]))) { in rtl_usb_cleanup()
775 rtlusb->usb_tx_cleanup(hw, _skb); in rtl_usb_cleanup()
776 txinfo = IEEE80211_SKB_CB(_skb); in rtl_usb_cleanup()
779 ieee80211_tx_status_irqsafe(hw, _skb); in rtl_usb_cleanup()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/
H A Dusb.c494 struct sk_buff *_skb; in _rtl_rx_pre_process() local
503 _skb = skb_dequeue(&rx_queue); in _rtl_rx_pre_process()
504 _rtl_usb_rx_process_agg(hw, _skb); in _rtl_rx_pre_process()
505 ieee80211_rx(hw, _skb); in _rtl_rx_pre_process()
744 struct sk_buff *_skb; in rtl_usb_cleanup() local
753 while ((_skb = skb_dequeue(&rtlusb->tx_skb_queue[i]))) { in rtl_usb_cleanup()
754 rtlusb->usb_tx_cleanup(hw, _skb); in rtl_usb_cleanup()
755 txinfo = IEEE80211_SKB_CB(_skb); in rtl_usb_cleanup()
758 ieee80211_tx_status_irqsafe(hw, _skb); in rtl_usb_cleanup()
/kernel/linux/linux-5.10/drivers/net/ipvlan/
H A Dipvlan.h106 #define IPVL_SKB_CB(_skb) ((struct ipvl_skb_cb *)&((_skb)->cb[0]))
/kernel/linux/linux-6.6/drivers/net/ipvlan/
H A Dipvlan.h107 #define IPVL_SKB_CB(_skb) ((struct ipvl_skb_cb *)&((_skb)->cb[0]))

Completed in 43 milliseconds