Searched refs:ib_ctx (Results 1 – 1 of 1) sorted by relevance
36 static struct rtrs_srv_ib_ctx ib_ctx; variable2121 mutex_lock(&ib_ctx.ib_dev_mutex); in rtrs_srv_add_one()2122 if (ib_ctx.ib_dev_count) in rtrs_srv_add_one()2129 ctx = ib_ctx.srv_ctx; in rtrs_srv_add_one()2130 ret = rtrs_srv_rdma_init(ctx, ib_ctx.port); in rtrs_srv_add_one()2145 ib_ctx.ib_dev_count++; in rtrs_srv_add_one()2148 mutex_unlock(&ib_ctx.ib_dev_mutex); in rtrs_srv_add_one()2156 mutex_lock(&ib_ctx.ib_dev_mutex); in rtrs_srv_remove_one()2157 ib_ctx.ib_dev_count--; in rtrs_srv_remove_one()2159 if (ib_ctx.ib_dev_count) in rtrs_srv_remove_one()[all …]