Searched refs:prestera_trap_items_arr (Results 1 – 1 of 1) sorted by relevance
183 static struct prestera_trap prestera_trap_items_arr[] = { variable468 const u32 traps_count = ARRAY_SIZE(prestera_trap_items_arr); in prestera_devlink_traps_register()496 prestera_trap = &prestera_trap_items_arr[i]; in prestera_devlink_traps_register()507 prestera_trap = &prestera_trap_items_arr[i]; in prestera_devlink_traps_register()527 prestera_trap = &prestera_trap_items_arr[i]; in prestera_get_trap_item_by_cpu_code()557 for (i = 0; i < ARRAY_SIZE(prestera_trap_items_arr); i++) { in prestera_devlink_trap_item_lookup()558 if (prestera_trap_items_arr[i].trap.id == trap_id) in prestera_devlink_trap_item_lookup()611 for (i = 0; i < ARRAY_SIZE(prestera_trap_items_arr); ++i) { in prestera_devlink_traps_unregister()612 trap = &prestera_trap_items_arr[i].trap; in prestera_devlink_traps_unregister()