/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_list.c | 206 S_FREE(larg.xport_logp); in do_list() 230 S_FREE(larg.xport_logp); in do_list() 256 S_FREE(larg.xport_logp); in do_list() 298 S_FREE(larg.xport_logp); in do_list() 312 S_FREE(larg.xport_logp); in do_list() 319 S_FREE(larg.xport_logp); in do_list() 334 S_FREE(larg.xport_logp); in do_list() 349 S_FREE(larg.xport_logp); in do_list() 375 S_FREE(larg.xport_logp); in do_list() 385 S_FREE(dyncomp); in do_list() [all …]
|
H A D | cfga_rcm.c | 86 S_FREE(rsrc_fixed); in fp_rcm_offline() 115 S_FREE(rsrc_fixed); in fp_rcm_online() 146 S_FREE(rsrc_fixed); in fp_rcm_remove() 176 S_FREE(rsrc_fixed); in fp_rcm_suspend() 199 S_FREE(rsrc_fixed); in fp_rcm_suspend() 242 S_FREE(rsrc_fixed); in fp_rcm_suspend() 243 S_FREE(filter_fixed); in fp_rcm_suspend() 275 S_FREE(rsrc_fixed); in fp_rcm_resume() 292 S_FREE(rsrc_fixed); in fp_rcm_resume() 335 S_FREE(rsrc_fixed); in fp_rcm_resume() [all …]
|
H A D | cfga_utils.c | 462 S_FREE(xport_phys); in apidt_create() 463 S_FREE(dyncomp); in apidt_create() 475 S_FREE(lunlist->path); in lunlist_free() 476 S_FREE(lunlist); in lunlist_free() 487 S_FREE(apidp->xport_phys); in apidt_free() 488 S_FREE(apidp->dyncomp); in apidt_free() 609 S_FREE(root_path); in walk_tree() 712 S_FREE(p); in cfga_msg() 808 S_FREE(sp); in msg_common() 887 S_FREE(path); in devctl_cmd() [all …]
|
H A D | cfga_fp.c | 100 S_FREE(hw_option); in cfga_change_state() 110 S_FREE(hw_option); in cfga_change_state() 115 S_FREE(hw_option); in cfga_change_state() 255 S_FREE(hw_option); in cfga_list_ext() 259 S_FREE(hw_option); in cfga_list_ext()
|
H A D | cfga_cvt.c | 229 S_FREE(devfs_phys); in is_apid_configured() 411 S_FREE(pathp); in is_apid_configured() 421 S_FREE(devfs_phys); in is_apid_configured() 528 S_FREE(newlun); in update_lunlist() 560 S_FREE(newlun); in update_lunlist() 607 S_FREE(*dyncompp); in make_dyncomp_from_dinode() 615 S_FREE(*dyncompp); in make_dyncomp_from_dinode() 765 S_FREE(port_wwn); in construct_nodepath_from_dinode()
|
H A D | cfga_cs.c | 757 S_FREE(update_str); in dev_change_state() 803 S_FREE(resp_buf); in dev_change_state() 886 S_FREE(update_str); in dev_change_state() 899 S_FREE(update_str); in dev_change_state() 932 S_FREE(t_apid); in dev_change_state() 964 S_FREE(update_str); in dev_change_state() 1222 S_FREE(update_str); in unconf_vhci_nodes() 1231 S_FREE(update_str); in unconf_vhci_nodes() 1388 S_FREE(update_str); in unconf_non_vhci_nodes() 1395 S_FREE(update_str); in unconf_non_vhci_nodes() [all …]
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | devtree_hba_disco.c | 129 S_FREE(port_ptr->port_attributes.PortSpecificAttribute.SASPort); in add_hba_port_info() 130 S_FREE(port_ptr); in add_hba_port_info() 149 S_FREE(port_ptr->port_attributes.PortSpecificAttribute.SASPort); in add_hba_port_info() 150 S_FREE(port_ptr); in add_hba_port_info() 199 S_FREE(port_ptr->port_attributes.PortSpecificAttribute.SASPort); in add_hba_port_info() 200 S_FREE(port_ptr); in add_hba_port_info() 227 S_FREE(port_ptr->port_attributes.PortSpecificAttribute.SASPort); in add_hba_port_info() 228 S_FREE(port_ptr); in add_hba_port_info() 259 S_FREE(port_ptr->port_attributes.PortSpecificAttribute.SASPort); in add_hba_port_info() 260 S_FREE(port_ptr); in add_hba_port_info() [all …]
|
H A D | Sun_sasRefreshInformation.c | 137 S_FREE(wa.flag); in Sun_sasRefreshInformation() 147 S_FREE(wa.flag); in Sun_sasRefreshInformation() 152 S_FREE(wa.flag); in Sun_sasRefreshInformation()
|
H A D | Sun_sasRefreshAdapterConfiguration.c | 129 S_FREE(wa.flag); in Sun_sasRefreshAdapterConfiguration() 143 S_FREE(wa.flag); in Sun_sasRefreshAdapterConfiguration()
|
H A D | devlink_disco.c | 218 S_FREE(dirp); in lookupLink() 226 S_FREE(dirp); in lookupLink()
|
H A D | sun_sas.h | 85 #define S_FREE(x) (((x) != NULL) ? (free(x), (x) = NULL) : (void *)0) macro
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 952 S_FREE(devpath); in cfga_change_state() 987 S_FREE(devpath); in cfga_change_state() 1005 S_FREE(devpath); in cfga_change_state() 1116 S_FREE(msg); in cfga_private_func() 1124 S_FREE(info); in cfga_private_func() 1125 S_FREE(msg); in cfga_private_func() 1157 S_FREE(info); in cfga_private_func() 1158 S_FREE(msg); in cfga_private_func() 1199 S_FREE(info); in cfga_private_func() 1263 S_FREE(info); in cfga_private_func() [all …]
|
H A D | cfga_conf.c | 652 S_FREE(recp->name); in ib_free_service_recs() 655 S_FREE(tmp); in ib_free_service_recs() 660 S_FREE(recp->name); in ib_free_service_recs() 663 S_FREE(tmp); in ib_free_service_recs() 668 S_FREE(recp->name); in ib_free_service_recs() 671 S_FREE(tmp); in ib_free_service_recs() 699 S_FREE(file_buf); in ib_cleanup_file() 1211 S_FREE(service_name); in ib_service_record_valid() 1217 S_FREE(service_name); in ib_service_record_valid()
|
H A D | cfga_ib.h | 75 #define S_FREE(x) (((x) != NULL) ? (free(x), (x) = NULL) : (void *)0) macro
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_utils.c | 389 S_FREE(hba_phys); in apidt_create() 390 S_FREE(dyncomp); in apidt_create() 391 S_FREE(path); in apidt_create() 401 S_FREE(apidp->hba_phys); in apidt_free() 402 S_FREE(apidp->dyncomp); in apidt_free() 403 S_FREE(apidp->path); in apidt_free() 505 S_FREE(root_path); in walk_tree() 615 S_FREE(p); in cfga_msg() 734 S_FREE(sp); in msg_common() 812 S_FREE(root_path); in path_apid_state_change() [all …]
|
H A D | cfga_cvt.c | 169 S_FREE(pmt.log); in make_hba_logid() 228 S_FREE(log); in drv_to_hba_logid() 326 S_FREE(root_path); in path_apid_dyn_to_path() 347 S_FREE(root_path); in path_apid_dyn_to_path() 359 S_FREE(root_path); in path_apid_dyn_to_path() 363 S_FREE(root_path); in path_apid_dyn_to_path() 444 S_FREE(dpt.path); in drv_dyn_to_devpath() 520 S_FREE(drvinst); in do_drv_dyn_to_devpath() 522 if (dptp->ret != SCFGA_OK) S_FREE(devpath); in do_drv_dyn_to_devpath() 602 S_FREE(dynt.devlink); in devlink_dyn_to_devpath() [all …]
|
H A D | cfga_list.c | 248 S_FREE(larg.hba_logp); in do_list() 408 S_FREE(nodepath); in stat_dev() 437 S_FREE(listp); in create_pathinfo_ldata() 444 S_FREE(dyncomp); in create_pathinfo_ldata() 455 S_FREE(dyncomp); in create_pathinfo_ldata() 485 S_FREE(client_devlink); in create_pathinfo_ldata() 737 S_FREE(listp); in do_stat_dev() 750 S_FREE(dyncomp); in do_stat_dev() 912 S_FREE(ldatap); in list_ext_postprocess()
|
H A D | cfga_ctl.c | 707 S_FREE(cq); in disconnect() 831 S_FREE(cq1); in quiesce_confirm() 832 S_FREE(cq2); in quiesce_confirm() 838 S_FREE(cq1); in quiesce_confirm() 839 S_FREE(cq2); in quiesce_confirm() 862 S_FREE(buf); in quiesce_confirm() 863 S_FREE(hbap); in quiesce_confirm() 916 S_FREE(bus_path); in suspend_in_rcm() 917 S_FREE(dev_path); in suspend_in_rcm() 953 S_FREE(cu); in wait_for_hotplug() [all …]
|
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 54 #define S_FREE(x) (((x) != NULL) ? (free(x), (x) = NULL) : (void *)0) macro 558 S_FREE(post_filtp); in main() 591 S_FREE(prefilt_optp); in main() 604 S_FREE(list_array); in main() 605 S_FREE(post_filtp); in main() 615 S_FREE(post_filtp); in main() 1033 S_FREE(optstr); in parse_select_opt() 1853 S_FREE(sel_boards); in do_config_list() 1854 S_FREE(arg_array); in do_config_list() 1855 S_FREE(out_array); in do_config_list() [all …]
|
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 319 #define S_FREE(x) (((x) != NULL) ? (free(x), (x) = NULL) : (void *)0) macro 733 S_FREE(class); in config_list_ext() 1041 S_FREE(bufp); in parse_listopt() 1043 S_FREE(*classpp); in parse_listopt() 1465 S_FREE(apdup); in config_get_lib() 1466 S_FREE(dyncomp); in config_get_lib() 1978 S_FREE(rpath); in find_ap_common() 2015 S_FREE(rpath); in find_ap_common() 2023 S_FREE(rpath); in find_ap_common() 2039 S_FREE(rpath); in find_ap_common() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 1103 S_FREE(devpath); in cfga_change_state() 1155 S_FREE(devpath); in cfga_change_state() 1215 S_FREE(devpath); in cfga_change_state() 1362 S_FREE(driver); in cfga_private_func() 1401 S_FREE(driver); in cfga_private_func() 1457 S_FREE(dev_descrp); in cfga_private_func() 1458 S_FREE(driver); in cfga_private_func()
|
H A D | cfga_usb.h | 93 #define S_FREE(x) (((x) != NULL) ? (free(x), (x) = NULL) : (void *)0) macro
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 110 #define S_FREE(x) (((x) != NULL) ? (free(x), (x) = NULL) : (void *)0) macro 270 S_FREE(pathlist.path_info); in insert_missing_pwwn() 327 S_FREE(pathlist.path_info); in insert_missing_pwwn() 334 S_FREE(pathlist.path_info); in insert_missing_pwwn() 341 S_FREE(pathlist.path_info); in insert_missing_pwwn() 378 S_FREE(pathlist.path_info); in insert_missing_pwwn() 423 S_FREE(pathlist.path_info); in get_scsi_vhci_port_wwn() 1270 S_FREE(dlist); in g_get_dev_list() 1277 S_FREE(dlist); in g_get_dev_list() 1720 S_FREE(dev_list); in create_map() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.h | 123 #define S_FREE(x) (((x) != NULL) ? \ macro
|
H A D | cfga_sata.c | 671 S_FREE(devpath); in cfga_change_state() 744 S_FREE(devpath); in cfga_change_state() 813 S_FREE(devpath); in cfga_change_state() 830 S_FREE(devpath); in cfga_change_state()
|