Searched refs:decap_tbl_lock (Results 1 – 3 of 3) sorted by relevance
461 if (!refcount_dec_and_mutex_lock(&d->refcnt, &esw->offloads.decap_tbl_lock)) in mlx5e_decap_put()464 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_decap_put()510 mutex_lock(&esw->offloads.decap_tbl_lock); in mlx5e_detach_decap()515 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_detach_decap()519 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_detach_decap()875 mutex_lock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()878 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()880 mutex_lock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()899 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()912 mutex_lock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()[all …]
245 struct mutex decap_tbl_lock; /* protects decap_tbl */ member
1579 mutex_init(&esw->offloads.decap_tbl_lock); in mlx5_eswitch_init()1634 mutex_destroy(&esw->offloads.decap_tbl_lock); in mlx5_eswitch_cleanup()