Searched defs:apidp (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/
H A Dopl_dev_led.c54 opl_get_scf_logical_disk(const apid_t *apidp, char **errstring, argument
61 phys_path = strdup(apidp->path);
93 opl_disk_led_control(apid_t *apidp, char **errstring, struct cfga_msg *msgp, argument
101 if ((apidp == NULL) || (msgp == NULL) || (scf_disk == NULL)) {
106 retval = opl_get_scf_logical_disk((const apid_t *)apidp, errstring,
152 opl_print_locator(apid_t *apidp, struct cfga_msg *msgp, unsigned char led) argument
177 cfga_led_msg(msgp, apidp, LED_STR_LOCATOR, mode);
184 opl_print_led(apid_t *apidp, struct cfga_msg *msgp, unsigned char led) argument
209 cfga_led_msg(msgp, apidp, LED_STR_FAULT, mode);
215 apid_t *apidp,
213 opl_setlocator( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
239 opl_getled( int print_switch, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
266 opl_setled( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
304 plat_dev_led( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *argsp, cfga_flags_t flags, char **errstring) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_list.c30 apid_t *apidp; member in struct:__anon2421
91 apid_t *apidp,
103 assert(apidp->hba_phys != NULL && apidp->path != NULL);
110 ret = make_hba_logid(apidp->hba_phys, &larg.hba_logp, &l_errno);
119 larg.apidp = apidp;
134 init_flag = (apidp->flags & FLAG_USE_DIFORCE) ? DINFOFORCE : DINFOCACHE;
188 if (apidp->dyntype == PATH_APID) {
193 ret = walk_tree(apidp
90 do_list( apid_t *apidp, scfga_cmd_t cmd, ldata_list_t **llpp, int *nelemp, char **errstring) argument
[all...]
H A Dcfga_ctl.c41 static scfga_ret_t quiesce_confirm(apid_t *apidp,
43 static scfga_ret_t dev_hotplug(apid_t *apidp,
63 apid_t *apidp,
77 assert(apidp->path != NULL);
78 assert(apidp->hba_phys != NULL);
83 if (apidp->dyncomp != NULL) {
89 if (devctl_cmd(apidp->path, SCFGA_BUS_GETSTATE, &state,
110 if (critical_ctrlr(apidp->path)) {
162 if (((apidp->flags & FLAG_DISABLE_RCM) == 0) &&
166 ret = get_hba_children(apidp
61 bus_change_state( cfga_cmd_t state_change_cmd, apid_t *apidp, struct cfga_confirm *confp, cfga_flags_t flags, char **errstring) argument
249 dev_change_state( cfga_cmd_t state_change_cmd, apid_t *apidp, cfga_flags_t flags, char **errstring) argument
376 dev_remove( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
487 dev_insert( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
541 dev_replace( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
630 dev_led( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
653 reset_common( const char *func, scfga_cmd_t cmd, apid_t *apidp, prompt_t *prp, cfga_flags_t flags, char **errstring) argument
717 quiesce_required(apid_t *apidp, int *l_errnop) argument
786 quiesce_confirm( apid_t *apidp, msgid_t cmd_msg, prompt_t *prp, int *okp, int *quiesce, int *l_errnop) argument
868 suspend_in_rcm( apid_t *apidp, char ***suspend_list_ptr, char **errstring, cfga_flags_t flags) argument
926 resume_in_rcm( apid_t *apidp, char **suspend_list, char **errstring, cfga_flags_t flags) argument
958 bus_quiesce(apid_t *apidp, prompt_t *pt, char **errstring, cfga_flags_t flags) argument
1192 wait_and_cleanup(int fd, apid_t *apidp) argument
1289 dev_hotplug( apid_t *apidp, prompt_t *pt, cfga_flags_t flags, int do_quiesce, char **errstring) argument
[all...]
H A Dcfga_utils.c331 apidt_create(const char *ap_id, apid_t *apidp, char **errstring) argument
359 apidp->dyntype = NODYNCOMP;
365 apidp->dyntype = PATH_APID;
367 apidp->dyntype = DEV_APID;
381 apidp->hba_phys = hba_phys;
382 apidp->dyncomp = dyncomp;
383 apidp->path = path;
384 apidp->flags = 0;
396 apidt_free(apid_t *apidp) argument
398 if (apidp
623 cfga_led_msg(struct cfga_msg *msgp, apid_t *apidp, led_strid_t led, led_modeid_t mode) argument
773 path_apid_state_change( apid_t *apidp, scfga_cmd_t cmd, cfga_flags_t flags, char **errstring, int *l_errnop, msgid_t errid) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c408 apidt_create(const char *ap_id, apid_t *apidp, char **errstring) argument
454 apidp->xport_phys = xport_phys;
455 apidp->dyncomp = dyncomp;
456 apidp->lunlist = lunlistp;
457 apidp->flags = 0;
482 apidt_free(apid_t *apidp) argument
484 if (apidp == NULL)
487 S_FREE(apidp->xport_phys);
488 S_FREE(apidp->dyncomp);
489 lunlist_free(apidp
[all...]
H A Dcfga_list.c32 apid_t *apidp; member in struct:__anon2393
167 apid_t *apidp,
192 ret = make_xport_logid(apidp->xport_phys, &larg.xport_logp, &l_errno);
201 larg.apidp = apidp;
204 if ((ret = findMatchingAdapterPort(larg.apidp->xport_phys, &handle,
253 if (cvt_dyncomp_to_lawwn(apidp->dyncomp, &pwwn) != 0) {
290 inq_dtype = get_inq_dtype(apidp->xport_phys,
291 apidp->dyncomp, handle, &portAttrs, &discPortAttrs);
293 if (init_ldata_for_accessible_dev(apidp
166 do_list( apid_t *apidp, fpcfga_cmd_t cmd, ldata_list_t **llpp, int *nelemp, char **errstring) argument
[all...]

Completed in 68 milliseconds