Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_kvdl.c12 struct mutex kvdl_lock; /* Protects kvdl allocations */ member
27 mutex_init(&kvdl->kvdl_lock); in mlxsw_sp_kvdl_init()
37 mutex_destroy(&kvdl->kvdl_lock); in mlxsw_sp_kvdl_init()
47 mutex_destroy(&kvdl->kvdl_lock); in mlxsw_sp_kvdl_fini()
58 mutex_lock(&kvdl->kvdl_lock); in mlxsw_sp_kvdl_alloc()
61 mutex_unlock(&kvdl->kvdl_lock); in mlxsw_sp_kvdl_alloc()
72 mutex_lock(&kvdl->kvdl_lock); in mlxsw_sp_kvdl_free()
75 mutex_unlock(&kvdl->kvdl_lock); in mlxsw_sp_kvdl_free()