Home
last modified time | relevance | path

Searched refs:_skb (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/net/tipc/
H A Dmsg.c256 bool tipc_msg_validate(struct sk_buff **_skb) in tipc_msg_validate() argument
258 struct sk_buff *skb = *_skb; in tipc_msg_validate()
267 kfree_skb(*_skb); in tipc_msg_validate()
268 *_skb = skb; in tipc_msg_validate()
315 struct sk_buff *_skb; in tipc_msg_fragment() local
335 _skb = tipc_buf_acquire(INT_H_SIZE + eat, GFP_ATOMIC); in tipc_msg_fragment()
336 if (!_skb) in tipc_msg_fragment()
338 skb_orphan(_skb); in tipc_msg_fragment()
339 __skb_queue_tail(frags, _skb); in tipc_msg_fragment()
341 skb_copy_to_linear_data(_skb, hdr, INT_H_SIZE); in tipc_msg_fragment()
[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()
324 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()
[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 = pskb_copy(skb, GFP_ATOMIC); in tipc_link_advance_transmq()
[all …]
H A Dudp_media.c263 struct sk_buff *_skb; in tipc_udp_send_msg() local
265 _skb = pskb_copy(skb, GFP_ATOMIC); in tipc_udp_send_msg()
266 if (!_skb) { in tipc_udp_send_msg()
271 err = tipc_udp_xmit(net, _skb, ub, src, &rcast->addr, in tipc_udp_send_msg()
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 Dbearer.c766 struct sk_buff *skb, *_skb; in tipc_clone_to_loopback() local
769 skb_queue_walk(pkts, _skb) { in tipc_clone_to_loopback()
770 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()
/openbmc/linux/net/rxrpc/
H A Dio_thread.c170 static bool rxrpc_input_packet(struct rxrpc_local *local, struct sk_buff **_skb) in rxrpc_input_packet() argument
176 struct sk_buff *skb = *_skb; in rxrpc_input_packet()
229 rxrpc_eaten_skb(*_skb, rxrpc_skb_eaten_by_unshare_nomem); in rxrpc_input_packet()
230 *_skb = NULL; in rxrpc_input_packet()
234 if (skb != *_skb) { in rxrpc_input_packet()
235 rxrpc_eaten_skb(*_skb, rxrpc_skb_eaten_by_unshare); in rxrpc_input_packet()
236 *_skb = skb; in rxrpc_input_packet()
/openbmc/linux/include/linux/soc/mediatek/
H A Dmtk_wed.h237 #define mtk_wed_device_ppe_check(_dev, _skb, _reason, _hash) \ argument
238 (_dev)->ops->ppe_check(_dev, _skb, _reason, _hash)
259 #define mtk_wed_device_ppe_check(_dev, _skb, _reason, _hash) do {} while (0) argument
/openbmc/linux/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()
739 struct sk_buff *_skb; in rtl_usb_cleanup() local
748 while ((_skb = skb_dequeue(&rtlusb->tx_skb_queue[i]))) { in rtl_usb_cleanup()
749 rtlusb->usb_tx_cleanup(hw, _skb); in rtl_usb_cleanup()
750 txinfo = IEEE80211_SKB_CB(_skb); in rtl_usb_cleanup()
753 ieee80211_tx_status_irqsafe(hw, _skb); in rtl_usb_cleanup()
/openbmc/linux/drivers/net/ipvlan/
H A Dipvlan.h107 #define IPVL_SKB_CB(_skb) ((struct ipvl_skb_cb *)&((_skb)->cb[0])) argument