/kernel/linux/linux-5.10/drivers/dma/ioat/ |
H A D | dma.c | 80 dev_err(to_dev(ioat_chan), "Err(%d): %s\n", in ioat_print_chanerrs() 177 dev_dbg(to_dev(ioat_chan), in __ioat_issue_pending() 213 dev_err(to_dev(ioat_chan), in __ioat_start_null_desc() 218 dev_dbg(to_dev(ioat_chan), in __ioat_start_null_desc() 256 dev_dbg(to_dev(ioat_chan), in __ioat_restart_chan() 317 dev_dbg(to_dev(ioat_chan), "%s: cookie: %d\n", __func__, cookie); 391 descs->virt = dma_alloc_coherent(to_dev(ioat_chan), in ioat_alloc_ring() 398 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring() 420 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring() 472 dev_dbg(to_dev(ioat_cha [all...] |
H A D | prep.c | 279 struct device *dev = to_dev(ioat_chan); in dump_pq_desc_dbg() 306 struct device *dev = to_dev(ioat_chan); in dump_pq16_desc_dbg() 358 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq_lock() 480 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq16_lock() 507 dev_err(to_dev(ioat_chan), in __ioat_prep_pq16_lock()
|
H A D | dma.h | 23 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) macro 223 struct device *dev = to_dev(ioat_chan); in __dump_desc_dbg()
|
H A D | sysfs.c | 88 dev_warn(to_dev(ioat_chan), in ioat_kobject_add()
|
/kernel/linux/linux-6.6/drivers/dma/ioat/ |
H A D | dma.c | 80 dev_err(to_dev(ioat_chan), "Err(%d): %s\n", in ioat_print_chanerrs() 177 dev_dbg(to_dev(ioat_chan), in __ioat_issue_pending() 213 dev_err(to_dev(ioat_chan), in __ioat_start_null_desc() 218 dev_dbg(to_dev(ioat_chan), in __ioat_start_null_desc() 256 dev_dbg(to_dev(ioat_chan), in __ioat_restart_chan() 317 dev_dbg(to_dev(ioat_chan), "%s: cookie: %d\n", __func__, cookie); 391 descs->virt = dma_alloc_coherent(to_dev(ioat_chan), in ioat_alloc_ring() 398 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring() 420 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring() 472 dev_dbg(to_dev(ioat_cha [all...] |
H A D | prep.c | 279 struct device *dev = to_dev(ioat_chan); in dump_pq_desc_dbg() 306 struct device *dev = to_dev(ioat_chan); in dump_pq16_desc_dbg() 358 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq_lock() 480 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq16_lock() 507 dev_err(to_dev(ioat_chan), in __ioat_prep_pq16_lock()
|
H A D | dma.h | 23 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) macro 222 struct device *dev = to_dev(ioat_chan); in __dump_desc_dbg()
|
H A D | sysfs.c | 88 dev_warn(to_dev(ioat_chan), in ioat_kobject_add()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.h | 41 const struct net_device *to_dev; member 55 const struct net_device *to_dev; member 64 bool (*can_handle)(const struct net_device *to_dev); 66 const struct net_device *to_dev, 79 const struct net_device *to_dev);
|
H A D | spectrum_span.c | 140 const struct net_device *to_dev, in mlxsw_sp1_span_entry_cpu_parms() 169 const struct net_device *to_dev, in mlxsw_sp_span_entry_phys_parms() 172 sparmsp->dest_port = netdev_priv(to_dev); in mlxsw_sp_span_entry_phys_parms() 411 mlxsw_sp_span_gretap4_route(const struct net_device *to_dev, in mlxsw_sp_span_gretap4_route() argument 414 struct ip_tunnel *tun = netdev_priv(to_dev); in mlxsw_sp_span_gretap4_route() 423 parms = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_gretap4_route() 449 const struct net_device *to_dev, in mlxsw_sp_span_entry_gretap4_parms() 452 struct ip_tunnel_parm tparm = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_entry_gretap4_parms() 460 if (!(to_dev->flags & IFF_UP) || in mlxsw_sp_span_entry_gretap4_parms() 469 l3edev = mlxsw_sp_span_gretap4_route(to_dev, in mlxsw_sp_span_entry_gretap4_parms() 139 mlxsw_sp1_span_entry_cpu_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp1_span_entry_cpu_parms() argument 168 mlxsw_sp_span_entry_phys_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_phys_parms() argument 448 mlxsw_sp_span_entry_gretap4_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_gretap4_parms() argument 519 mlxsw_sp_span_gretap6_route(const struct net_device *to_dev, struct in6_addr *saddrp, struct in6_addr *daddrp) mlxsw_sp_span_gretap6_route() argument 552 mlxsw_sp_span_entry_gretap6_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_gretap6_parms() argument 629 mlxsw_sp_span_entry_vlan_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_vlan_parms() argument 697 mlxsw_sp2_span_entry_cpu_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp2_span_entry_cpu_parms() argument 747 mlxsw_sp_span_entry_nop_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_nop_parms() argument 848 mlxsw_sp_span_entry_create(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, const struct mlxsw_sp_span_entry_ops *ops, struct mlxsw_sp_span_parms sparms) mlxsw_sp_span_entry_create() argument 894 mlxsw_sp_span_entry_find_by_port(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev) mlxsw_sp_span_entry_find_by_port() argument 930 mlxsw_sp_span_entry_find_by_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, const struct mlxsw_sp_span_parms *sparms) mlxsw_sp_span_entry_find_by_parms() argument 948 mlxsw_sp_span_entry_get(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, const struct mlxsw_sp_span_entry_ops *ops, struct mlxsw_sp_span_parms sparms) mlxsw_sp_span_entry_get() argument 1012 mlxsw_sp_span_entry_ops(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev) mlxsw_sp_span_entry_ops() argument 1067 const struct net_device *to_dev = parms->to_dev; mlxsw_sp_span_agent_get() local [all...] |
H A D | spectrum_matchall.c | 35 if (!mall_entry->mirror.to_dev) { in mlxsw_sp_mall_port_mirror_add() 40 agent_parms.to_dev = mall_entry->mirror.to_dev; in mlxsw_sp_mall_port_mirror_add() 238 mall_entry->mirror.to_dev = act->dev; in mlxsw_sp_mall_replace()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.h | 56 const struct net_device *to_dev; member 71 const struct net_device *to_dev; member 80 bool (*can_handle)(const struct net_device *to_dev); 82 const struct net_device *to_dev, 95 const struct net_device *to_dev);
|
H A D | spectrum_span.c | 140 const struct net_device *to_dev, in mlxsw_sp1_span_entry_cpu_parms() 169 const struct net_device *to_dev, in mlxsw_sp_span_entry_phys_parms() 172 sparmsp->dest_port = netdev_priv(to_dev); in mlxsw_sp_span_entry_phys_parms() 412 mlxsw_sp_span_gretap4_route(const struct net_device *to_dev, in mlxsw_sp_span_gretap4_route() argument 415 struct ip_tunnel *tun = netdev_priv(to_dev); in mlxsw_sp_span_gretap4_route() 424 parms = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_gretap4_route() 426 0, 0, dev_net(to_dev), parms.link, tun->fwmark, 0, in mlxsw_sp_span_gretap4_route() 451 const struct net_device *to_dev, in mlxsw_sp_span_entry_gretap4_parms() 454 struct ip_tunnel_parm tparm = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_entry_gretap4_parms() 462 if (!(to_dev in mlxsw_sp_span_entry_gretap4_parms() 139 mlxsw_sp1_span_entry_cpu_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp1_span_entry_cpu_parms() argument 168 mlxsw_sp_span_entry_phys_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_phys_parms() argument 450 mlxsw_sp_span_entry_gretap4_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_gretap4_parms() argument 521 mlxsw_sp_span_gretap6_route(const struct net_device *to_dev, struct in6_addr *saddrp, struct in6_addr *daddrp) mlxsw_sp_span_gretap6_route() argument 554 mlxsw_sp_span_entry_gretap6_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_gretap6_parms() argument 631 mlxsw_sp_span_entry_vlan_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_vlan_parms() argument 699 mlxsw_sp2_span_entry_cpu_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp2_span_entry_cpu_parms() argument 749 mlxsw_sp_span_entry_nop_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) mlxsw_sp_span_entry_nop_parms() argument 850 mlxsw_sp_span_entry_create(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, const struct mlxsw_sp_span_entry_ops *ops, struct mlxsw_sp_span_parms sparms) mlxsw_sp_span_entry_create() argument 896 mlxsw_sp_span_entry_find_by_port(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev) mlxsw_sp_span_entry_find_by_port() argument 932 mlxsw_sp_span_entry_find_by_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, const struct mlxsw_sp_span_parms *sparms) mlxsw_sp_span_entry_find_by_parms() argument 951 mlxsw_sp_span_entry_get(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, const struct mlxsw_sp_span_entry_ops *ops, struct mlxsw_sp_span_parms sparms) mlxsw_sp_span_entry_get() argument 1015 mlxsw_sp_span_entry_ops(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev) mlxsw_sp_span_entry_ops() argument 1070 const struct net_device *to_dev = parms->to_dev; mlxsw_sp_span_agent_get() local [all...] |
H A D | spectrum_matchall.c | 36 if (!mall_entry->mirror.to_dev) { in mlxsw_sp_mall_port_mirror_add() 41 agent_parms.to_dev = mall_entry->mirror.to_dev; in mlxsw_sp_mall_port_mirror_add() 271 mall_entry->mirror.to_dev = act->dev; in mlxsw_sp_mall_replace() 418 .to_dev = NULL, /* Mirror to CPU. */ in mlxsw_sp2_mall_sample_add()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_sample.bpf.c | 207 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() 214 idx_out = to_dev->ifindex; in BPF_PROG() 238 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() 246 idx_out = to_dev->ifindex; in BPF_PROG() 206 BPF_PROG(tp_xdp_devmap_xmit, const struct net_device *from_dev, const struct net_device *to_dev, int sent, int drops, int err) BPF_PROG() argument 237 BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, const struct net_device *to_dev, int sent, int drops, int err) BPF_PROG() argument
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
H A D | btt.c | 27 static struct device *to_dev(struct arena_info *arena) in to_dev() function 68 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write() 70 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write() 100 dev_err_ratelimited(to_dev(arena), in __btt_map_write() 141 dev_err_ratelimited(to_dev(arena), in btt_map_write() 159 dev_err_ratelimited(to_dev(arena), in btt_map_read() 340 dev_err(to_dev(arena), in btt_log_read() 423 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512), in btt_map_init() 429 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_map_init() 467 dev_WARN_ONCE(to_dev(aren in btt_log_init() [all...] |
H A D | pmem.c | 33 static struct device *to_dev(struct pmem_device *pmem) in to_dev() function 44 return to_nd_region(to_dev(pmem)->parent); in to_region() 74 struct device *dev = to_dev(pmem); in pmem_clear_poison()
|
/kernel/linux/linux-6.6/drivers/nvdimm/ |
H A D | btt.c | 27 static struct device *to_dev(struct arena_info *arena) in to_dev() function 68 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write() 70 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write() 100 dev_err_ratelimited(to_dev(arena), in __btt_map_write() 141 dev_err_ratelimited(to_dev(arena), in btt_map_write() 159 dev_err_ratelimited(to_dev(arena), in btt_map_read() 340 dev_err(to_dev(arena), in btt_log_read() 423 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512), in btt_map_init() 429 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_map_init() 467 dev_WARN_ONCE(to_dev(aren in btt_log_init() [all...] |
H A D | pmem.c | 35 static struct device *to_dev(struct pmem_device *pmem) in to_dev() function 46 return to_nd_region(to_dev(pmem)->parent); in to_region() 102 long cleared = nvdimm_clear_poison(to_dev(pmem), phys, len); in __pmem_clear_poison()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
H A D | mirror_lib.sh | 7 local to_dev=$1; shift 12 action mirred egress mirror dev $to_dev
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | mirror_lib.sh | 7 local to_dev=$1; shift 12 action mirred egress mirror dev $to_dev
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | xdp.h | 258 const struct net_device *to_dev, 261 TP_ARGS(from_dev, to_dev, sent, drops, err), 275 __entry->to_ifindex = to_dev->ifindex;
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | xdp.h | 271 const struct net_device *to_dev, 274 TP_ARGS(from_dev, to_dev, sent, drops, err), 288 __entry->to_ifindex = to_dev->ifindex;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_crat.c | 355 struct kfd_topology_device *dev, *to_dev; in kfd_parse_subtype_iolink() local 406 to_dev = kfd_topology_device_by_proximity_domain(id_to); in kfd_parse_subtype_iolink() 407 if (!to_dev) in kfd_parse_subtype_iolink() 417 to_dev->io_link_count++; in kfd_parse_subtype_iolink() 418 to_dev->node_props.io_links_count++; in kfd_parse_subtype_iolink() 419 list_add_tail(&props2->list, &to_dev->io_link_props); in kfd_parse_subtype_iolink()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | core_kern.c | 44 *from_dev, const struct net_device *to_dev, int sent, int drops, in BPF_PROG() 43 BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, const struct net_device *to_dev, int sent, int drops, int err) BPF_PROG() argument
|