/kernel/linux/linux-5.10/net/phonet/ |
D | pep-gprs.c | 87 struct sk_buff *rskb, *fs; in gprs_recv() local 94 rskb = netdev_alloc_skb(dev, 0); in gprs_recv() 95 if (!rskb) { in gprs_recv() 99 skb_shinfo(rskb)->frag_list = skb; in gprs_recv() 100 rskb->len += skb->len; in gprs_recv() 101 rskb->data_len += rskb->len; in gprs_recv() 102 rskb->truesize += rskb->len; in gprs_recv() 113 skb = rskb; in gprs_recv()
|
D | af_phonet.c | 312 static int send_obj_unreachable(struct sk_buff *rskb) in send_obj_unreachable() argument 314 const struct phonethdr *oph = pn_hdr(rskb); in send_obj_unreachable() 315 const struct phonetmsg *opm = pn_msg(rskb); in send_obj_unreachable() 331 return pn_raw_send(&resp, sizeof(resp), rskb->dev, in send_obj_unreachable() 337 static int send_reset_indications(struct sk_buff *rskb) in send_reset_indications() argument 339 struct phonethdr *oph = pn_hdr(rskb); in send_reset_indications() 345 return pn_raw_send(data, sizeof(data), rskb->dev, in send_reset_indications()
|
D | pep.c | 1202 struct sk_buff *rskb, *fs; in pep_write() local 1208 rskb = alloc_skb(MAX_PNPIPE_HEADER, GFP_ATOMIC); in pep_write() 1209 if (!rskb) { in pep_write() 1213 skb_shinfo(rskb)->frag_list = skb; in pep_write() 1214 rskb->len += skb->len; in pep_write() 1215 rskb->data_len += rskb->len; in pep_write() 1216 rskb->truesize += rskb->len; in pep_write() 1227 skb_reserve(rskb, MAX_PHONET_HEADER + 3); in pep_write() 1228 return pipe_skb_send(sk, rskb); in pep_write()
|
/kernel/linux/linux-5.10/net/ethtool/ |
D | features.c | 163 struct sk_buff *rskb; in features_send_reply() local 181 rskb = ethnl_reply_init(reply_len, dev, ETHTOOL_MSG_FEATURES_SET_REPLY, in features_send_reply() 184 if (!rskb) in features_send_reply() 187 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_WANTED, wanted, in features_send_reply() 192 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_ACTIVE, active, in features_send_reply() 198 genlmsg_end(rskb, reply_payload); in features_send_reply() 199 ret = genlmsg_reply(rskb, info); in features_send_reply() 203 nlmsg_free(rskb); in features_send_reply()
|
D | tunnels.c | 167 struct sk_buff *rskb; in ethnl_tunnel_info_doit() local 185 rskb = ethnl_reply_init(reply_len, req_info.dev, in ethnl_tunnel_info_doit() 189 if (!rskb) { in ethnl_tunnel_info_doit() 194 ret = ethnl_tunnel_info_fill_reply(&req_info, rskb); in ethnl_tunnel_info_doit() 199 genlmsg_end(rskb, reply_payload); in ethnl_tunnel_info_doit() 201 return genlmsg_reply(rskb, info); in ethnl_tunnel_info_doit() 204 nlmsg_free(rskb); in ethnl_tunnel_info_doit()
|
D | netlink.c | 315 struct sk_buff *rskb; in ethnl_default_doit() local 348 rskb = ethnl_reply_init(reply_len, req_info->dev, ops->reply_cmd, in ethnl_default_doit() 350 if (!rskb) in ethnl_default_doit() 352 ret = ops->fill_reply(rskb, req_info, reply_data); in ethnl_default_doit() 358 genlmsg_end(rskb, reply_payload); in ethnl_default_doit() 363 return genlmsg_reply(rskb, info); in ethnl_default_doit() 367 nlmsg_free(rskb); in ethnl_default_doit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | fec_mpc52xx.c | 135 mpc52xx_fec_rx_submit(struct net_device *dev, struct sk_buff *rskb) in mpc52xx_fec_rx_submit() argument 142 bd->skb_pa = dma_map_single(dev->dev.parent, rskb->data, in mpc52xx_fec_rx_submit() 144 bcom_submit_next_buffer(priv->rx_dmatsk, rskb); in mpc52xx_fec_rx_submit() 385 struct sk_buff *rskb; /* received sk_buff */ in mpc52xx_fec_rx_interrupt() local 395 rskb = bcom_retrieve_buffer(priv->rx_dmatsk, &status, in mpc52xx_fec_rx_interrupt() 402 mpc52xx_fec_rx_submit(dev, rskb); in mpc52xx_fec_rx_interrupt() 413 mpc52xx_fec_rx_submit(dev, rskb); in mpc52xx_fec_rx_interrupt() 425 dma_unmap_single(dev->dev.parent, physaddr, rskb->len, in mpc52xx_fec_rx_interrupt() 428 skb_put(rskb, length - 4); /* length without CRC32 */ in mpc52xx_fec_rx_interrupt() 429 rskb->protocol = eth_type_trans(rskb, dev); in mpc52xx_fec_rx_interrupt() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 2374 mt7915_mcu_beacon_csa(struct sk_buff *rskb, struct sk_buff *skb, in mt7915_mcu_beacon_csa() argument 2382 tlv = mt7915_mcu_add_nested_subtlv(rskb, BSS_INFO_BCN_CSA, in mt7915_mcu_beacon_csa() 2391 mt7915_mcu_beacon_cont(struct mt7915_dev *dev, struct sk_buff *rskb, in mt7915_mcu_beacon_cont() argument 2401 tlv = mt7915_mcu_add_nested_subtlv(rskb, BSS_INFO_BCN_CONTENT, in mt7915_mcu_beacon_cont() 2426 struct sk_buff *skb, *rskb; in mt7915_mcu_add_beacon() local 2441 rskb = mt7915_mcu_alloc_sta_req(dev, mvif, NULL, len); in mt7915_mcu_add_beacon() 2442 if (IS_ERR(rskb)) { in mt7915_mcu_add_beacon() 2444 return PTR_ERR(rskb); in mt7915_mcu_add_beacon() 2447 tlv = mt7915_mcu_add_tlv(rskb, BSS_INFO_OFFLOAD, sizeof(*bcn)); in mt7915_mcu_add_beacon() 2457 mt7915_mcu_beacon_csa(rskb, skb, bcn, &offs); in mt7915_mcu_add_beacon() [all …]
|
/kernel/linux/linux-5.10/net/iucv/ |
D | af_iucv.c | 1246 struct sk_buff *skb, *rskb, *cskb; in iucv_sock_recvmsg() local 1325 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg() 1326 while (rskb) { in iucv_sock_recvmsg() 1327 IUCV_SKB_CB(rskb)->offset = 0; in iucv_sock_recvmsg() 1328 if (__sock_queue_rcv_skb(sk, rskb)) { in iucv_sock_recvmsg() 1331 rskb); in iucv_sock_recvmsg() 1334 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg()
|