Home
last modified time | relevance | path

Searched refs:trap_policers_cnt_arr (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/netdevsim/
Ddev.c655 u64 *trap_policers_cnt_arr; member
880 nsim_trap_data->trap_policers_cnt_arr = kcalloc(policers_count, in nsim_dev_traps_init()
883 if (!nsim_trap_data->trap_policers_cnt_arr) { in nsim_dev_traps_init()
925 kfree(nsim_trap_data->trap_policers_cnt_arr); in nsim_dev_traps_init()
945 kfree(nsim_dev->trap_data->trap_policers_cnt_arr); in nsim_dev_traps_exit()
1143 cnt = &nsim_dev->trap_data->trap_policers_cnt_arr[policer->id - 1]; in nsim_dev_devlink_trap_policer_counter_get()