Searched refs:ib_ctx (Results 1 – 1 of 1) sorted by relevance
31 static struct rtrs_srv_ib_ctx ib_ctx; variable2116 mutex_lock(&ib_ctx.ib_dev_mutex); in rtrs_srv_add_one()2117 if (ib_ctx.ib_dev_count) in rtrs_srv_add_one()2124 ctx = ib_ctx.srv_ctx; in rtrs_srv_add_one()2125 ret = rtrs_srv_rdma_init(ctx, ib_ctx.port); in rtrs_srv_add_one()2140 ib_ctx.ib_dev_count++; in rtrs_srv_add_one()2143 mutex_unlock(&ib_ctx.ib_dev_mutex); in rtrs_srv_add_one()2151 mutex_lock(&ib_ctx.ib_dev_mutex); in rtrs_srv_remove_one()2152 ib_ctx.ib_dev_count--; in rtrs_srv_remove_one()2154 if (ib_ctx.ib_dev_count) in rtrs_srv_remove_one()[all …]