/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_impl.c | 74 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 D | pool_rcm.c | 103 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 D | cluster_rcm.c | 101 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 D | bridge_rcm.c | 193 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 D | dump_rcm.c | 132 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 D | aggr_rcm.c | 239 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 D | vlan_rcm.c | 216 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 D | swap_rcm.c | 146 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 D | ibpart_rcm.c | 216 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 D | vnic_rcm.c | 216 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 D | network_rcm.c | 180 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 D | rcm_subr.c | 136 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 D | mpxio_rcm.c | 181 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 D | filesys_rcm.c | 178 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 D | ip_rcm.c | 301 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 D | ip_anon_rcm.c | 155 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 D | cfga_rcm.c | 58 &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 D | cfga_rcm.c | 75 != 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 D | cfga_rcm.c | 67 &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 D | cfga_rcm.c | 81 != 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 D | cfga_rcm.c | 71 != 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 D | hotplugd_rcm.c | 202 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 D | devinfo_retire.c | 405 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 D | drd_rcm.c | 272 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 D | ap_rcm.c | 402 != 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 …]
|