Searched refs:el_item (Results 1 – 1 of 1) sorted by relevance
2455 struct mlxsw_event_listener_item *el_item; in __find_event_listener_item() local2457 list_for_each_entry(el_item, &mlxsw_core->event_listener_list, list) { in __find_event_listener_item()2458 if (__is_event_listener_equal(&el_item->el, el)) in __find_event_listener_item()2459 return el_item; in __find_event_listener_item()2469 struct mlxsw_event_listener_item *el_item; in mlxsw_core_event_listener_register() local2476 el_item = __find_event_listener_item(mlxsw_core, el); in mlxsw_core_event_listener_register()2477 if (el_item) in mlxsw_core_event_listener_register()2479 el_item = kmalloc(sizeof(*el_item), GFP_KERNEL); in mlxsw_core_event_listener_register()2480 if (!el_item) in mlxsw_core_event_listener_register()2482 el_item->mlxsw_core = mlxsw_core; in mlxsw_core_event_listener_register()[all …]