Home
last modified time | relevance | path

Searched refs:apidt (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c66 do_devctl_dev_create(apid_t *apidt, char *dev_path, int pathlen, in do_devctl_dev_create() argument
80 if (cvt_dyncomp_to_lawwn(apidt->dyncomp, &pwwn)) { in do_devctl_dev_create()
94 if ((bus_hdl = devctl_bus_acquire(apidt->xport_phys, 0)) == NULL) { in do_devctl_dev_create()
97 apidt->xport_phys, 0); in do_devctl_dev_create()
114 ERRARG_BUS_DEV_CREATE_UNKNOWN, apidt->dyncomp, 0); in do_devctl_dev_create()
117 apidt->dyncomp, 0); in do_devctl_dev_create()
146 dev_rcm_online(apid_t *apidt, int count, cfga_flags_t flags, char **errstring) in dev_rcm_online() argument
153 if ((apidt->flags & FLAG_DISABLE_RCM) != 0) { in dev_rcm_online()
158 lunlistp = apidt->lunlist; in dev_rcm_online()
160 for (lunlistp = apidt->lunlist; lunlistp != NULL; in dev_rcm_online()
[all …]
H A Dcfga_fp.c49 apid_t apidt = {NULL}; in cfga_change_state() local
74 if ((ret = apidt_create(ap_id, &apidt, errstring)) != FPCFGA_OK) { in cfga_change_state()
87 apidt.flags |= FLAG_DISABLE_RCM; in cfga_change_state()
90 apidt.flags |= FLAG_FORCE_UPDATE_REP; in cfga_change_state()
93 apidt.flags |= FLAG_NO_UPDATE_REP; in cfga_change_state()
101 apidt_free(&apidt); in cfga_change_state()
104 apidt.flags |= FLAG_REMOVE_UNUSABLE_FCP_DEV; in cfga_change_state()
111 apidt_free(&apidt); in cfga_change_state()
118 if (options != NULL && apidt.flags == 0) { in cfga_change_state()
121 apidt_free(&apidt); in cfga_change_state()
[all …]
H A Dcfga_fp.h518 fpcfga_ret_t invoke_cmd(const char *func, apid_t *apidt, prompt_t *prp,
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.c66 apid_t apidt = {NULL}; in cfga_change_state() local
86 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) { in cfga_change_state()
91 apidt.flags |= FLAG_DISABLE_RCM; in cfga_change_state()
94 if (apidt.dyncomp != NULL) { in cfga_change_state()
95 ret = dev_change_state(state_change_cmd, &apidt, flags, in cfga_change_state()
98 ret = bus_change_state(state_change_cmd, &apidt, confp, flags, in cfga_change_state()
102 apidt_free(&apidt); in cfga_change_state()
117 apid_t apidt = {NULL}; in cfga_private_func() local
137 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) { in cfga_private_func()
141 if (apidt.dyntype == PATH_APID) { in cfga_private_func()
[all …]
H A Dcfga_scsi.h429 scfga_ret_t invoke_cmd(const char *func, apid_t *apidt, prompt_t *prp,