Searched refs:trap_lock (Results 1 – 1 of 1) sorted by relevance
320 spinlock_t trap_lock; /* Protects trap_items_arr */ member415 spin_lock(&nsim_trap_data->trap_lock); in nsim_dev_trap_report()440 spin_unlock(&nsim_trap_data->trap_lock); in nsim_dev_trap_report()493 spin_lock_init(&nsim_trap_data->trap_lock); in nsim_dev_traps_init()642 spin_lock(&nsim_dev->trap_data->trap_lock); in nsim_dev_devlink_trap_action_set()644 spin_unlock(&nsim_dev->trap_data->trap_lock); in nsim_dev_devlink_trap_action_set()