Searched refs:rqbd (Results 1 – 4 of 4) sorted by relevance
75 struct ptlrpc_request_buffer_desc *rqbd; in ptlrpc_alloc_rqbd() local77 rqbd = kzalloc_node(sizeof(*rqbd), GFP_NOFS, in ptlrpc_alloc_rqbd()80 if (rqbd == NULL) in ptlrpc_alloc_rqbd()83 rqbd->rqbd_svcpt = svcpt; in ptlrpc_alloc_rqbd()84 rqbd->rqbd_refcount = 0; in ptlrpc_alloc_rqbd()85 rqbd->rqbd_cbid.cbid_fn = request_in_callback; in ptlrpc_alloc_rqbd()86 rqbd->rqbd_cbid.cbid_arg = rqbd; in ptlrpc_alloc_rqbd()87 INIT_LIST_HEAD(&rqbd->rqbd_reqs); in ptlrpc_alloc_rqbd()88 rqbd->rqbd_buffer = libcfs_kvzalloc_cpt(svc->srv_cptable, in ptlrpc_alloc_rqbd()92 if (rqbd->rqbd_buffer == NULL) { in ptlrpc_alloc_rqbd()[all …]
285 struct ptlrpc_request_buffer_desc *rqbd = cbid->cbid_arg; in request_in_callback() local286 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()
679 int ptlrpc_register_rqbd(struct ptlrpc_request_buffer_desc *rqbd) in ptlrpc_register_rqbd() argument681 struct ptlrpc_service *service = rqbd->rqbd_svcpt->scp_service; in ptlrpc_register_rqbd()698 rqbd->rqbd_svcpt->scp_cpt >= 0 ? in ptlrpc_register_rqbd()705 LASSERT(rqbd->rqbd_refcount == 0); in ptlrpc_register_rqbd()706 rqbd->rqbd_refcount = 1; in ptlrpc_register_rqbd()708 md.start = rqbd->rqbd_buffer; in ptlrpc_register_rqbd()713 md.user_ptr = &rqbd->rqbd_cbid; in ptlrpc_register_rqbd()716 rc = LNetMDAttach(me_h, md, LNET_UNLINK, &rqbd->rqbd_md_h); in ptlrpc_register_rqbd()724 rqbd->rqbd_refcount = 0; in ptlrpc_register_rqbd()
2331 int ptlrpc_register_rqbd(struct ptlrpc_request_buffer_desc *rqbd);