Lines Matching defs:resp
304 dr_mem_hdr_t *resp = &err_resp;
336 if ((rv = dr_mem_list_wrk(req, &resp, &resp_len)) != 0) {
344 if ((rv = dr_mem_del_stat(req, &resp, &resp_len)) != 0)
349 if ((rv = dr_mem_del_cancel(req, &resp, &resp_len)) != 0)
358 if ((rv = dr_mem_list_query(req, &resp, &resp_len)) != 0)
370 if (resp == &err_resp) {
371 resp->req_num = (req) ? req->req_num : 0;
372 resp->msg_type = DR_MEM_ERROR;
373 resp->msg_arg = rv;
378 DR_DBG_DUMP_MSG(resp, resp_len);
381 if (ds_cap_send(ds_handle, resp, resp_len) != 0) {
386 if (resp != &err_resp) {
387 kmem_free(resp, resp_len);
418 dr_mem_list_wrk(dr_mem_hdr_t *req, dr_mem_hdr_t **resp, int *resp_len)
559 *resp_len = dr_mem_pack_response(req, res, resp);
653 dr_mem_hdr_t *resp;
680 resp = kmem_zalloc(resp_len, KM_SLEEP);
685 resp->req_num = req->req_num;
686 resp->msg_type = DR_MEM_OK;
687 resp->msg_arg = nstat;
692 resp_stat = DR_MEM_RESP_STATS(resp);
718 *respp = resp;
752 dr_mem_list_query(dr_mem_hdr_t *req, dr_mem_hdr_t **resp, int *resp_len)
809 *resp = rp;
943 dr_mem_del_stat(dr_mem_hdr_t *req, dr_mem_hdr_t **resp, int *resp_len)
973 *resp = rp;
980 dr_mem_del_cancel(dr_mem_hdr_t *req, dr_mem_hdr_t **resp, int *resp_len)
995 *resp = rp;