Searched refs:ports_list (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_pgt.c | 18 struct list_head ports_list; member 104 list_for_each_entry(pgt_entry_port, &pgt_entry->ports_list, list) { in mlxsw_sp_pgt_entry_port_lookup() 129 INIT_LIST_HEAD(&pgt_entry->ports_list); in mlxsw_sp_pgt_entry_create() 142 WARN_ON(!list_empty(&pgt_entry->ports_list)); in mlxsw_sp_pgt_entry_destroy() 171 if (list_empty(&pgt_entry->ports_list)) in mlxsw_sp_pgt_entry_put() 224 list_add(&pgt_entry_port->list, &pgt_entry->ports_list); in mlxsw_sp_pgt_entry_port_create()
|
H A D | spectrum_switchdev.c | 50 struct list_head ports_list; member 116 struct list_head ports_list; member 277 INIT_LIST_HEAD(&bridge_device->ports_list); in mlxsw_sp_bridge_device_create() 328 WARN_ON(!list_empty(&bridge_device->ports_list)); in mlxsw_sp_bridge_device_destroy() 352 if (list_empty(&bridge_device->ports_list)) in mlxsw_sp_bridge_device_put() 362 list_for_each_entry(bridge_port, &bridge_device->ports_list, list) { in __mlxsw_sp_bridge_port_find() 497 list_add(&bridge_port->list, &bridge_device->ports_list); in mlxsw_sp_bridge_port_create() 1070 list_for_each_entry(bridge_port, &bridge_device->ports_list, list) { in mlxsw_sp_port_mc_disabled_set() 1084 &bridge_device->ports_list, list) { in mlxsw_sp_port_mc_disabled_set() 1103 list_for_each_entry(mdb_entry_port, &mdb_entry->ports_list, list) { in mlxsw_sp_mdb_entry_port_lookup() [all …]
|
/linux/drivers/parport/ |
H A D | parport_pc.c | 2022 static LIST_HEAD(ports_list); 2252 list_add(&priv->list, &ports_list); in __parport_pc_probe_port() 3390 while (!list_empty(&ports_list)) { in parport_pc_exit() 3394 priv = list_entry(ports_list.next, in parport_pc_exit()
|