Searched refs:nsim_traps_arr (Results 1 – 1 of 1) sorted by relevance
719 static const struct devlink_trap nsim_traps_arr[] = { variable792 for (i = 0; i < ARRAY_SIZE(nsim_traps_arr); i++) { in nsim_dev_trap_report()798 has_fa_cookie = nsim_traps_arr[i].metadata_cap & in nsim_dev_trap_report()869 nsim_trap_data->trap_items_arr = kcalloc(ARRAY_SIZE(nsim_traps_arr), in nsim_dev_traps_init()903 err = devl_traps_register(devlink, nsim_traps_arr, in nsim_dev_traps_init()904 ARRAY_SIZE(nsim_traps_arr), NULL); in nsim_dev_traps_init()936 devl_traps_unregister(devlink, nsim_traps_arr, in nsim_dev_traps_exit()937 ARRAY_SIZE(nsim_traps_arr)); in nsim_dev_traps_exit()1051 for (i = 0; i < ARRAY_SIZE(nsim_traps_arr); i++) { in nsim_dev_trap_item_lookup()1052 if (nsim_traps_arr[i].id == trap_id) in nsim_dev_trap_item_lookup()