Home
last modified time | relevance | path

Searched refs:mdi_pathinfo_t (Results 1 – 25 of 25) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dsunmdi.h61 typedef struct x_mdi_pathinfo *mdi_pathinfo_t; typedef
182 mdi_pathinfo_t *mdi_pi_find(dev_info_t *, char *, char *);
183 int mdi_pi_alloc(dev_info_t *, char *, char *, char *, int, mdi_pathinfo_t **);
185 char **, int, int, mdi_pathinfo_t **);
186 int mdi_pi_free(mdi_pathinfo_t *, int);
188 void mdi_hold_path(mdi_pathinfo_t *);
189 void mdi_rele_path(mdi_pathinfo_t *);
194 int mdi_pi_online(mdi_pathinfo_t *, int);
195 int mdi_pi_standby(mdi_pathinfo_t *, int);
196 int mdi_pi_fault(mdi_pathinfo_t *, int);
[all …]
H A Dmdi_impldefs.h225 int (*vo_pi_init)(dev_info_t *vdip, mdi_pathinfo_t *pip, int flags);
228 int (*vo_pi_uninit)(dev_info_t *vdip, mdi_pathinfo_t *pip,
232 int (*vo_pi_state_change)(dev_info_t *vdip, mdi_pathinfo_t *pip,
350 mdi_pathinfo_t *ph_path_head; /* pi list head */
351 mdi_pathinfo_t *ph_path_tail; /* pi list tail */
526 mdi_pathinfo_t *ct_path_head; /* multi path list head */
527 mdi_pathinfo_t *ct_path_tail; /* multi path list tail */
528 mdi_pathinfo_t *ct_path_last; /* last path used for i/o */
1166 void *, mdi_pathinfo_t **);
1227 int mdi_pi_kstat_exists(mdi_pathinfo_t *);
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dsunmdi.c220 static void i_mdi_pm_hold_pip(mdi_pathinfo_t *);
221 static void i_mdi_pm_rele_pip(mdi_pathinfo_t *);
223 mdi_pathinfo_t **ret_pip, struct buf *buf);
234 static void i_mdi_pi_kstat_destroy(mdi_pathinfo_t *);
239 static void i_mdi_phci_lock(mdi_phci_t *, mdi_pathinfo_t *);
241 static mdi_pathinfo_t *i_mdi_pi_alloc(mdi_phci_t *, char *, mdi_client_t *);
242 static void i_mdi_phci_add_path(mdi_phci_t *, mdi_pathinfo_t *);
243 static void i_mdi_client_add_path(mdi_client_t *, mdi_pathinfo_t *);
244 static void i_mdi_pi_free(mdi_phci_t *ph, mdi_pathinfo_t *,
246 static void i_mdi_phci_remove_path(mdi_phci_t *, mdi_pathinfo_t *);
[all …]
H A Ddevid_cache.c692 e_devid_cache_pathinfo(mdi_pathinfo_t *pip, ddi_devid_t devid) in e_devid_cache_pathinfo()
H A Ddevcfg.c5554 mdi_pathinfo_t *cpip; in devi_config_one()
/illumos-gate/usr/src/uts/common/io/
H A Dtvhci.c63 static int tvhci_pi_init(dev_info_t *, mdi_pathinfo_t *, int);
64 static int tvhci_pi_uninit(dev_info_t *, mdi_pathinfo_t *, int);
65 static int tvhci_pi_state_change(dev_info_t *, mdi_pathinfo_t *,
403 tvhci_pi_init(dev_info_t *vdip, mdi_pathinfo_t *pip, int flags) in tvhci_pi_init()
410 tvhci_pi_uninit(dev_info_t *vdip, mdi_pathinfo_t *pip, int flags) in tvhci_pi_uninit()
417 tvhci_pi_state_change(dev_info_t *vdip, mdi_pathinfo_t *pip, in tvhci_pi_state_change()
H A Dtphci.c489 mdi_pathinfo_t *pip; in tphci_bus_config()
556 mdi_pathinfo_t *pip, *next; in tphci_bus_unconfig()
H A Ddevinfo.c175 mdi_pathinfo_t *pk_pip;
325 static void di_register_pip(struct di_state *, mdi_pathinfo_t *, di_off_t);
2654 di_register_pip(struct di_state *st, mdi_pathinfo_t *pip, di_off_t off) in di_register_pip()
2685 di_pip_find(struct di_state *st, mdi_pathinfo_t *pip, di_off_t *off_p) in di_pip_find()
2754 di_path_getprop(mdi_pathinfo_t *pip, di_off_t *off_p, in di_path_getprop()
2885 mdi_pathinfo_t *pip; in di_getpath_data()
2887 mdi_pathinfo_t *(*next_pip)(dev_info_t *, mdi_pathinfo_t *); in di_getpath_data()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dmpapi_impl.c59 scsi_vhci_lun_t *, mdi_pathinfo_t *);
64 void vhci_mpapi_set_path_state(dev_info_t *, mdi_pathinfo_t *, int);
66 mdi_pathinfo_t *);
137 static int vhci_mpapi_chk_last_path(mdi_pathinfo_t *);
902 mdi_pathinfo_t *pip; in vhci_get_path_list_for_mp_lu()
932 pip = (mdi_pathinfo_t *)mppathp->resp; in vhci_get_path_list_for_mp_lu()
987 mdi_pathinfo_t *pip; in vhci_get_path_list_for_init_port()
1035 pip = (mdi_pathinfo_t *)mppathp->resp; in vhci_get_path_list_for_init_port()
1090 mdi_pathinfo_t *pip; in vhci_get_path_list_for_target_port()
1120 pip = (mdi_pathinfo_t *)mppathp->resp; in vhci_get_path_list_for_target_port()
[all …]
H A Dscsi_vhci.c141 mdi_pathinfo_t *pip);
163 static int vhci_pathinfo_init(dev_info_t *, mdi_pathinfo_t *, int);
164 static int vhci_pathinfo_uninit(dev_info_t *, mdi_pathinfo_t *, int);
165 static int vhci_pathinfo_state_change(dev_info_t *, mdi_pathinfo_t *,
167 static int vhci_pathinfo_online(dev_info_t *, mdi_pathinfo_t *, int);
168 static int vhci_pathinfo_offline(dev_info_t *, mdi_pathinfo_t *, int);
198 static int vhci_update_pathinfo(struct scsi_device *, mdi_pathinfo_t *,
200 static void vhci_kstat_create_pathinfo(mdi_pathinfo_t *);
238 scsi_vhci_lun_t *, mdi_pathinfo_t *);
241 extern void vhci_mpapi_set_path_state(dev_info_t *, mdi_pathinfo_t *, int);
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h283 mdi_pathinfo_t *vpkt_path; /* path pkt bound to */
368 mdi_pathinfo_t *svl_resrv_pip;
381 mdi_pathinfo_t *svl_first_path;
472 mdi_pathinfo_t *svs_pi; /* pathinfo being "watched" */
H A Dmpapi_impl.h298 mdi_pathinfo_t *pip; /* path information */
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c102 int init, dev_info_t **dchildp, mdi_pathinfo_t **pchildp, int *ppi);
3093 mdi_pathinfo_t *path = NULL; in scsi_hba_ioctl()
4204 mdi_pathinfo_t *pip; in scsi_device_unit_address()
4210 pip = (mdi_pathinfo_t *)sd->sd_pathinfo; in scsi_device_unit_address()
4224 sd->sd_pathinfo) ? (mdi_pathinfo_t *)sd->sd_pathinfo : NULL)
4230 mdi_pathinfo_t *pip; in scsi_device_prop_get_int()
4256 mdi_pathinfo_t *pip; in scsi_device_prop_get_int64()
4281 mdi_pathinfo_t *pip; in scsi_device_prop_lookup_byte_array()
4303 mdi_pathinfo_t *pip; in scsi_device_prop_lookup_int_array()
4326 mdi_pathinfo_t *pip; in scsi_device_prop_lookup_string()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi.h295 mdi_pathinfo_t *pd_pip;
296 mdi_pathinfo_t *pd_pip_offlined;
H A Dsmartpqi_hba.c163 mdi_pathinfo_t *pip; in pqi_scsi_tgt_init()
181 if ((pip = (mdi_pathinfo_t *)sd->sd_private) == NULL) in pqi_scsi_tgt_init()
1005 mdi_pathinfo_t *pip = NULL;
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex.c190 static int ib_vhci_pi_init(dev_info_t *, mdi_pathinfo_t *, int);
191 static int ib_vhci_pi_uninit(dev_info_t *, mdi_pathinfo_t *, int);
192 static int ib_vhci_pi_state_change(dev_info_t *, mdi_pathinfo_t *,
2116 mdi_pathinfo_t *pip; in ibnex_pseudo_create_pi_pdip()
2174 mdi_pathinfo_t *pip; in ibnex_ioc_create_pi()
3926 ib_vhci_pi_init(dev_info_t *vdip, mdi_pathinfo_t *pip, int flag) in ib_vhci_pi_init()
3935 ib_vhci_pi_uninit(dev_info_t *vdip, mdi_pathinfo_t *pip, int flag) in ib_vhci_pi_uninit()
3977 ib_vhci_pi_state_change(dev_info_t *vdip, mdi_pathinfo_t *pip, in ib_vhci_pi_state_change()
H A Dibnex_ioctl.c2689 mdi_pathinfo_t *path = NULL, *temp; in ibnex_offline_childdip()
/illumos-gate/usr/src/uts/sparc/os/
H A Dbootdev.c217 mdi_pathinfo_t *pip = NULL; in i_devname_to_promname()
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_ibnex.c596 mdi_pathinfo_t *pip = NULL; in ibtl_ibnex_phci_unregister()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcpvar.h962 #define PIP(child) ((mdi_pathinfo_t *)(child))
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_lun.c384 mdi_pathinfo_t *pip = NULL; in iscsi_lun_virt_create()
H A Discsi.h536 mdi_pathinfo_t *lun_pip;
H A Discsi.c4709 mdi_pathinfo_t *pip = NULL; in iscsi_virt_lun_init()
4716 if ((pip = (mdi_pathinfo_t *)sd->sd_private) == NULL) { in iscsi_virt_lun_init()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c349 static mdi_pathinfo_t *mptsas_find_path_addr(dev_info_t *pdip, uint64_t sasaddr,
351 static mdi_pathinfo_t *mptsas_find_path_phy(dev_info_t *pdip, uint8_t phy);
407 char *guid, dev_info_t **dip, mdi_pathinfo_t **pip, mptsas_target_t *ptgt,
413 mdi_pathinfo_t *rpip, uint_t flags);
1895 mdi_pathinfo_t *pip = NULL; in mptsas_do_detach()
3166 mdi_pathinfo_t *pip = NULL; in mptsas_scsi_tgt_init()
6278 mdi_pathinfo_t *pip; in mptsas_update_sata_bridge()
14733 mdi_pathinfo_t *pip = NULL, *savepip = NULL; in mptsas_offline_missed_luns()
15091 mdi_pathinfo_t *pip = NULL, *savepip = NULL; in mptsas_offline_target()
15162 mdi_pathinfo_t *rpip, uint_t flags) in mptsas_offline_lun()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c605 static mdi_pathinfo_t *fcp_create_pip(struct fcp_lun *plun, int lcount,
607 static mdi_pathinfo_t *fcp_find_existing_pip(struct fcp_lun *plun,
609 static int fcp_is_pip_present(struct fcp_lun *plun, mdi_pathinfo_t *pip);
3722 mdi_pathinfo_t *pip = NULL; in fcp_port_ioctl()
12696 static mdi_pathinfo_t *
12708 mdi_pathinfo_t *pip = NULL; in fcp_create_pip()
12709 mdi_pathinfo_t *old_pip = PIP(plun->lun_cip); in fcp_create_pip()
13032 fcp_is_pip_present(struct fcp_lun *plun, mdi_pathinfo_t *pip) in fcp_is_pip_present()
13086 static mdi_pathinfo_t *
13091 mdi_pathinfo_t *pip; in fcp_find_existing_pip()
[all …]