Home
last modified time | relevance | path

Searched refs:RCM_SUCCESS (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_impl.c74 if ((error == RCM_SUCCESS) && (node != NULL)) { in common_resource_op()
89 } else if ((error == RCM_SUCCESS) && (flag & RCM_RETIRE_REQUEST)) { in common_resource_op()
113 int retval = RCM_SUCCESS; in notify_resource_remove()
127 if (error != RCM_SUCCESS) { in notify_resource_remove()
140 if (error != RCM_SUCCESS) in notify_resource_remove()
158 int retval = RCM_SUCCESS; in notify_resource_resume()
182 if (error != RCM_SUCCESS) { in notify_resource_resume()
192 if (error != RCM_SUCCESS) in notify_resource_resume()
208 int retval = RCM_SUCCESS; in notify_resource_online()
221 if (error != RCM_SUCCESS) { in notify_resource_online()
[all …]
H A Dpool_rcm.c103 return (RCM_SUCCESS); in rcm_mod_fini()
204 int error = RCM_SUCCESS; in pset_validate_remove()
222 return (RCM_SUCCESS); in pset_validate_remove()
252 return (RCM_SUCCESS); in pset_validate_remove()
348 if (error != RCM_SUCCESS && *errorp == NULL) in pset_validate_remove()
371 return (RCM_SUCCESS); in pool_request_capacity_change()
380 return (RCM_SUCCESS); in pool_request_capacity_change()
390 return (RCM_SUCCESS); in pool_notify_capacity_change()
400 return (RCM_SUCCESS); in pool_register()
404 0, NULL) != RCM_SUCCESS) { in pool_register()
[all …]
H A Dcluster_rcm.c101 return (RCM_SUCCESS); in rcm_mod_fini()
110 return (RCM_SUCCESS); in cluster_register()
122 RCM_SUCCESS) { in cluster_register()
133 return (RCM_SUCCESS); in cluster_register()
142 RCM_SUCCESS) { in cluster_unregister()
148 return (RCM_SUCCESS); in cluster_unregister()
162 return (RCM_SUCCESS); in cluster_getinfo()
182 return (RCM_SUCCESS); in cluster_resume()
205 return (RCM_SUCCESS); in cluster_online()
H A Dbridge_rcm.c193 return (RCM_SUCCESS); in rcm_mod_fini()
207 if ((retv = cache_update(hd)) != RCM_SUCCESS) in bridge_register()
216 if (retv != RCM_SUCCESS) { in bridge_register()
237 int retv = RCM_SUCCESS; in bridge_unregister()
246 if (retv != RCM_SUCCESS) in bridge_unregister()
253 if (retv != RCM_SUCCESS) { in bridge_unregister()
264 if (retv != RCM_SUCCESS) { in bridge_unregister()
298 return (RCM_SUCCESS); in bridge_offline()
306 return (RCM_SUCCESS); in bridge_offline()
321 return (RCM_SUCCESS); in bridge_offline()
[all …]
H A Ddump_rcm.c132 return (RCM_SUCCESS); in rcm_mod_fini()
154 return (RCM_SUCCESS); in dump_unregister()
178 RCM_SUCCESS : RCM_FAILURE); in dump_getinfo()
196 return (RCM_SUCCESS); in dump_suspend()
201 return (RCM_SUCCESS); in dump_suspend()
223 return (RCM_SUCCESS); in dump_resume()
248 return (RCM_SUCCESS); in dump_offline()
253 return (RCM_SUCCESS); in dump_offline()
283 return (RCM_SUCCESS); in dump_online()
304 return (RCM_SUCCESS); in dump_remove()
[all …]
H A Daggr_rcm.c239 return (RCM_SUCCESS); in rcm_mod_fini()
304 != RCM_SUCCESS) { in aggr_register()
316 return (RCM_SUCCESS); in aggr_register()
334 != RCM_SUCCESS) { in aggr_unregister()
355 != RCM_SUCCESS) { in aggr_unregister()
367 return (RCM_SUCCESS); in aggr_unregister()
389 return (RCM_SUCCESS); in aggr_offline()
398 depend_info) == RCM_SUCCESS) { in aggr_offline()
414 return (RCM_SUCCESS); in aggr_offline()
417 if (aggr_offline_port(node, CACHE_NODE_OFFLINED) != RCM_SUCCESS) { in aggr_offline()
[all …]
H A Dvlan_rcm.c216 return (RCM_SUCCESS); in rcm_mod_fini()
237 != RCM_SUCCESS) { in vlan_register()
249 return (RCM_SUCCESS); in vlan_register()
267 != RCM_SUCCESS) { in vlan_unregister()
285 != RCM_SUCCESS) { in vlan_unregister()
297 return (RCM_SUCCESS); in vlan_unregister()
319 return (RCM_SUCCESS); in vlan_offline()
326 RCM_SUCCESS) { in vlan_offline()
341 return (RCM_SUCCESS); in vlan_offline()
345 RCM_SUCCESS) { in vlan_offline()
[all …]
H A Dswap_rcm.c146 return (RCM_SUCCESS); in rcm_mod_fini()
168 return (RCM_SUCCESS); in swap_unregister()
188 return (RCM_SUCCESS); in swap_getinfo()
207 return (RCM_SUCCESS); in swap_suspend()
212 return (RCM_SUCCESS); in swap_suspend()
234 return (RCM_SUCCESS); in swap_resume()
258 return (RCM_SUCCESS); in swap_offline()
263 return (RCM_SUCCESS); in swap_offline()
291 return (RCM_SUCCESS); in swap_online()
312 return (RCM_SUCCESS); in swap_remove()
[all …]
H A Dibpart_rcm.c216 return (RCM_SUCCESS); in rcm_mod_fini()
237 != RCM_SUCCESS) { in ibpart_register()
249 return (RCM_SUCCESS); in ibpart_register()
267 != RCM_SUCCESS) { in ibpart_unregister()
285 != RCM_SUCCESS) { in ibpart_unregister()
297 return (RCM_SUCCESS); in ibpart_unregister()
319 return (RCM_SUCCESS); in ibpart_offline()
326 RCM_SUCCESS) { in ibpart_offline()
341 return (RCM_SUCCESS); in ibpart_offline()
345 RCM_SUCCESS) { in ibpart_offline()
[all …]
H A Dvnic_rcm.c216 return (RCM_SUCCESS); in rcm_mod_fini()
237 != RCM_SUCCESS) { in vnic_register()
249 return (RCM_SUCCESS); in vnic_register()
267 != RCM_SUCCESS) { in vnic_unregister()
285 != RCM_SUCCESS) { in vnic_unregister()
297 return (RCM_SUCCESS); in vnic_unregister()
319 return (RCM_SUCCESS); in vnic_offline()
326 RCM_SUCCESS) { in vnic_offline()
341 return (RCM_SUCCESS); in vnic_offline()
345 RCM_SUCCESS) { in vnic_offline()
[all …]
H A Dnetwork_rcm.c180 return (RCM_SUCCESS); in rcm_mod_fini()
203 != RCM_SUCCESS) { in net_register()
215 return (RCM_SUCCESS); in net_register()
249 != RCM_SUCCESS) { in net_unregister()
261 return (RCM_SUCCESS); in net_unregister()
289 return (RCM_SUCCESS); in net_passthru()
328 if (rv == RCM_SUCCESS) { in net_passthru()
352 if (rv != RCM_SUCCESS) { in net_passthru()
485 return (RCM_SUCCESS); in net_getinfo()
774 if (rv != RCM_SUCCESS) { in update_cache()
[all …]
H A Drcm_subr.c136 if (ops->rcmop_register(module->rcmhandle) != RCM_SUCCESS) { in module_attach()
631 int rval = RCM_SUCCESS; in rsrc_client_action()
663 return (RCM_SUCCESS); in rsrc_client_action()
670 return (RCM_SUCCESS); in rsrc_client_action()
676 return (RCM_SUCCESS); in rsrc_client_action()
737 if (rval == RCM_SUCCESS) { in rsrc_client_action()
743 if (rval == RCM_SUCCESS) { in rsrc_client_action()
809 targ->retcode = RCM_SUCCESS; in rsrc_client_action()
814 if (rval == RCM_SUCCESS) { in rsrc_client_action()
820 if (rval == RCM_SUCCESS) { in rsrc_client_action()
[all …]
H A Dmpxio_rcm.c181 return (RCM_SUCCESS); in rcm_mod_fini()
256 return (RCM_SUCCESS); in mpxio_unregister()
269 int rv = RCM_SUCCESS; in mpxio_getinfo()
330 return (RCM_SUCCESS); in mpxio_suspend()
342 return (RCM_SUCCESS); in mpxio_resume()
355 int rv = RCM_SUCCESS; in mpxio_offline()
369 if (rv != RCM_SUCCESS) in mpxio_offline()
388 int rv = RCM_SUCCESS; in mpxio_online()
421 int rv = RCM_SUCCESS; in mpxio_remove()
555 != RCM_SUCCESS) { in detect_client_change()
[all …]
H A Dfilesys_rcm.c178 return (RCM_SUCCESS); in rcm_mod_fini()
210 return (RCM_SUCCESS); in mnt_register()
249 return (RCM_SUCCESS); in mnt_unregister()
304 retval = RCM_SUCCESS; in mnt_offline()
350 return (RCM_SUCCESS); in mnt_online()
363 int rv = RCM_SUCCESS; in mnt_getinfo()
395 depend_info)) != RCM_SUCCESS) { in mnt_getinfo()
417 int rv = RCM_SUCCESS; in mnt_suspend()
443 interval, depend_info)) != RCM_SUCCESS) { in mnt_suspend()
461 int rv = RCM_SUCCESS; in mnt_resume()
[all …]
H A Dip_rcm.c301 return (RCM_SUCCESS); in rcm_mod_fini()
325 != RCM_SUCCESS) { in ip_register()
337 return (RCM_SUCCESS); in ip_register()
358 != RCM_SUCCESS) { in ip_unregister()
374 != RCM_SUCCESS) { in ip_unregister()
386 return (RCM_SUCCESS); in ip_unregister()
418 return (RCM_SUCCESS); in ip_offline()
439 RCM_SUCCESS) { in ip_offline()
455 return (RCM_SUCCESS); in ip_offline()
463 return (RCM_SUCCESS); in ip_offline()
[all …]
H A Dip_anon_rcm.c155 return (RCM_SUCCESS); in rcm_mod_fini()
400 RCM_SUCCESS) { in ip_anon_register()
445 return (RCM_SUCCESS); in ip_anon_register()
470 return (RCM_SUCCESS); in ip_anon_unregister()
484 return (RCM_SUCCESS); in ip_anon_getinfo()
504 return (RCM_SUCCESS); in ip_anon_resume()
523 return (RCM_SUCCESS); in ip_anon_online()
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c58 &rinfo)) != RCM_SUCCESS) { in scsi_rcm_offline()
98 != RCM_SUCCESS) { in scsi_rcm_online()
131 != RCM_SUCCESS) { in scsi_rcm_remove()
175 &zerotime, &rinfo)) != RCM_SUCCESS) { in scsi_rcm_suspend()
216 != RCM_SUCCESS) { in scsi_rcm_resume()
238 if (rcm_alloc_handle(NULL, rcm_flag, NULL, hdlp) != RCM_SUCCESS) { in scsi_rcm_init()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rcm.c75 != RCM_SUCCESS) { in fp_rcm_offline()
108 != RCM_SUCCESS && rinfo != NULL) { in fp_rcm_online()
137 != RCM_SUCCESS) { in fp_rcm_remove()
187 &zerotime, &rinfo)) != RCM_SUCCESS) { in fp_rcm_suspend()
285 != RCM_SUCCESS && rinfo != NULL) { in fp_rcm_resume()
366 != RCM_SUCCESS) { in fp_rcm_info()
407 RCM_SUCCESS) { in fp_rcm_init()
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_rcm.c67 &rinfo)) != RCM_SUCCESS) { in sata_rcm_offline()
102 RCM_SUCCESS && (rinfo != NULL)) { in sata_rcm_online()
130 RCM_SUCCESS && (rinfo != NULL)) { in sata_rcm_remove()
165 RCM_SUCCESS) { in sata_rcm_init()
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_rcm.c81 != RCM_SUCCESS) { in ib_rcm_offline()
132 RCM_SUCCESS && (rinfo != NULL)) { in ib_rcm_online()
174 RCM_SUCCESS && (rinfo != NULL)) { in ib_rcm_remove()
224 RCM_SUCCESS) { in ib_rcm_init()
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_rcm.c71 != RCM_SUCCESS) { in usb_rcm_offline()
112 RCM_SUCCESS && (rinfo != NULL)) { in usb_rcm_online()
144 RCM_SUCCESS && (rinfo != NULL)) { in usb_rcm_remove()
183 RCM_SUCCESS) { in usb_rcm_init()
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_rcm.c202 if (rcm_alloc_handle(NULL, 0, NULL, &handle) != RCM_SUCCESS) { in rcm_offline()
209 &info) != RCM_SUCCESS) in rcm_offline()
242 if (rcm_alloc_handle(NULL, 0, NULL, &handle) != RCM_SUCCESS) { in rcm_online()
268 if (rcm_alloc_handle(NULL, 0, NULL, &handle) != RCM_SUCCESS) { in rcm_remove()
298 if (rcm_alloc_handle(NULL, RCM_NOPID, NULL, &handle) != RCM_SUCCESS) { in get_rcm_usage()
306 &info) != RCM_SUCCESS) { in get_rcm_usage()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c405 if (retval != RCM_SUCCESS) { in rcm_finalize()
462 } else if (retval == RCM_SUCCESS) { in call_offline()
463 rp->rcm_retcode = RCM_SUCCESS; in call_offline()
491 RIO_ASSERT(dp, rp->rcm_retcode == RCM_SUCCESS || in offline_one()
529 } else if (rp->rcm_retcode == RCM_SUCCESS) { in offline_one()
555 rp->rcm_retcode = RCM_SUCCESS; in offline_one()
664 rp->rcm_retcode = RCM_SUCCESS; in rcm_notify()
750 != RCM_SUCCESS) { in di_retire_device()
787 } else if (retval == RCM_SUCCESS) { in di_retire_device()
/illumos-gate/usr/src/cmd/drd/
H A Ddrd_rcm.c272 if (rv != RCM_SUCCESS) { in drd_rcm_online_cpu_notify()
352 rv = (rv == RCM_SUCCESS) ? 0 : -1; in drd_rcm_add_cpu_notify()
434 if (rv != RCM_SUCCESS) { in drd_rcm_del_cpu_request()
486 if (rv == RCM_SUCCESS) { in drd_rcm_offline_cpu_request()
563 if (rv != RCM_SUCCESS) { in drd_rcm_remove_cpu_notify()
624 if (rv != RCM_SUCCESS) { in drd_rcm_restore_cpu_notify()
726 rv = (rv == RCM_SUCCESS) ? 0 : -1; in drd_rcm_del_cpu_notify()
1068 if ((rv = rcm_request_offline(rcm_hdl, dev, 0, &rinfo)) == RCM_SUCCESS) in drd_rcm_io_unconfig_request()
1286 rv = (rv == RCM_SUCCESS) ? 0 : -1; in drd_rcm_mem_op()
1371 if (rv != RCM_SUCCESS) { in drd_rcm_mem_unconfig_request()
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_rcm.c402 != RCM_SUCCESS) { in ap_rcm_init()
738 rv = RCM_SUCCESS; in ap_rcm_cap_cpu()
846 return (RCM_SUCCESS); in ap_rcm_cap_mem()
926 CMD_RCM_CAP_DEL, ncpus)) != RCM_SUCCESS)) { in ap_rcm_request_cap()
930 CMD_RCM_CAP_DEL, npages)) != RCM_SUCCESS)) { in ap_rcm_request_cap()
1013 CMD_RCM_CAP_ADD, ncpus)) != RCM_SUCCESS)) { in ap_rcm_add_cap()
1017 CMD_RCM_CAP_ADD, npages)) != RCM_SUCCESS)) { in ap_rcm_add_cap()
1134 if (*rv != RCM_SUCCESS) in ap_rcm_notify_cap()
1142 if (*rv != RCM_SUCCESS) in ap_rcm_notify_cap()
1174 rv = RCM_SUCCESS; in ap_rcm_ctl()
[all …]

12