/linux-6.3-rc2/net/phonet/ |
A D | pep-gprs.c | 89 struct sk_buff *rskb, *fs; in gprs_recv() local 96 rskb = netdev_alloc_skb(dev, 0); in gprs_recv() 97 if (!rskb) { in gprs_recv() 101 skb_shinfo(rskb)->frag_list = skb; in gprs_recv() 102 rskb->len += skb->len; in gprs_recv() 103 rskb->data_len += rskb->len; in gprs_recv() 104 rskb->truesize += rskb->len; in gprs_recv() 115 skb = rskb; in gprs_recv()
|
A D | af_phonet.c | 311 static int send_obj_unreachable(struct sk_buff *rskb) in send_obj_unreachable() argument 313 const struct phonethdr *oph = pn_hdr(rskb); in send_obj_unreachable() 314 const struct phonetmsg *opm = pn_msg(rskb); in send_obj_unreachable() 330 return pn_raw_send(&resp, sizeof(resp), rskb->dev, in send_obj_unreachable() 336 static int send_reset_indications(struct sk_buff *rskb) in send_reset_indications() argument 338 struct phonethdr *oph = pn_hdr(rskb); in send_reset_indications() 344 return pn_raw_send(data, sizeof(data), rskb->dev, in send_reset_indications()
|
A D | pep.c | 1203 struct sk_buff *rskb, *fs; in pep_write() local 1209 rskb = alloc_skb(MAX_PNPIPE_HEADER, GFP_ATOMIC); in pep_write() 1210 if (!rskb) { in pep_write() 1214 skb_shinfo(rskb)->frag_list = skb; in pep_write() 1215 rskb->len += skb->len; in pep_write() 1216 rskb->data_len += rskb->len; in pep_write() 1217 rskb->truesize += rskb->len; in pep_write() 1228 skb_reserve(rskb, MAX_PHONET_HEADER + 3); in pep_write() 1229 return pipe_skb_send(sk, rskb); in pep_write()
|
/linux-6.3-rc2/net/ethtool/ |
A D | features.c | 162 struct sk_buff *rskb; in features_send_reply() local 180 rskb = ethnl_reply_init(reply_len, dev, ETHTOOL_MSG_FEATURES_SET_REPLY, in features_send_reply() 183 if (!rskb) in features_send_reply() 186 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_WANTED, wanted, in features_send_reply() 191 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_ACTIVE, active, in features_send_reply() 197 genlmsg_end(rskb, reply_payload); in features_send_reply() 198 ret = genlmsg_reply(rskb, info); in features_send_reply() 202 nlmsg_free(rskb); in features_send_reply()
|
A D | tunnels.c | 169 struct sk_buff *rskb; in ethnl_tunnel_info_doit() local 187 rskb = ethnl_reply_init(reply_len, req_info.dev, in ethnl_tunnel_info_doit() 191 if (!rskb) { in ethnl_tunnel_info_doit() 196 ret = ethnl_tunnel_info_fill_reply(&req_info, rskb); in ethnl_tunnel_info_doit() 201 genlmsg_end(rskb, reply_payload); in ethnl_tunnel_info_doit() 203 return genlmsg_reply(rskb, info); in ethnl_tunnel_info_doit() 206 nlmsg_free(rskb); in ethnl_tunnel_info_doit()
|
A D | netlink.c | 377 struct sk_buff *rskb; in ethnl_default_doit() local 412 rskb = ethnl_reply_init(reply_len + ethnl_reply_header_size(), in ethnl_default_doit() 415 if (!rskb) in ethnl_default_doit() 417 hdr_len = rskb->len; in ethnl_default_doit() 418 ret = ops->fill_reply(rskb, req_info, reply_data); in ethnl_default_doit() 421 WARN_ONCE(rskb->len - hdr_len > reply_len, in ethnl_default_doit() 423 cmd, reply_len, rskb->len - hdr_len); in ethnl_default_doit() 427 genlmsg_end(rskb, reply_payload); in ethnl_default_doit() 431 return genlmsg_reply(rskb, info); in ethnl_default_doit() 435 nlmsg_free(rskb); in ethnl_default_doit()
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/ |
A D | fec_mpc52xx.c | 144 bd->skb_pa = dma_map_single(dev->dev.parent, rskb->data, in mpc52xx_fec_rx_submit() 146 bcom_submit_next_buffer(priv->rx_dmatsk, rskb); in mpc52xx_fec_rx_submit() 387 struct sk_buff *rskb; /* received sk_buff */ in mpc52xx_fec_rx_interrupt() local 397 rskb = bcom_retrieve_buffer(priv->rx_dmatsk, &status, in mpc52xx_fec_rx_interrupt() 404 mpc52xx_fec_rx_submit(dev, rskb); in mpc52xx_fec_rx_interrupt() 415 mpc52xx_fec_rx_submit(dev, rskb); in mpc52xx_fec_rx_interrupt() 427 dma_unmap_single(dev->dev.parent, physaddr, rskb->len, in mpc52xx_fec_rx_interrupt() 430 skb_put(rskb, length - 4); /* length without CRC32 */ in mpc52xx_fec_rx_interrupt() 431 rskb->protocol = eth_type_trans(rskb, dev); in mpc52xx_fec_rx_interrupt() 432 if (!skb_defer_rx_timestamp(rskb)) in mpc52xx_fec_rx_interrupt() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | mcu.c | 1845 struct sk_buff *rskb, struct sk_buff *skb, in mt7915_mcu_beacon_cont() argument 1958 struct sk_buff *rskb, struct bss_info_bcn *bcn, in mt7915_mcu_beacon_inband_discov() argument 1999 if (len > (MT7915_MAX_BSS_OFFLOAD_SIZE - rskb->len)) { in mt7915_mcu_beacon_inband_discov() 2032 struct sk_buff *skb, *rskb; in mt7915_mcu_add_beacon() local 2043 if (IS_ERR(rskb)) in mt7915_mcu_add_beacon() 2044 return PTR_ERR(rskb); in mt7915_mcu_add_beacon() 2068 mt7915_mcu_beacon_cntdwn(vif, rskb, skb, bcn, &offs); in mt7915_mcu_add_beacon() 2069 mt7915_mcu_beacon_mbss(rskb, skb, vif, bcn, &offs); in mt7915_mcu_add_beacon() 2070 mt7915_mcu_beacon_cont(dev, vif, rskb, skb, bcn, &offs); in mt7915_mcu_add_beacon() 2075 mt7915_mcu_beacon_inband_discov(dev, vif, rskb, in mt7915_mcu_add_beacon() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7996/ |
A D | mcu.c | 1889 struct sk_buff *rskb, struct sk_buff *skb, in mt7996_mcu_beacon_cont() argument 2018 struct sk_buff *skb, *rskb; in mt7996_mcu_add_beacon() local 2024 if (IS_ERR(rskb)) in mt7996_mcu_add_beacon() 2025 return PTR_ERR(rskb); in mt7996_mcu_add_beacon() 2027 tlv = mt7996_mcu_add_uni_tlv(rskb, in mt7996_mcu_add_beacon() 2052 mt7996_mcu_beacon_cntdwn(vif, rskb, skb, &offs); in mt7996_mcu_add_beacon() 2055 return mt76_mcu_skb_send_msg(&phy->dev->mt76, rskb, in mt7996_mcu_add_beacon() 2072 struct sk_buff *rskb, *skb = NULL; in mt7996_mcu_beacon_inband_discov() local 2078 if (IS_ERR(rskb)) in mt7996_mcu_beacon_inband_discov() 2079 return PTR_ERR(rskb); in mt7996_mcu_beacon_inband_discov() [all …]
|
/linux-6.3-rc2/net/iucv/ |
A D | af_iucv.c | 1227 struct sk_buff *skb, *rskb, *cskb; in iucv_sock_recvmsg() local 1306 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg() 1307 while (rskb) { in iucv_sock_recvmsg() 1308 IUCV_SKB_CB(rskb)->offset = 0; in iucv_sock_recvmsg() 1309 if (__sock_queue_rcv_skb(sk, rskb)) { in iucv_sock_recvmsg() 1312 rskb); in iucv_sock_recvmsg() 1315 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg()
|