Lines Matching refs:drctl_req
446 drctl_rsrc_t *drctl_req;
528 drctl_req = kmem_zalloc(drctl_req_len, KM_SLEEP);
530 __func__, (void *)drctl_req, drctl_req_len);
531 drctl_req->status = DRCTL_STATUS_INIT;
539 p = drctl_req->res_dev_path;
543 DR_DBG_IO("%s: devpath=%s\n", __func__, drctl_req->res_dev_path);
545 rv = drctl_config_init(drctl_cmd, drctl_flags, drctl_req,
579 drctl_req->status = DRCTL_STATUS_CONFIG_FAILURE;
594 drctl_req->status = (rv == 0) ?
600 if (drctl_config_fini(&drctl_res_ck, drctl_req, 1) != 0)
617 __func__, (void *)drctl_req, drctl_req_len);
618 kmem_free(drctl_req, drctl_req_len);
650 drctl_rsrc_t *drctl_req;
673 drctl_req = kmem_zalloc(drctl_req_len, KM_SLEEP);
675 __func__, (void *)drctl_req, drctl_req_len);
676 drctl_req->status = DRCTL_STATUS_INIT;
683 p = drctl_req->res_dev_path;
686 DR_DBG_IO("%s: devpath=%s\n", __func__, drctl_req->res_dev_path);
688 rv = drctl_config_init(drctl_cmd, drctl_flags, drctl_req,
719 drctl_req->status = DRCTL_STATUS_CONFIG_FAILURE;
740 drctl_req->status = DRCTL_STATUS_CONFIG_FAILURE;
746 drctl_req->status = DRCTL_STATUS_CONFIG_SUCCESS;
749 if (drctl_config_fini(&drctl_res_ck, drctl_req, 1) != 0)
763 __func__, (void *)drctl_req, drctl_req_len);
764 kmem_free(drctl_req, drctl_req_len);