/openbmc/linux/net/hsr/ |
H A D | hsr_netlink.c | 278 struct sk_buff *skb_out; in hsr_get_node_status() local 309 skb_out = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_get_node_status() 310 if (!skb_out) { in hsr_get_node_status() 315 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_status() 323 res = nla_put_u32(skb_out, HSR_A_IFINDEX, hsr_dev->ifindex); in hsr_get_node_status() 340 res = nla_put(skb_out, HSR_A_NODE_ADDR, ETH_ALEN, in hsr_get_node_status() 346 res = nla_put(skb_out, HSR_A_NODE_ADDR_B, ETH_ALEN, in hsr_get_node_status() 351 res = nla_put_u32(skb_out, HSR_A_ADDR_B_IFINDEX, in hsr_get_node_status() 357 res = nla_put_u32(skb_out, HSR_A_IF1_AGE, hsr_node_if1_age); in hsr_get_node_status() 360 res = nla_put_u16(skb_out, HSR_A_IF1_SEQ, hsr_node_if1_seq); in hsr_get_node_status() [all …]
|
/openbmc/linux/net/batman-adv/ |
H A D | fragmentation.c | 252 struct sk_buff *skb_out; in batadv_frag_merge_packets() local 261 skb_out = entry->skb; in batadv_frag_merge_packets() 264 packet = (struct batadv_frag_packet *)skb_out->data; in batadv_frag_merge_packets() 268 if (pskb_expand_head(skb_out, 0, size - skb_out->len, GFP_ATOMIC) < 0) { in batadv_frag_merge_packets() 269 kfree_skb(skb_out); in batadv_frag_merge_packets() 270 skb_out = NULL; in batadv_frag_merge_packets() 278 skb_pull(skb_out, hdr_size); in batadv_frag_merge_packets() 279 skb_out->ip_summed = CHECKSUM_NONE; in batadv_frag_merge_packets() 280 memmove(skb_out->data - ETH_HLEN, skb_mac_header(skb_out), ETH_HLEN); in batadv_frag_merge_packets() 281 skb_set_mac_header(skb_out, -ETH_HLEN); in batadv_frag_merge_packets() [all …]
|
/openbmc/linux/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 96 struct sk_buff *skb_out; in gdm_lte_emulate_arp() local 155 skb_out = dev_alloc_skb(skb_in->len); in gdm_lte_emulate_arp() 156 if (!skb_out) in gdm_lte_emulate_arp() 158 skb_reserve(skb_out, NET_IP_ALIGN); in gdm_lte_emulate_arp() 160 skb_put_data(skb_out, mac_header_data, mac_header_len); in gdm_lte_emulate_arp() 161 skb_put_data(skb_out, arp_out, sizeof(struct arphdr)); in gdm_lte_emulate_arp() 162 skb_put_data(skb_out, arp_data_out, sizeof(struct arpdata)); in gdm_lte_emulate_arp() 164 skb_out->protocol = ((struct ethhdr *)mac_header_data)->h_proto; in gdm_lte_emulate_arp() 165 skb_out->dev = skb_in->dev; in gdm_lte_emulate_arp() 166 skb_reset_mac_header(skb_out); in gdm_lte_emulate_arp() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | cdc_ncm.c | 1211 struct sk_buff *skb_out; in cdc_ncm_fill_tx_frame() local 1237 skb_out = ctx->tx_curr_skb; in cdc_ncm_fill_tx_frame() 1240 if (!skb_out) { in cdc_ncm_fill_tx_frame() 1243 skb_out = alloc_skb(ctx->tx_curr_size, GFP_ATOMIC); in cdc_ncm_fill_tx_frame() 1249 if (skb_out == NULL) { in cdc_ncm_fill_tx_frame() 1258 if (skb_out == NULL) { in cdc_ncm_fill_tx_frame() 1268 skb_out = alloc_skb(ctx->tx_curr_size, GFP_ATOMIC); in cdc_ncm_fill_tx_frame() 1271 if (!skb_out) in cdc_ncm_fill_tx_frame() 1277 nth.nth16 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame() 1283 nth.nth32 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth32)); in cdc_ncm_fill_tx_frame() [all …]
|
H A D | cdc_mbim.c | 223 struct sk_buff *skb_out; in cdc_mbim_tx_fixup() local 294 skb_out = cdc_ncm_fill_tx_frame(dev, skb, sign); in cdc_mbim_tx_fixup() 296 return skb_out; in cdc_mbim_tx_fixup()
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_net.c | 350 int skb_out = atomic_dec_return(&qp->skb_out); in rxe_skb_tx_dtor() local 353 skb_out < RXE_INFLIGHT_SKBS_PER_QP_LOW)) in rxe_skb_tx_dtor() 367 atomic_inc(&pkt->qp->skb_out); in rxe_send()
|
H A D | rxe_verbs.h | 237 atomic_t skb_out; member
|
H A D | rxe_req.c | 753 if (unlikely(atomic_read(&qp->skb_out) > in rxe_requester()
|
H A D | rxe_qp.c | 183 atomic_set(&qp->skb_out, 0); in rxe_qp_init_misc()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_rx.c | 213 goto skb_out; in rx_alloc_pkts() 221 goto skb_out; in rx_alloc_pkts() 229 skb_out: in rx_alloc_pkts()
|
/openbmc/linux/net/key/ |
H A D | af_key.c | 2758 struct sk_buff *skb_out; in key_notify_policy_flush() local 2761 skb_out = alloc_skb(sizeof(struct sadb_msg) + 16, GFP_ATOMIC); in key_notify_policy_flush() 2762 if (!skb_out) in key_notify_policy_flush() 2764 hdr = skb_put(skb_out, sizeof(struct sadb_msg)); in key_notify_policy_flush() 2773 pfkey_broadcast(skb_out, GFP_ATOMIC, BROADCAST_ALL, NULL, c->net); in key_notify_policy_flush()
|