Home
last modified time | relevance | path

Searched refs:rq_reqbuf (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/lustre/lustre/ptlrpc/
Dsec_null.c82 req->rq_reqbuf->lm_secflvr = SPTLRPC_FLVR_NULL; in null_ctx_sign()
87 null_encode_sec_part(req->rq_reqbuf, in null_ctx_sign()
160 if (!req->rq_reqbuf) { in null_alloc_reqbuf()
164 req->rq_reqbuf = libcfs_kvzalloc(alloc_size, GFP_NOFS); in null_alloc_reqbuf()
165 if (!req->rq_reqbuf) in null_alloc_reqbuf()
172 memset(req->rq_reqbuf, 0, msgsize); in null_alloc_reqbuf()
175 req->rq_reqmsg = req->rq_reqbuf; in null_alloc_reqbuf()
184 LASSERTF(req->rq_reqmsg == req->rq_reqbuf, in null_free_reqbuf()
186 req, req->rq_reqmsg, req->rq_reqbuf); in null_free_reqbuf()
191 kvfree(req->rq_reqbuf); in null_free_reqbuf()
[all …]
Dsec_plain.c193 struct lustre_msg *msg = req->rq_reqbuf; in plain_ctx_sign()
297 LASSERT(req->rq_reqbuf->lm_bufcount == PLAIN_PACK_SEGMENTS); in plain_cli_wrap_bulk()
299 bsd = lustre_msg_buf(req->rq_reqbuf, PLAIN_PACK_BULK_OFF, 0); in plain_cli_wrap_bulk()
341 LASSERT(req->rq_reqbuf->lm_bufcount == PLAIN_PACK_SEGMENTS); in plain_cli_unwrap_bulk()
558 if (!req->rq_reqbuf) { in plain_alloc_reqbuf()
562 req->rq_reqbuf = libcfs_kvzalloc(alloc_len, GFP_NOFS); in plain_alloc_reqbuf()
563 if (!req->rq_reqbuf) in plain_alloc_reqbuf()
570 memset(req->rq_reqbuf, 0, alloc_len); in plain_alloc_reqbuf()
573 lustre_init_msg_v2(req->rq_reqbuf, PLAIN_PACK_SEGMENTS, buflens, NULL); in plain_alloc_reqbuf()
574 req->rq_reqmsg = lustre_msg_buf(req->rq_reqbuf, PLAIN_PACK_MSG_OFF, 0); in plain_alloc_reqbuf()
[all …]
Dsec.c824 if (req->rq_pool || !req->rq_reqbuf) in sptlrpc_request_out_callback()
827 kvfree(req->rq_reqbuf); in sptlrpc_request_out_callback()
828 req->rq_reqbuf = NULL; in sptlrpc_request_out_callback()
897 LASSERT(req->rq_reqbuf || req->rq_clrbuf); in sptlrpc_cli_wrap_request()
1494 LASSERT(req->rq_reqbuf || req->rq_clrbuf); in sptlrpc_cli_alloc_reqbuf()
1518 if (req->rq_reqbuf == NULL && req->rq_clrbuf == NULL) in sptlrpc_cli_free_reqbuf()
1914 struct lustre_msg *msg = req->rq_reqbuf; in sptlrpc_svc_unwrap_request()
Dclient.c450 LASSERT(req->rq_reqbuf); in ptlrpc_free_rq_pool()
452 kvfree(req->rq_reqbuf); in ptlrpc_free_rq_pool()
491 req->rq_reqbuf = msg; in ptlrpc_add_rqs_to_pool()
566 LASSERT(request->rq_reqbuf); in ptlrpc_prep_req_from_pool()
569 reqbuf = request->rq_reqbuf; in ptlrpc_prep_req_from_pool()
571 request->rq_reqbuf = reqbuf; in ptlrpc_prep_req_from_pool()
2252 if (request->rq_reqbuf != NULL || request->rq_clrbuf != NULL) in __ptlrpc_free_req()
Dniobuf.c363 LASSERT(req->rq_reqbuf != NULL); in ptlrpc_send_reply()
644 request->rq_reqbuf, request->rq_reqdata_len, in ptl_send_rpc()
Devents.c327 req->rq_reqbuf = ev->md.start + ev->offset; in request_in_callback()
/drivers/staging/lustre/lustre/include/
Dlustre_net.h1400 struct lustre_msg *rq_reqbuf; /* req wrapper */ member