Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/netdevsim/
Ddev.c320 spinlock_t trap_lock; /* Protects trap_items_arr */ member
415 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()