Home
last modified time | relevance | path

Searched refs:rq_cli_ctx (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dsec.c399 LASSERT(!req->rq_cli_ctx); in sptlrpc_req_get_ctx()
406 req->rq_cli_ctx = get_my_ctx(sec); in sptlrpc_req_get_ctx()
410 if (!req->rq_cli_ctx) { in sptlrpc_req_get_ctx()
430 LASSERT(req->rq_cli_ctx); in sptlrpc_req_put_ctx()
436 spin_lock(&req->rq_cli_ctx->cc_lock); in sptlrpc_req_put_ctx()
438 spin_unlock(&req->rq_cli_ctx->cc_lock); in sptlrpc_req_put_ctx()
441 sptlrpc_cli_ctx_put(req->rq_cli_ctx, sync); in sptlrpc_req_put_ctx()
442 req->rq_cli_ctx = NULL; in sptlrpc_req_put_ctx()
479 req->rq_cli_ctx = oldctx; in sptlrpc_req_ctx_switch()
482 req->rq_cli_ctx = newctx; in sptlrpc_req_ctx_switch()
[all …]
Dclient.c587 request->rq_cli_ctx = sptlrpc_cli_ctx_get(ctx); in __ptlrpc_request_bufs_pack()
640 sptlrpc_cli_ctx_put(request->rq_cli_ctx, 1); in __ptlrpc_request_bufs_pack()
2279 if (request->rq_cli_ctx) in __ptlrpc_free_req()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_net.h1373 struct ptlrpc_cli_ctx *rq_cli_ctx; /**< client's half ctx */ member