nsim_traps_arr 349 drivers/net/netdevsim/dev.c static const struct devlink_trap nsim_traps_arr[] = { nsim_traps_arr 416 drivers/net/netdevsim/dev.c for (i = 0; i < ARRAY_SIZE(nsim_traps_arr); i++) { nsim_traps_arr 481 drivers/net/netdevsim/dev.c nsim_trap_data->trap_items_arr = kcalloc(ARRAY_SIZE(nsim_traps_arr), nsim_traps_arr 497 drivers/net/netdevsim/dev.c err = devlink_traps_register(devlink, nsim_traps_arr, nsim_traps_arr 498 drivers/net/netdevsim/dev.c ARRAY_SIZE(nsim_traps_arr), NULL); nsim_traps_arr 521 drivers/net/netdevsim/dev.c devlink_traps_unregister(devlink, nsim_traps_arr, nsim_traps_arr 522 drivers/net/netdevsim/dev.c ARRAY_SIZE(nsim_traps_arr)); nsim_traps_arr 605 drivers/net/netdevsim/dev.c for (i = 0; i < ARRAY_SIZE(nsim_traps_arr); i++) { nsim_traps_arr 606 drivers/net/netdevsim/dev.c if (nsim_traps_arr[i].id == trap_id)