Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/bridge/
Dbr_if.c146 list_for_each_entry(p, &br->port_list, list) { in br_manage_promisc()
209 list_for_each_entry(cur_p, &p->br->port_list, list) { in nbp_backup_clear()
226 list_for_each_entry(p, &br->port_list, list) { in nbp_update_port_count()
294 list_for_each_entry(p, &br->port_list, list) { in get_max_headroom()
308 list_for_each_entry(p, &br->port_list, list) in update_headroom()
374 list_for_each_entry_safe(p, n, &br->port_list, list) { in br_dev_delete()
400 list_for_each_entry(p, &br->port_list, list) { in find_portno()
497 list_for_each_entry(p, &br->port_list, list) in br_mtu_min()
525 list_for_each_entry(p, &br->port_list, list) { in br_set_gso_limits()
542 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.c72 list_for_each_entry_rcu(p, &br->port_list, list, in br_get_port()
152 list_for_each_entry(p, &br->port_list, list) { in br_root_selection()
302 list_for_each_entry(p, &br->port_list, list) { in br_designated_port_selection()
377 list_for_each_entry(p, &br->port_list, list) { in br_config_bpdu_generation()
455 list_for_each_entry(p, &br->port_list, list) { in br_port_state_selection()
Dbr_device.c279 list_for_each_entry(p, &br->port_list, list) { in br_get_link_ksettings()
318 list_for_each_entry(p, &br->port_list, list) in br_netpoll_cleanup()
355 list_for_each_entry(p, &br->port_list, list) { in br_netpoll_setup()
462 INIT_LIST_HEAD(&br->port_list); in br_dev_setup()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/samples/pktgen/
Dfunctions.sh306 local port_list
310 IFS="-" read -ra port_list <<< $port_str
312 min_port=${port_list[0]}
313 max_port=${port_list[1]:-$min_port}
/kernel/linux/linux-5.10/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()
305 INIT_LIST_HEAD(&vp->port_list); in vnet_new()
374 BUG_ON(!list_empty(&vp->port_list)); in vnet_cleanup()
483 list_add_rcu(&port->list, &vp->port_list); in vnet_port_probe()
485 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()
364 list_add_rcu(&port->list, &vp->port_list); in vsw_port_probe()
447 if (!list_empty(&vp->port_list)) in vsw_cleanup()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_port.c88 list_for_each_entry(port, &pf->ports, port_list) in nfp_port_from_id()
230 list_add_tail(&port->port_list, &app->pf->ports); in nfp_port_alloc()
239 list_del(&port->port_list); in nfp_port_free()
/kernel/linux/linux-5.10/drivers/net/team/
Dteam.c595 if (!list_empty(&team->port_list)) { in team_change_mode()
857 list_for_each_entry(port, &team->port_list, list) { in __team_queue_override_enabled_check()
918 list_for_each_entry(cur, &team->port_list, list) in team_port_find()
995 list_for_each_entry_rcu(port, &team->port_list, list) { in __team_compute_features()
1279 list_add_tail_rcu(&port->list, &team->port_list); in team_port_add()
1630 INIT_LIST_HEAD(&team->port_list); in team_init()
1671 list_for_each_entry_safe(port, tmp, &team->port_list, list) in team_uninit()
1759 list_for_each_entry_rcu(port, &team->port_list, list) { in team_change_rx_flags()
1778 list_for_each_entry_rcu(port, &team->port_list, list) { in team_set_rx_mode()
1795 list_for_each_entry(port, &team->port_list, list) in team_set_mac_address()
[all …]
Dteam_mode_broadcast.c23 list_for_each_entry_rcu(cur, &team->port_list, list) { in bc_transmit()
Dteam_mode_activebackup.c84 list_for_each_entry(port, &team->port_list, list) { in ab_active_port_set()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c56 list_for_each_entry(tmp, &sw->port_list, list) { in prestera_port_find_by_hwid()
72 list_for_each_entry(tmp, &sw->port_list, list) { in prestera_find_port()
268 list_add(&port->list, &port->sw->port_list); in prestera_port_list_add()
401 list_for_each_entry_safe(port, tmp, &sw->port_list, list) in prestera_destroy_ports()
420 list_for_each_entry_safe(port, tmp, &sw->port_list, list) in prestera_create_ports()
567 INIT_LIST_HEAD(&sw->port_list); in prestera_switch_init()
Dprestera_switchdev.c41 struct list_head port_list; member
120 list_for_each_entry(br_port, &bridge->port_list, head) { in prestera_bridge_vlan_port_count()
260 INIT_LIST_HEAD(&bridge->port_list); in prestera_bridge_create()
278 WARN_ON(!list_empty(&bridge->port_list)); in prestera_bridge_destroy()
284 if (list_empty(&bridge->port_list)) in prestera_bridge_put()
307 list_for_each_entry(br_port, &bridge->port_list, head) { in __prestera_bridge_port_by_dev()
350 list_add(&br_port->head, &bridge->port_list); in prestera_bridge_port_create()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/soundwire/
Dstream.c271 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
279 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
379 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports()
388 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports()
547 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports()
556 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports()
948 INIT_LIST_HEAD(&m_rt->port_list); in sdw_alloc_master_rt()
983 INIT_LIST_HEAD(&s_rt->port_list); in sdw_alloc_slave_rt()
996 list_for_each_entry_safe(p_rt, _p_rt, &m_rt->port_list, port_node) { in sdw_master_port_release()
1016 &s_rt->port_list, port_node) { in sdw_slave_port_release()
[all …]
Dbus.h118 struct list_head port_list; member
140 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()
126 if (!(p_rt == list_first_entry(&m_rt->port_list, in sdw_compute_master_ports()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/hsr/
Dhsr_slave.c187 list_add_tail_rcu(&port->port_list, &hsr->ports); in hsr_add_port()
208 list_del_rcu(&port->port_list); in hsr_del_port()
Dhsr_main.h169 struct list_head port_list; member
228 list_for_each_entry_rcu((port), &(hsr)->ports, port_list)
/kernel/linux/linux-5.10/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()
384 INIT_LIST_HEAD(&adapter->port_list); in zfcp_adapter_enqueue()
538 list_add_tail(&port->list, &adapter->port_list); in zfcp_port_enqueue()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Ddev.c601 list_for_each_entry(nsim_dev_port, &nsim_dev->port_list, list) { in nsim_dev_trap_report_work()
944 list_add(&nsim_dev_port->list, &nsim_dev->port_list); in __nsim_dev_port_add()
975 &nsim_dev->port_list, list) in nsim_dev_port_del_all()
1006 INIT_LIST_HEAD(&nsim_dev->port_list); in nsim_dev_reload_create()
1067 INIT_LIST_HEAD(&nsim_dev->port_list); in nsim_dev_probe()
1187 list_for_each_entry(nsim_dev_port, &nsim_dev->port_list, list) in __nsim_dev_port_lookup()

123