Home
last modified time | relevance | path

Searched refs:port_list (Results 1 – 25 of 77) sorted by relevance

1234

/linux-6.1.9/arch/um/drivers/
Dport_kern.c18 struct port_list { struct
31 struct port_list *port; argument
42 struct port_list *port;
76 static int port_accept(struct port_list *port) in port_accept()
130 struct port_list *port; in port_work_proc()
136 port = list_entry(ele, struct port_list, list); in port_work_proc()
151 struct port_list *port = data; in port_interrupt()
161 struct port_list *port; in port_data()
167 port = list_entry(ele, struct port_list, list); in port_data()
171 port = kmalloc(sizeof(struct port_list), GFP_KERNEL); in port_data()
[all …]
/linux-6.1.9/net/bridge/
Dbr_if.c155 list_for_each_entry(p, &br->port_list, list) { in br_manage_promisc()
218 list_for_each_entry(cur_p, &p->br->port_list, list) { in nbp_backup_clear()
235 list_for_each_entry(p, &br->port_list, list) { in nbp_update_port_count()
303 list_for_each_entry(p, &br->port_list, list) { in get_max_headroom()
317 list_for_each_entry(p, &br->port_list, list) in update_headroom()
384 list_for_each_entry_safe(p, n, &br->port_list, list) { in br_dev_delete()
410 list_for_each_entry(p, &br->port_list, list) in find_portno()
505 list_for_each_entry(p, &br->port_list, list) in br_mtu_min()
533 list_for_each_entry(p, &br->port_list, list) { in br_set_gso_limits()
550 if (list_empty(&br->port_list)) in br_features_recompute()
[all …]
Dbr_stp_if.c60 list_for_each_entry(p, &br->port_list, list) { in br_stp_enable_bridge()
74 list_for_each_entry(p, &br->port_list, list) { in br_stp_disable_bridge()
238 list_for_each_entry(p, &br->port_list, list) { in br_stp_change_bridge_id()
267 list_for_each_entry(p, &br->port_list, list) { in br_stp_recalculate_bridge_id()
290 list_for_each_entry(p, &br->port_list, list) { in br_stp_set_bridge_priority()
Dbr_stp.c92 list_for_each_entry_rcu(p, &br->port_list, list, in br_get_port()
172 list_for_each_entry(p, &br->port_list, list) { in br_root_selection()
322 list_for_each_entry(p, &br->port_list, list) { in br_designated_port_selection()
397 list_for_each_entry(p, &br->port_list, list) { in br_config_bpdu_generation()
475 list_for_each_entry(p, &br->port_list, list) { in br_port_state_selection()
Dbr_device.c270 list_for_each_entry(p, &br->port_list, list) { in br_get_link_ksettings()
309 list_for_each_entry(p, &br->port_list, list) in br_netpoll_cleanup()
346 list_for_each_entry(p, &br->port_list, list) { in br_netpoll_setup()
503 INIT_LIST_HEAD(&br->port_list); in br_dev_setup()
Dbr_mst.c172 list_for_each_entry(p, &mv->br->port_list, list) { in br_mst_vlan_set_msti()
206 list_for_each_entry(p, &br->port_list, list) { in br_mst_set_enabled()
/linux-6.1.9/drivers/infiniband/core/
Dagent.c49 struct list_head port_list; member
61 list_for_each_entry(entry, &ib_agent_port_list, port_list) { in __ib_get_agent_port()
186 list_add_tail(&port_priv->port_list, &ib_agent_port_list); in ib_agent_port_open()
212 list_del(&port_priv->port_list); in ib_agent_port_close()
/linux-6.1.9/samples/pktgen/
Dfunctions.sh311 local port_list
315 IFS="-" read -ra port_list <<< $port_str
317 min_port=${port_list[0]}
318 max_port=${port_list[1]:-$min_port}
/linux-6.1.9/drivers/soundwire/
Dstream.c275 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
283 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
383 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports()
392 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports()
557 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports()
566 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports()
886 static struct sdw_port_runtime *sdw_port_alloc(struct list_head *port_list) in sdw_port_alloc() argument
894 list_add_tail(&p_rt->port_node, port_list); in sdw_port_alloc()
921 return !list_empty(&s_rt->port_list); in sdw_slave_port_allocated()
937 &s_rt->port_list, port_node) { in sdw_slave_port_free()
[all …]
Dbus.h120 struct list_head port_list; member
142 struct list_head port_list; member
Dgeneric_bandwidth_allocation.c56 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_compute_slave_ports()
112 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_compute_master_ports()
125 if (!(p_rt == list_first_entry(&m_rt->port_list, in sdw_compute_master_ports()
/linux-6.1.9/drivers/net/ethernet/sun/
Dsunvnet.c125 list_for_each_entry_rcu(port, &vp->port_list, list) { in vnet_get_strings()
180 list_for_each_entry_rcu(port, &vp->port_list, list) { in vnet_get_ethtool_stats()
217 list_for_each_entry_rcu(port, &vp->port_list, list) { in __tx_port_find()
307 INIT_LIST_HEAD(&vp->port_list); in vnet_new()
376 BUG_ON(!list_empty(&vp->port_list)); in vnet_cleanup()
484 list_add_rcu(&port->list, &vp->port_list); in vnet_port_probe()
486 list_add_tail_rcu(&port->list, &vp->port_list); in vnet_port_probe()
Dldmvsw.c213 INIT_LIST_HEAD(&vp->port_list); in vsw_get_vnet()
360 list_add_rcu(&port->list, &vp->port_list); in vsw_port_probe()
441 if (!list_empty(&vp->port_list)) in vsw_cleanup()
/linux-6.1.9/drivers/net/team/
Dteam.c596 if (!list_empty(&team->port_list)) { in team_change_mode()
863 list_for_each_entry(port, &team->port_list, list) { in __team_queue_override_enabled_check()
924 list_for_each_entry(cur, &team->port_list, list) in team_port_find()
1001 list_for_each_entry_rcu(port, &team->port_list, list) { in __team_compute_features()
1286 list_add_tail_rcu(&port->list, &team->port_list); in team_port_add()
1639 INIT_LIST_HEAD(&team->port_list); in team_init()
1680 list_for_each_entry_safe(port, tmp, &team->port_list, list) in team_uninit()
1710 list_for_each_entry(port, &team->port_list, list) { in team_close()
1776 list_for_each_entry_rcu(port, &team->port_list, list) { in team_change_rx_flags()
1795 list_for_each_entry_rcu(port, &team->port_list, list) { in team_set_rx_mode()
[all …]
Dteam_mode_broadcast.c23 list_for_each_entry_rcu(cur, &team->port_list, list) { in bc_transmit()
/linux-6.1.9/include/linux/
Dif_team.h200 struct list_head port_list; /* list of all ports */ member
289 list_for_each_entry_continue_rcu(cur, &team->port_list, list) in team_get_first_port_txable_rcu()
292 list_for_each_entry_rcu(cur, &team->port_list, list) { in team_get_first_port_txable_rcu()
/linux-6.1.9/sound/soc/codecs/
Dhdac_hdmi.c101 struct list_head port_list; member
531 if (list_empty(&pcm->port_list)) in hdac_hdmi_get_port_from_cvt()
534 list_for_each_entry(port, &pcm->port_list, head) { in hdac_hdmi_get_port_from_cvt()
720 if (list_empty(&pcm->port_list)) in hdac_hdmi_get_pcm()
723 list_for_each_entry(p, &pcm->port_list, head) { in hdac_hdmi_get_pcm()
915 if (list_empty(&pcm->port_list)) in hdac_hdmi_set_pin_port_mux()
918 list_for_each_entry_safe(p, p_next, &pcm->port_list, head) { in hdac_hdmi_set_pin_port_mux()
933 list_add_tail(&port->head, &pcm->port_list); in hdac_hdmi_set_pin_port_mux()
1446 if (list_empty(&pcm->port_list)) { in hdac_hdmi_eld_ctl_info()
1454 list_for_each_entry(port, &pcm->port_list, head) { in hdac_hdmi_eld_ctl_info()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c41 struct list_head port_list; member
115 list_for_each_entry(br_port, &bridge->port_list, head) in __prestera_bridge_port_find()
221 list_for_each_entry(br_port, &bridge->port_list, head) { in prestera_bridge_vlan_port_count()
343 list_for_each_entry(br_port, &br_mdb->bridge->port_list, head) in prestera_br_mdb_entry_put()
467 INIT_LIST_HEAD(&bridge->port_list); in prestera_bridge_create()
487 WARN_ON(!list_empty(&bridge->port_list)); in prestera_bridge_destroy()
493 if (list_empty(&bridge->port_list)) in prestera_bridge_put()
516 list_for_each_entry(br_port, &bridge->port_list, head) { in __prestera_bridge_port_by_dev()
577 list_add(&br_port->head, &bridge->port_list); in prestera_bridge_port_create()
892 list_for_each_entry(pr_port, &sw->port_list, list) { in prestera_br_port_lag_mdb_mc_enable_sync()
[all …]
/linux-6.1.9/drivers/s390/scsi/
Dzfcp_ccw.c127 list_for_each_entry(port, &adapter->port_list, list) { in zfcp_ccw_remove()
132 list_splice_init(&adapter->port_list, &port_remove_lh); in zfcp_ccw_remove()
Dzfcp_aux.c196 list_for_each_entry(port, &adapter->port_list, list) in zfcp_get_port_by_wwpn()
394 INIT_LIST_HEAD(&adapter->port_list); in zfcp_adapter_enqueue()
559 list_add_tail(&port->list, &adapter->port_list); in zfcp_port_enqueue()
/linux-6.1.9/net/hsr/
Dhsr_slave.c189 list_add_tail_rcu(&port->port_list, &hsr->ports); in hsr_add_port()
210 list_del_rcu(&port->port_list); in hsr_del_port()
Dhsr_main.h160 struct list_head port_list; member
215 list_for_each_entry_rcu((port), &(hsr)->ports, port_list)
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_port.c213 list_add_tail(&port->port_list, &app->pf->ports); in nfp_port_alloc()
222 list_del(&port->port_list); in nfp_port_free()
/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_port_proxy.c316 struct list_head *port_list; in t7xx_port_proxy_find_port() local
321 port_list = &port_prox->rx_ch_ports[ch_id]; in t7xx_port_proxy_find_port()
322 list_for_each_entry(port, port_list, entry) { in t7xx_port_proxy_find_port()
/linux-6.1.9/drivers/net/netdevsim/
Ddev.c592 list_for_each_entry_safe(nsim_dev_port, tmp, &nsim_dev->port_list, list) in nsim_esw_legacy_enable()
617 list_for_each_entry_safe(nsim_dev_port, tmp, &nsim_dev->port_list, list) in nsim_esw_switchdev_enable()
849 list_for_each_entry(nsim_dev_port, &nsim_dev->port_list, list) { in nsim_dev_trap_report_work()
1410 list_add(&nsim_dev_port->list, &nsim_dev->port_list); in __nsim_dev_port_add()
1444 &nsim_dev->port_list, list) in nsim_dev_port_del_all()
1474 INIT_LIST_HEAD(&nsim_dev->port_list); in nsim_dev_reload_create()
1547 INIT_LIST_HEAD(&nsim_dev->port_list); in nsim_drv_probe()
1699 list_for_each_entry(nsim_dev_port, &nsim_dev->port_list, list) in __nsim_dev_port_lookup()

1234