Home
last modified time | relevance | path

Searched refs:rcm_handle (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c45 rcm_handle_t *rcm_handle; in scsi_rcm_offline() local
50 if ((ret = scsi_rcm_init(0, errstring, &rcm_handle)) in scsi_rcm_offline()
57 if ((rret = rcm_request_offline_list(rcm_handle, rsrclist, rflags, in scsi_rcm_offline()
69 (void) rcm_notify_online_list(rcm_handle, rsrclist, in scsi_rcm_offline()
73 (void) rcm_free_handle(rcm_handle); in scsi_rcm_offline()
88 rcm_handle_t *rcm_handle; in scsi_rcm_online() local
93 if ((ret = scsi_rcm_init(0, errstring, &rcm_handle)) in scsi_rcm_online()
97 if (rcm_notify_online_list(rcm_handle, rsrclist, 0, &rinfo) in scsi_rcm_online()
106 (void) rcm_free_handle(rcm_handle); in scsi_rcm_online()
121 rcm_handle_t *rcm_handle; in scsi_rcm_remove() local
[all …]
/titanic_50/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, in sata_rcm_offline()
103 if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) != in sata_rcm_online()
131 if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) != in sata_rcm_remove()
165 if (rcm_handle == NULL) { in sata_rcm_init()
166 if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) != in sata_rcm_init()
/titanic_50/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)) in usb_rcm_offline()
114 if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) != in usb_rcm_online()
146 if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) != in usb_rcm_remove()
184 if (rcm_handle == NULL) { in usb_rcm_init()
185 if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) != in usb_rcm_init()
/titanic_50/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)) in ib_rcm_offline()
134 if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) != in ib_rcm_online()
176 if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) != in ib_rcm_remove()
225 if (rcm_handle == NULL) { in ib_rcm_init()
226 if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) != in ib_rcm_init()
/titanic_50/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)) in fp_rcm_offline()
107 if (rcm_notify_online(rcm_handle, rsrc_fixed, 0, &rinfo) in fp_rcm_online()
136 if (rcm_notify_remove(rcm_handle, rsrc_fixed, 0, &rinfo) in fp_rcm_remove()
186 if ((rret = rcm_request_suspend(rcm_handle, rsrc_fixed, rflags, in fp_rcm_suspend()
284 if (rcm_notify_resume(rcm_handle, rsrc_fixed, rflags, &rinfo) in fp_rcm_resume()
365 if (rcm_get_info(rcm_handle, rsrc_fixed, 0, &rinfo) in fp_rcm_info()
405 if (rcm_handle == NULL) { in fp_rcm_init()
406 if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &rcm_handle) != in fp_rcm_init()
/titanic_50/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c45 rcm_handle_t *rcm_handle; member
396 retval = rp->rcm_remove(rp->rcm_handle, in rcm_finalize()
401 retval = rp->rcm_online(rp->rcm_handle, in rcm_finalize()
451 retval = rp->rcm_offline(rp->rcm_handle, rpt->rpt_path, in call_offline()
748 rarg.rcm_handle = NULL; in di_retire_device()
749 if (librcm_alloc_handle(NULL, 0, NULL, &rarg.rcm_handle) in di_retire_device()
754 rarg.rcm_handle = NULL; in di_retire_device()
816 if (rarg.rcm_handle) in di_retire_device()
817 (void) librcm_free_handle(rarg.rcm_handle); in di_retire_device()
/titanic_50/usr/src/lib/librcm/
H A Dlibrcm_impl.h129 struct rcm_handle { struct
H A Dlibrcm.h111 typedef struct rcm_handle rcm_handle_t;