fpcfga_ret_t
static fpcfga_ret_t
static fpcfga_ret_t
static fpcfga_ret_t
static fpcfga_ret_t
fpcfga_ret_t retval = FPCFGA_OK;
static fpcfga_ret_t
fpcfga_ret_t rval = FPCFGA_OK;
fpcfga_ret_t
fpcfga_ret_t ret;
static fpcfga_ret_t
static fpcfga_ret_t
static fpcfga_ret_t
static fpcfga_ret_t do_devctl_dev_create(apid_t *, char *, int,
static fpcfga_ret_t dev_rcm_online(apid_t *, int, cfga_flags_t, char **);
static fpcfga_ret_t
fpcfga_ret_t ret = FPCFGA_OK;
static fpcfga_ret_t dev_rcm_offline(apid_t *, cfga_flags_t, char **);
static fpcfga_ret_t dev_rcm_remove(apid_t *, cfga_flags_t, char **);
static fpcfga_ret_t lun_unconf(char *, int, char *, char *, char **);
static fpcfga_ret_t dev_unconf(apid_t *, char **, uchar_t *);
static fpcfga_ret_t is_xport_phys_in_pathlist(apid_t *, char **);
static fpcfga_ret_t
static fpcfga_ret_t unconf_vhci_nodes(di_path_t, di_node_t, char *,
static fpcfga_ret_t unconf_non_vhci_nodes(di_node_t, char *, char *,
static fpcfga_ret_t unconf_any_devinfo_nodes(apid_t *, cfga_flags_t, char **,
static fpcfga_ret_t handle_devs(cfga_cmd_t, apid_t *, cfga_flags_t,
static fpcfga_ret_t
fpcfga_ret_t
fpcfga_ret_t ret;
static fpcfga_ret_t
fpcfga_ret_t ret;
fpcfga_ret_t
fpcfga_ret_t ret;
static fpcfga_ret_t
fpcfga_ret_t ret;
static fpcfga_ret_t get_xport_devlink(const char *hba_phys,
static fpcfga_ret_t is_apid_configured(const char *xport_phys,
static fpcfga_ret_t insert_lun_to_lunlist(struct luninfo_list **lunlistpp,
static fpcfga_ret_t update_lunlist(struct luninfo_list **lunlistpp, int lun,
static fpcfga_ret_t
static fpcfga_ret_t
fpcfga_ret_t
fpcfga_ret_t
fpcfga_ret_t
fpcfga_ret_t
fpcfga_ret_t
fpcfga_ret_t ret;
fpcfga_ret_t ret;
fpcfga_ret_t ret;
fpcfga_ret_t (*fcn)(fpcfga_cmd_t, apid_t *, prompt_t *, char **);
fpcfga_ret_t get_report_lun_data(const char *xport_phys,
fpcfga_ret_t
fpcfga_ret_t
fpcfga_ret_t dev_insert(fpcfga_cmd_t cmd, apid_t *apidp, prompt_t *argsp,
fpcfga_ret_t dev_replace(fpcfga_cmd_t cmd, apid_t *apidp, prompt_t *argsp,
fpcfga_ret_t dev_remove(fpcfga_cmd_t cmd, apid_t *apidp, prompt_t *argsp,
fpcfga_ret_t reset_common(fpcfga_cmd_t cmd, apid_t *apidp, prompt_t *argsp,
fpcfga_ret_t do_list(apid_t *apidp, fpcfga_cmd_t cmd,
fpcfga_ret_t do_list_FCP_dev(const char *ap_id, uint_t flags, fpcfga_cmd_t cmd,
fpcfga_ret_t list_ext_postprocess(ldata_list_t **ldatalistp, int nelem,
fpcfga_ret_t make_xport_logid(const char *xport_phys, char **xport_logpp,
fpcfga_ret_t dyn_apid_to_path(const char *xport_phys, const char *dyncomp,
fpcfga_ret_t make_dyncomp_from_dinode(const di_node_t node, char **dyncompp,
fpcfga_ret_t make_portwwn_luncomp_from_dinode(const di_node_t node,
fpcfga_ret_t make_portwwn_luncomp_from_pinode(const di_path_t pinode,
fpcfga_ret_t construct_nodepath_from_dinode(const di_node_t node,
fpcfga_ret_t fp_rcm_offline(char *, char **, cfga_flags_t);
fpcfga_ret_t fp_rcm_online(char *, char **, cfga_flags_t);
fpcfga_ret_t fp_rcm_remove(char *, char **, cfga_flags_t);
fpcfga_ret_t fp_rcm_suspend(char *, char *, char **, cfga_flags_t);
fpcfga_ret_t fp_rcm_resume(char *, char *, char **, cfga_flags_t);
fpcfga_ret_t fp_rcm_info(char *, char **, char **);
fpcfga_ret_t physpath_to_devlink(const char *basedir, char *xport_phys,
fpcfga_ret_t recurse_dev(const char *basedir, void *arg,
fpcfga_ret_t apidt_create(const char *ap_id, apid_t *apidp,
cfga_err_t err_cvt(fpcfga_ret_t err);
fpcfga_ret_t devctl_cmd(const char *ap_id, fpcfga_cmd_t cmd,
fpcfga_ret_t invoke_cmd(const char *func, apid_t *apidt, prompt_t *prp,
fpcfga_ret_t walk_tree(const char *physpath, void *arg, uint_t init_flags,
fpcfga_ret_t findMatchingAdapterPort(char *portPath,
static fpcfga_ret_t init_ldata_for_mpath_dev(di_path_t path, char *port_wwn,
static fpcfga_ret_t insert_ldata_to_ldatalist(const char *port_wwn,
static fpcfga_ret_t insert_fc_dev_ldata(const char *port_wwn,
static fpcfga_ret_t
fpcfga_ret_t ret;
static fpcfga_ret_t insert_FCP_dev_ldata(const char *port_wwn, int lun_num,
static fpcfga_ret_t
static fpcfga_ret_t get_accessible_FCP_dev_ldata(const char *dyncomp,
static fpcfga_ret_t get_standard_inq_data(const char *xport_phys,
fpcfga_ret_t ret;
static fpcfga_ret_t issue_fcp_scsi_cmd(const char *xport_phys,
fpcfga_ret_t ret;
static fpcfga_ret_t
fpcfga_ret_t ret;
static fpcfga_ret_t
fpcfga_ret_t ret;
fpcfga_ret_t
fpcfga_ret_t ret;
fpcfga_ret_t ret;
fpcfga_ret_t ldata_ret;
static fpcfga_ret_t
fpcfga_ret_t ldata_ret;
static fpcfga_ret_t
fpcfga_ret_t ret;
static fpcfga_ret_t
fpcfga_ret_t ret;
static fpcfga_ret_t
static fpcfga_ret_t
static fpcfga_ret_t
fpcfga_ret_t ret;
fpcfga_ret_t
static fpcfga_ret_t
static fpcfga_ret_t
static fpcfga_ret_t
fpcfga_ret_t ret;
fpcfga_ret_t
fpcfga_ret_t ret;
static fpcfga_ret_t postprocess_list_data(const ldata_list_t *listp,
static fpcfga_ret_t do_stat_fca_xport(fpcfga_list_t *lap, int limited_stat,
static fpcfga_ret_t do_stat_fc_dev(const di_node_t node, const char *nodepath,
static fpcfga_ret_t do_stat_FCP_dev(const di_node_t node, const char *nodepath,
static fpcfga_ret_t
static fpcfga_ret_t init_ldata_for_accessible_dev(const char *dyncomp,
static fpcfga_ret_t
static fpcfga_ret_t init_ldata_for_accessible_FCP_dev(const char *port_wwn,
fpcfga_ret_t ret;
static fpcfga_ret_t is_dyn_ap_on_ldata_list(const char *port_wwn,
fpcfga_ret_t
static fpcfga_ret_t is_FCP_dev_ap_on_ldata_list(const char *port_wwn,
fpcfga_ret_t ret;
fpcfga_ret_t ret = FPCFGA_OK;
fpcfga_ret_t
fpcfga_ret_t ret = FPCFGA_OK;
fpcfga_ret_t
fpcfga_ret_t ret = FPCFGA_OK;
fpcfga_ret_t
fpcfga_ret_t ret = FPCFGA_OK;
static fpcfga_ret_t fp_rcm_init(char *, cfga_flags_t, char **, uint_t *,
static fpcfga_ret_t fp_rcm_info_table(rcm_info_t *, char **);
fpcfga_ret_t
fpcfga_ret_t ret = FPCFGA_OK;
static fpcfga_ret_t
fpcfga_ret_t ret;
fpcfga_ret_t ret = FPCFGA_OK;
fpcfga_ret_t (*func)(char *, char *, char **, cfga_flags_t);
static fpcfga_ret_t fp_rcm_info_table(rcm_info_t *, char **);
static fpcfga_ret_t
static fpcfga_ret_t fp_rcm_init(char *, cfga_flags_t, char **, uint_t *,
fpcfga_ret_t
fpcfga_ret_t ret = FPCFGA_OK;
fpcfga_ret_t
fpcfga_ret_t
fpcfga_ret_t
err_cvt(fpcfga_ret_t fp_err)
fpcfga_ret_t
fpcfga_ret_t ret;
fpcfga_ret_t fp_err;
fpcfga_ret_t
fpcfga_ret_t ret;
fpcfga_ret_t
fpcfga_ret_t
fpcfga_ret_t ret;