Searched refs:ib_ctx (Results 1 – 1 of 1) sorted by relevance
31 static struct rtrs_srv_ib_ctx ib_ctx; variable2099 mutex_lock(&ib_ctx.ib_dev_mutex); in rtrs_srv_add_one()2100 if (ib_ctx.ib_dev_count) in rtrs_srv_add_one()2107 ctx = ib_ctx.srv_ctx; in rtrs_srv_add_one()2108 ret = rtrs_srv_rdma_init(ctx, ib_ctx.port); in rtrs_srv_add_one()2123 ib_ctx.ib_dev_count++; in rtrs_srv_add_one()2126 mutex_unlock(&ib_ctx.ib_dev_mutex); in rtrs_srv_add_one()2134 mutex_lock(&ib_ctx.ib_dev_mutex); in rtrs_srv_remove_one()2135 ib_ctx.ib_dev_count--; in rtrs_srv_remove_one()2137 if (ib_ctx.ib_dev_count) in rtrs_srv_remove_one()[all …]