Searched refs:trap_lock (Results 1 – 1 of 1) sorted by relevance
655 spinlock_t trap_lock; /* Protects trap_items_arr */ member791 spin_lock(&nsim_trap_data->trap_lock); in nsim_dev_trap_report()823 spin_unlock(&nsim_trap_data->trap_lock); in nsim_dev_trap_report()889 spin_lock_init(&nsim_trap_data->trap_lock); in nsim_dev_traps_init()1089 spin_lock(&nsim_dev->trap_data->trap_lock); in nsim_dev_devlink_trap_action_set()1091 spin_unlock(&nsim_dev->trap_data->trap_lock); in nsim_dev_devlink_trap_action_set()