Searched refs:rq_cli_ctx (Results 1 – 3 of 3) sorted by relevance
358 LASSERT(!req->rq_cli_ctx); in sptlrpc_req_get_ctx()365 req->rq_cli_ctx = get_my_ctx(sec); in sptlrpc_req_get_ctx()369 if (!req->rq_cli_ctx) { in sptlrpc_req_get_ctx()389 LASSERT(req->rq_cli_ctx); in sptlrpc_req_put_ctx()395 spin_lock(&req->rq_cli_ctx->cc_lock); in sptlrpc_req_put_ctx()397 spin_unlock(&req->rq_cli_ctx->cc_lock); in sptlrpc_req_put_ctx()400 sptlrpc_cli_ctx_put(req->rq_cli_ctx, sync); in sptlrpc_req_put_ctx()401 req->rq_cli_ctx = NULL; in sptlrpc_req_put_ctx()438 req->rq_cli_ctx = oldctx; in sptlrpc_req_ctx_switch()441 req->rq_cli_ctx = newctx; in sptlrpc_req_ctx_switch()[all …]
601 request->rq_cli_ctx = sptlrpc_cli_ctx_get(ctx); in __ptlrpc_request_bufs_pack()654 sptlrpc_cli_ctx_put(request->rq_cli_ctx, 1); in __ptlrpc_request_bufs_pack()2255 if (request->rq_cli_ctx) in __ptlrpc_free_req()
1367 struct ptlrpc_cli_ctx *rq_cli_ctx; /**< client's half ctx */ member