rcm_handle
if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo)
if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo)
if ((rret = rcm_request_suspend(rcm_handle, rsrc_fixed, rflags,
if (rcm_notify_resume(rcm_handle, rsrc_fixed, rflags, &rinfo)
if (rcm_get_info(rcm_handle, rsrc_fixed, 0, &rinfo)
if (rcm_handle == NULL) {
if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) !=
static rcm_handle_t *rcm_handle = NULL;
if ((rret = rcm_request_offline(rcm_handle, rsrc_fixed, rflags, &rinfo))
if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) !=
if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) !=
if (rcm_handle == NULL) {
if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) !=
static rcm_handle_t *rcm_handle = NULL;
if ((rret = rcm_request_offline(rcm_handle, rsrc_fixed, rflags, &rinfo))
if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) !=
if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) !=
if (rcm_handle == NULL) {
if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) !=
static rcm_handle_t *rcm_handle = NULL;
if ((rret = rcm_request_offline(rcm_handle, rsrc_fixed, rflags,
(void) rcm_free_handle(rcm_handle);
rcm_handle_t *rcm_handle;
if ((ret = scsi_rcm_init(0, errstring, &rcm_handle))
if (rcm_notify_remove_list(rcm_handle, rsrclist, 0, &rinfo)
(void) rcm_free_handle(rcm_handle);
rcm_handle_t *rcm_handle;
if ((ret = scsi_rcm_init(pflag, errstring, &rcm_handle))
if ((rret = rcm_request_suspend_list(rcm_handle, rsrclist, rflags,
(void) rcm_notify_resume_list(rcm_handle, rsrclist,
(void) rcm_free_handle(rcm_handle);
rcm_handle_t *rcm_handle;
if ((ret = scsi_rcm_init(pflag, errstring, &rcm_handle))
if (rcm_notify_resume_list(rcm_handle, rsrclist, 0, &rinfo)
(void) rcm_free_handle(rcm_handle);
rcm_handle_t *rcm_handle;
if ((ret = scsi_rcm_init(0, errstring, &rcm_handle))
if ((rret = rcm_request_offline_list(rcm_handle, rsrclist, rflags,
(void) rcm_notify_online_list(rcm_handle, rsrclist,
(void) rcm_free_handle(rcm_handle);
rcm_handle_t *rcm_handle;
if ((ret = scsi_rcm_init(0, errstring, &rcm_handle))
if (rcm_notify_online_list(rcm_handle, rsrclist, 0, &rinfo)
if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) !=
if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) !=
if (rcm_handle == NULL) {
if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) !=
static rcm_handle_t *rcm_handle = NULL;
if ((rret = rcm_request_offline(rcm_handle, rsrc_fixed, rflags, &rinfo))
retval = rp->rcm_remove(rp->rcm_handle,
retval = rp->rcm_online(rp->rcm_handle,
rcm_handle_t *rcm_handle;
retval = rp->rcm_offline(rp->rcm_handle, rpt->rpt_path,
rarg.rcm_handle = NULL;
if (librcm_alloc_handle(NULL, 0, NULL, &rarg.rcm_handle)
rarg.rcm_handle = NULL;
if (rarg.rcm_handle)
(void) librcm_free_handle(rarg.rcm_handle);
typedef struct rcm_handle rcm_handle_t;