Searched refs:ib_ctx (Results 1 – 1 of 1) sorted by relevance
33 static struct rtrs_srv_ib_ctx ib_ctx; variable2104 mutex_lock(&ib_ctx.ib_dev_mutex); in rtrs_srv_add_one()2105 if (ib_ctx.ib_dev_count) in rtrs_srv_add_one()2112 ctx = ib_ctx.srv_ctx; in rtrs_srv_add_one()2113 ret = rtrs_srv_rdma_init(ctx, ib_ctx.port); in rtrs_srv_add_one()2128 ib_ctx.ib_dev_count++; in rtrs_srv_add_one()2131 mutex_unlock(&ib_ctx.ib_dev_mutex); in rtrs_srv_add_one()2139 mutex_lock(&ib_ctx.ib_dev_mutex); in rtrs_srv_remove_one()2140 ib_ctx.ib_dev_count--; in rtrs_srv_remove_one()2142 if (ib_ctx.ib_dev_count) in rtrs_srv_remove_one()[all …]