Home
last modified time | relevance | path

Searched refs:rcv (Results 1 - 25 of 90) sorted by relevance

1234

/kernel/linux/linux-5.10/net/can/
H A Daf_can.c446 struct receiver *rcv; in can_rx_register() local
460 rcv = kmem_cache_alloc(rcv_cache, GFP_KERNEL); in can_rx_register()
461 if (!rcv) in can_rx_register()
469 rcv->can_id = can_id; in can_rx_register()
470 rcv->mask = mask; in can_rx_register()
471 rcv->matches = 0; in can_rx_register()
472 rcv->func = func; in can_rx_register()
473 rcv->data = data; in can_rx_register()
474 rcv->ident = ident; in can_rx_register()
475 rcv in can_rx_register()
492 struct receiver *rcv = container_of(rp, struct receiver, rcu); can_rx_delete_receiver() local
516 struct receiver *rcv = NULL; can_rx_unregister() local
572 deliver(struct sk_buff *skb, struct receiver *rcv) deliver() argument
580 struct receiver *rcv; can_rcv_filter() local
[all...]
/kernel/linux/linux-6.6/net/can/
H A Daf_can.c445 struct receiver *rcv; in can_rx_register() local
458 rcv = kmem_cache_alloc(rcv_cache, GFP_KERNEL); in can_rx_register()
459 if (!rcv) in can_rx_register()
467 rcv->can_id = can_id; in can_rx_register()
468 rcv->mask = mask; in can_rx_register()
469 rcv->matches = 0; in can_rx_register()
470 rcv->func = func; in can_rx_register()
471 rcv->data = data; in can_rx_register()
472 rcv->ident = ident; in can_rx_register()
473 rcv in can_rx_register()
490 struct receiver *rcv = container_of(rp, struct receiver, rcu); can_rx_delete_receiver() local
514 struct receiver *rcv = NULL; can_rx_unregister() local
570 deliver(struct sk_buff *skb, struct receiver *rcv) deliver() argument
578 struct receiver *rcv; can_rcv_filter() local
[all...]
/kernel/linux/linux-5.10/drivers/net/plip/
H A Dplip.c338 struct plip_local *rcv,
347 struct plip_local *snd, struct plip_local *rcv);
364 struct plip_local *rcv = &nl->rcv_data; in plip_bh() local
370 if ((r = (*f)(nl->dev, nl, snd, rcv)) != OK && in plip_bh()
371 (r = plip_bh_timeout_error(nl->dev, nl, snd, rcv, r)) != OK) { in plip_bh()
395 struct plip_local *snd, struct plip_local *rcv, in plip_bh_timeout_error()
428 if (rcv->state == PLIP_PK_TRIGGER) { in plip_bh_timeout_error()
441 dev->name, rcv->state, c0); in plip_bh_timeout_error()
445 rcv->state = PLIP_PK_DONE; in plip_bh_timeout_error()
446 if (rcv in plip_bh_timeout_error()
394 plip_bh_timeout_error(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv, int error) plip_bh_timeout_error() argument
469 plip_none(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_none() argument
581 plip_receive_packet(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_receive_packet() argument
749 plip_send_packet(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_send_packet() argument
868 plip_connection_close(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_connection_close() argument
886 plip_error(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_error() argument
915 struct plip_local *rcv; plip_interrupt() local
1123 struct plip_local *rcv = &nl->rcv_data; plip_close() local
[all...]
/kernel/linux/linux-6.6/drivers/net/plip/
H A Dplip.c344 struct plip_local *rcv,
353 struct plip_local *snd, struct plip_local *rcv);
370 struct plip_local *rcv = &nl->rcv_data; in plip_bh() local
376 if ((r = (*f)(nl->dev, nl, snd, rcv)) != OK && in plip_bh()
377 (r = plip_bh_timeout_error(nl->dev, nl, snd, rcv, r)) != OK) { in plip_bh()
401 struct plip_local *snd, struct plip_local *rcv, in plip_bh_timeout_error()
434 if (rcv->state == PLIP_PK_TRIGGER) { in plip_bh_timeout_error()
447 dev->name, rcv->state, c0); in plip_bh_timeout_error()
451 rcv->state = PLIP_PK_DONE; in plip_bh_timeout_error()
452 if (rcv in plip_bh_timeout_error()
400 plip_bh_timeout_error(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv, int error) plip_bh_timeout_error() argument
475 plip_none(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_none() argument
588 plip_receive_packet(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_receive_packet() argument
756 plip_send_packet(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_send_packet() argument
876 plip_connection_close(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_connection_close() argument
894 plip_error(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv) plip_error() argument
923 struct plip_local *rcv; plip_interrupt() local
1131 struct plip_local *rcv = &nl->rcv_data; plip_close() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Drxtimestamp.c175 bool do_recv(int rcv, int read_size, struct tstamps expected) in do_recv() argument
198 r = recvmsg(rcv, &hdr, flags); in do_recv()
254 void config_so_flags(int rcv, struct options o) in config_so_flags() argument
258 if (setsockopt(rcv, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) in config_so_flags()
262 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMP, in config_so_flags()
267 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPNS, in config_so_flags()
272 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPING, in config_so_flags()
286 int src, dst, rcv, port; in run_test_case() local
326 rcv = accept(dst, NULL, NULL); in run_test_case()
327 if (rcv < in run_test_case()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Drxtimestamp.c175 bool do_recv(int rcv, int read_size, struct tstamps expected) in do_recv() argument
198 r = recvmsg(rcv, &hdr, flags); in do_recv()
254 void config_so_flags(int rcv, struct options o) in config_so_flags() argument
258 if (setsockopt(rcv, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) in config_so_flags()
262 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMP, in config_so_flags()
267 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPNS, in config_so_flags()
272 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPING, in config_so_flags()
286 int src, dst, rcv, port; in run_test_case() local
326 rcv = accept(dst, NULL, NULL); in run_test_case()
327 if (rcv < in run_test_case()
[all...]
/kernel/linux/linux-5.10/net/llc/
H A Dllc_input.c167 int (*rcv)(struct sk_buff *, struct net_device *, in llc_rcv()
198 rcv = rcu_dereference(sap->rcv_func); in llc_rcv()
202 if (rcv) in llc_rcv()
203 rcv(skb, dev, pt, orig_dev); in llc_rcv()
207 if (rcv) { in llc_rcv()
210 rcv(cskb, dev, pt, orig_dev); in llc_rcv()
/kernel/linux/linux-6.6/net/llc/
H A Dllc_input.c167 int (*rcv)(struct sk_buff *, struct net_device *, in llc_rcv()
198 rcv = rcu_dereference(sap->rcv_func); in llc_rcv()
202 if (rcv) in llc_rcv()
203 rcv(skb, dev, pt, orig_dev); in llc_rcv()
207 if (rcv) { in llc_rcv()
210 rcv(cskb, dev, pt, orig_dev); in llc_rcv()
/kernel/linux/linux-5.10/drivers/net/
H A Dveth.c288 struct net_device *rcv; in veth_xmit() local
294 rcv = rcu_dereference(priv->peer); in veth_xmit()
295 if (unlikely(!rcv) || !pskb_may_pull(skb, ETH_HLEN)) { in veth_xmit()
300 rcv_priv = netdev_priv(rcv); in veth_xmit()
302 if (rxq < rcv->real_num_rx_queues) { in veth_xmit()
308 if (likely(veth_forward_skb(rcv, skb, rq, rcv_xdp) == NET_RX_SUCCESS)) { in veth_xmit()
437 struct net_device *rcv; in veth_xdp_xmit() local
445 rcv = rcu_dereference(priv->peer); in veth_xdp_xmit()
446 if (unlikely(!rcv)) in veth_xdp_xmit()
449 rcv_priv = netdev_priv(rcv); in veth_xdp_xmit()
529 struct net_device *rcv; veth_xdp_flush() local
[all...]
/kernel/linux/linux-5.10/net/dsa/
H A Dtag_ksz.c80 .rcv = ksz8795_rcv,
152 .rcv = ksz9477_rcv,
186 .rcv = ksz9477_rcv,
H A Dtag_brcm.c189 .rcv = brcm_tag_rcv,
217 .rcv = brcm_tag_rcv_prepend,
H A Dtag_trailer.c57 .rcv = trailer_rcv,
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c483 char rcv[256] = "0"; in test_sockmap_skb_verdict_peek() local
509 recvd = recv(c1, rcv, sizeof(rcv), MSG_PEEK); in test_sockmap_skb_verdict_peek()
510 ASSERT_EQ(recvd, sizeof(rcv), "recv(c1)"); in test_sockmap_skb_verdict_peek()
514 recvd = recv(c1, rcv, sizeof(rcv), 0); in test_sockmap_skb_verdict_peek()
515 ASSERT_EQ(recvd, sizeof(rcv), "recv(p0)"); in test_sockmap_skb_verdict_peek()
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dicom.c93 u32 RcvStatusAddr; /* 1B0-1B3 Status Address for Next rcv */
244 } rcv[NUM_RBUFFS]; member
508 stgAddr = stgAddr + sizeof(icom_port->statStg->rcv[0]); in get_port_memory()
509 icom_port->statStg->rcv[index].leLength = 0; in get_port_memory()
510 icom_port->statStg->rcv[index].WorkingLength = in get_port_memory()
514 icom_port->statStg->rcv[index].leNext = in get_port_memory()
518 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
522 icom_port->statStg->rcv[index].leNext = in get_port_memory()
526 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
529 icom_port->statStg->rcv[inde in get_port_memory()
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A Dveth.c335 const struct net_device *rcv, in veth_skb_is_eligible_for_gro()
340 rcv->features & (NETIF_F_GRO_FRAGLIST | NETIF_F_GRO_UDP_FWD)); in veth_skb_is_eligible_for_gro()
348 struct net_device *rcv; in veth_xmit() local
354 rcv = rcu_dereference(priv->peer); in veth_xmit()
355 if (unlikely(!rcv) || !pskb_may_pull(skb, ETH_HLEN)) { in veth_xmit()
360 rcv_priv = netdev_priv(rcv); in veth_xmit()
362 if (rxq < rcv->real_num_rx_queues) { in veth_xmit()
370 veth_skb_is_eligible_for_gro(dev, rcv, skb); in veth_xmit()
374 if (likely(veth_forward_skb(rcv, skb, rq, use_napi) == NET_RX_SUCCESS)) { in veth_xmit()
479 struct net_device *rcv; in veth_xdp_xmit() local
334 veth_skb_is_eligible_for_gro(const struct net_device *dev, const struct net_device *rcv, const struct sk_buff *skb) veth_skb_is_eligible_for_gro() argument
572 struct net_device *rcv; veth_xdp_flush() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dicom.c249 stgAddr = stgAddr + sizeof(icom_port->statStg->rcv[0]); in get_port_memory()
250 icom_port->statStg->rcv[index].leLength = 0; in get_port_memory()
251 icom_port->statStg->rcv[index].WorkingLength = in get_port_memory()
255 icom_port->statStg->rcv[index].leNext = in get_port_memory()
259 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
263 icom_port->statStg->rcv[index].leNext = in get_port_memory()
267 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
270 icom_port->statStg->rcv[index].leNext = 0; in get_port_memory()
271 icom_port->statStg->rcv[index].leBuffer = 0; in get_port_memory()
740 status = cpu_to_le16(icom_port->statStg->rcv[rcv_buf in recv_interrupt()
[all...]
/kernel/linux/linux-6.6/net/dsa/
H A Dtag_brcm.c207 .rcv = brcm_tag_rcv,
289 .rcv = brcm_leg_tag_rcv,
316 .rcv = brcm_tag_rcv_prepend,
H A Dtag_rtl8_4.c234 .rcv = rtl8_4_tag_rcv,
247 .rcv = rtl8_4t_tag_rcv,
H A Dtag_ksz.c151 .rcv = ksz8795_rcv,
321 .rcv = ksz9477_rcv,
366 .rcv = ksz9477_rcv,
384 * For rcv, 1/5 bytes is added before FCS.
436 .rcv = ksz9477_rcv,
H A Dtag_ocelot.c193 .rcv = ocelot_rcv,
205 .rcv = ocelot_rcv,
H A Dtag_dsa.c348 .rcv = dsa_rcv,
390 .rcv = edsa_rcv,
/kernel/linux/linux-5.10/drivers/edac/
H A Di7core_edac.c1585 u32 rcv[3][2]; in i7core_rdimm_check_mc_ecc_err() local
1590 &rcv[0][0]); in i7core_rdimm_check_mc_ecc_err()
1592 &rcv[0][1]); in i7core_rdimm_check_mc_ecc_err()
1594 &rcv[1][0]); in i7core_rdimm_check_mc_ecc_err()
1596 &rcv[1][1]); in i7core_rdimm_check_mc_ecc_err()
1598 &rcv[2][0]); in i7core_rdimm_check_mc_ecc_err()
1600 &rcv[2][1]); in i7core_rdimm_check_mc_ecc_err()
1603 (i * 2), rcv[i][0], (i * 2) + 1, rcv[i][1]); in i7core_rdimm_check_mc_ecc_err()
1606 new0 = DIMM_BOT_COR_ERR(rcv[ in i7core_rdimm_check_mc_ecc_err()
[all...]
/kernel/linux/linux-6.6/drivers/edac/
H A Di7core_edac.c1585 u32 rcv[3][2]; in i7core_rdimm_check_mc_ecc_err() local
1590 &rcv[0][0]); in i7core_rdimm_check_mc_ecc_err()
1592 &rcv[0][1]); in i7core_rdimm_check_mc_ecc_err()
1594 &rcv[1][0]); in i7core_rdimm_check_mc_ecc_err()
1596 &rcv[1][1]); in i7core_rdimm_check_mc_ecc_err()
1598 &rcv[2][0]); in i7core_rdimm_check_mc_ecc_err()
1600 &rcv[2][1]); in i7core_rdimm_check_mc_ecc_err()
1603 (i * 2), rcv[i][0], (i * 2) + 1, rcv[i][1]); in i7core_rdimm_check_mc_ecc_err()
1606 new0 = DIMM_BOT_COR_ERR(rcv[ in i7core_rdimm_check_mc_ecc_err()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dstp.h7 void (*rcv)(const struct stp_proto *, struct sk_buff *, member
/kernel/linux/linux-6.6/include/net/
H A Dstp.h9 void (*rcv)(const struct stp_proto *, struct sk_buff *, member

Completed in 24 milliseconds

1234