Searched refs:qlnx_rdma_dev_lock (Results 1 – 1 of 1) sorted by relevance
91 struct mtx qlnx_rdma_dev_lock; variable99 if (!mtx_initialized(&qlnx_rdma_dev_lock)) { in qlnx_rdma_init()100 mtx_init(&qlnx_rdma_dev_lock, "qlnx_rdma_dev_lock", NULL, MTX_DEF); in qlnx_rdma_init()108 if (mtx_initialized(&qlnx_rdma_dev_lock) && (qlnx_host_list == NULL)) { in qlnx_rdma_deinit()109 mtx_destroy(&qlnx_rdma_dev_lock); in qlnx_rdma_deinit()141 mtx_lock(&qlnx_rdma_dev_lock); in qlnx_rdma_dev_add()151 mtx_unlock(&qlnx_rdma_dev_lock); in qlnx_rdma_dev_add()200 mtx_lock(&qlnx_rdma_dev_lock); in qlnx_rdma_dev_remove()205 mtx_unlock(&qlnx_rdma_dev_lock); in qlnx_rdma_dev_remove()220 mtx_unlock(&qlnx_rdma_dev_lock); in qlnx_rdma_dev_remove()[all …]