Searched defs:rcm_handle (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_rcm.c46 static rcm_handle_t *rcm_handle = NULL; variable
68 if ((rret = rcm_request_offline(rcm_handle, rsrc_fixed, rflags,
103 if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) !=
131 if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) !=
165 if (rcm_handle == NULL) {
166 if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) !=
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c45 rcm_handle_t *rcm_handle; local
50 if ((ret = scsi_rcm_init(0, errstring, &rcm_handle))
57 if ((rret = rcm_request_offline_list(rcm_handle, rsrclist, rflags,
69 (void) rcm_notify_online_list(rcm_handle, rsrclist,
73 (void) rcm_free_handle(rcm_handle);
88 rcm_handle_t *rcm_handle; local
93 if ((ret = scsi_rcm_init(0, errstring, &rcm_handle))
97 if (rcm_notify_online_list(rcm_handle, rsrclist, 0, &rinfo)
106 (void) rcm_free_handle(rcm_handle);
121 rcm_handle_t *rcm_handle; local
157 rcm_handle_t *rcm_handle; local
202 rcm_handle_t *rcm_handle; local
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_rcm.c46 static rcm_handle_t *rcm_handle = NULL; variable
73 if ((rret = rcm_request_offline(rcm_handle, rsrc_fixed, rflags, &rinfo))
114 if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) !=
146 if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) !=
184 if (rcm_handle == NULL) {
185 if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) !=
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_rcm.c46 static rcm_handle_t *rcm_handle = NULL; variable
83 if ((rret = rcm_request_offline(rcm_handle, rsrc_fixed, rflags, &rinfo))
134 if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) !=
176 if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) !=
225 if (rcm_handle == NULL) {
226 if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) !=
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm_impl.h129 struct rcm_handle { struct
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rcm.c53 static rcm_handle_t *rcm_handle = NULL; variable
74 if ((rret = rcm_request_offline(rcm_handle, rsrc_fixed, rflags, &rinfo))
107 if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo)
136 if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo)
186 if ((rret = rcm_request_suspend(rcm_handle, rsrc_fixed, rflags,
284 if (rcm_notify_resume(rcm_handle, rsrc_fixed, rflags, &rinfo)
365 if (rcm_get_info(rcm_handle, rsrc_fixed, 0, &rinfo)
405 if (rcm_handle == NULL) {
406 if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) !=
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c45 rcm_handle_t *rcm_handle; member in struct:rcm_arg
396 retval = rp->rcm_remove(rp->rcm_handle,
401 retval = rp->rcm_online(rp->rcm_handle,
451 retval = rp->rcm_offline(rp->rcm_handle, rpt->rpt_path,
748 rarg.rcm_handle = NULL;
749 if (librcm_alloc_handle(NULL, 0, NULL, &rarg.rcm_handle)
754 rarg.rcm_handle = NULL;
816 if (rarg.rcm_handle)
817 (void) librcm_free_handle(rarg.rcm_handle);

Completed in 77 milliseconds