Searched refs:trap_items_arr (Results 1 – 1 of 1) sorted by relevance
318 struct nsim_trap_item *trap_items_arr; member420 nsim_trap_item = &nsim_trap_data->trap_items_arr[i]; in nsim_dev_trap_report()481 nsim_trap_data->trap_items_arr = kcalloc(ARRAY_SIZE(nsim_traps_arr), in nsim_dev_traps_init()484 if (!nsim_trap_data->trap_items_arr) { in nsim_dev_traps_init()510 kfree(nsim_trap_data->trap_items_arr); in nsim_dev_traps_init()523 kfree(nsim_dev->trap_data->trap_items_arr); in nsim_dev_traps_exit()607 return &nsim_trap_data->trap_items_arr[i]; in nsim_dev_trap_item_lookup()