Home
last modified time | relevance | path

Searched refs:el_item (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c2469 struct mlxsw_event_listener_item *el_item; in __find_event_listener_item() local
2471 list_for_each_entry(el_item, &mlxsw_core->event_listener_list, list) { in __find_event_listener_item()
2472 if (__is_event_listener_equal(&el_item->el, el)) in __find_event_listener_item()
2473 return el_item; in __find_event_listener_item()
2483 struct mlxsw_event_listener_item *el_item; in mlxsw_core_event_listener_register() local
2490 el_item = __find_event_listener_item(mlxsw_core, el); in mlxsw_core_event_listener_register()
2491 if (el_item) in mlxsw_core_event_listener_register()
2493 el_item = kmalloc(sizeof(*el_item), GFP_KERNEL); in mlxsw_core_event_listener_register()
2494 if (!el_item) in mlxsw_core_event_listener_register()
2496 el_item->mlxsw_core = mlxsw_core; in mlxsw_core_event_listener_register()
[all …]