Home
last modified time | relevance | path

Searched refs:rqbd (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dservice.c76 struct ptlrpc_request_buffer_desc *rqbd; in ptlrpc_alloc_rqbd() local
78 OBD_CPT_ALLOC_PTR(rqbd, svc->srv_cptable, svcpt->scp_cpt); in ptlrpc_alloc_rqbd()
79 if (rqbd == NULL) in ptlrpc_alloc_rqbd()
82 rqbd->rqbd_svcpt = svcpt; in ptlrpc_alloc_rqbd()
83 rqbd->rqbd_refcount = 0; in ptlrpc_alloc_rqbd()
84 rqbd->rqbd_cbid.cbid_fn = request_in_callback; in ptlrpc_alloc_rqbd()
85 rqbd->rqbd_cbid.cbid_arg = rqbd; in ptlrpc_alloc_rqbd()
86 INIT_LIST_HEAD(&rqbd->rqbd_reqs); in ptlrpc_alloc_rqbd()
87 OBD_CPT_ALLOC_LARGE(rqbd->rqbd_buffer, svc->srv_cptable, in ptlrpc_alloc_rqbd()
89 if (rqbd->rqbd_buffer == NULL) { in ptlrpc_alloc_rqbd()
[all …]
Devents.c285 struct ptlrpc_request_buffer_desc *rqbd = cbid->cbid_arg; in request_in_callback() local
286 struct ptlrpc_service_part *svcpt = rqbd->rqbd_svcpt; in request_in_callback()
292 LASSERT((char *)ev->md.start >= rqbd->rqbd_buffer); in request_in_callback()
294 rqbd->rqbd_buffer + service->srv_buf_size); in request_in_callback()
306 req = &rqbd->rqbd_req; in request_in_callback()
333 req->rq_rqbd = rqbd; in request_in_callback()
365 rqbd->rqbd_refcount++; in request_in_callback()
Dniobuf.c683 int ptlrpc_register_rqbd(struct ptlrpc_request_buffer_desc *rqbd) in ptlrpc_register_rqbd() argument
685 struct ptlrpc_service *service = rqbd->rqbd_svcpt->scp_service; in ptlrpc_register_rqbd()
702 rqbd->rqbd_svcpt->scp_cpt >= 0 ? in ptlrpc_register_rqbd()
709 LASSERT(rqbd->rqbd_refcount == 0); in ptlrpc_register_rqbd()
710 rqbd->rqbd_refcount = 1; in ptlrpc_register_rqbd()
712 md.start = rqbd->rqbd_buffer; in ptlrpc_register_rqbd()
717 md.user_ptr = &rqbd->rqbd_cbid; in ptlrpc_register_rqbd()
720 rc = LNetMDAttach(me_h, md, LNET_UNLINK, &rqbd->rqbd_md_h); in ptlrpc_register_rqbd()
728 rqbd->rqbd_refcount = 0; in ptlrpc_register_rqbd()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_net.h2339 int ptlrpc_register_rqbd(struct ptlrpc_request_buffer_desc *rqbd);