Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/sys/
H A Dsunmdi.h57 typedef struct x_mdi_pathinfo *mdi_pathinfo_t; typedef
178 mdi_pathinfo_t *mdi_pi_find(dev_info_t *, char *, char *);
179 int mdi_pi_alloc(dev_info_t *, char *, char *, char *, int, mdi_pathinfo_t **);
181 char **, int, int, mdi_pathinfo_t **);
182 int mdi_pi_free(mdi_pathinfo_t *, int);
184 void mdi_hold_path(mdi_pathinfo_t *);
185 void mdi_rele_path(mdi_pathinfo_t *);
190 int mdi_pi_online(mdi_pathinfo_t *, int);
191 int mdi_pi_standby(mdi_pathinfo_t *, int);
192 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 …]
/titanic_44/usr/src/uts/common/os/
H A Dsunmdi.c217 static void i_mdi_pm_hold_pip(mdi_pathinfo_t *);
218 static void i_mdi_pm_rele_pip(mdi_pathinfo_t *);
220 mdi_pathinfo_t **ret_pip, struct buf *buf);
231 static void i_mdi_pi_kstat_destroy(mdi_pathinfo_t *);
236 static void i_mdi_phci_lock(mdi_phci_t *, mdi_pathinfo_t *);
238 static mdi_pathinfo_t *i_mdi_pi_alloc(mdi_phci_t *, char *, mdi_client_t *);
239 static void i_mdi_phci_add_path(mdi_phci_t *, mdi_pathinfo_t *);
240 static void i_mdi_client_add_path(mdi_client_t *, mdi_pathinfo_t *);
241 static void i_mdi_pi_free(mdi_phci_t *ph, mdi_pathinfo_t *,
243 static void i_mdi_phci_remove_path(mdi_phci_t *, mdi_pathinfo_t *);
[all …]
H A Ddevid_cache.c675 e_devid_cache_pathinfo(mdi_pathinfo_t *pip, ddi_devid_t devid) in e_devid_cache_pathinfo()
H A Ddevcfg.c5405 mdi_pathinfo_t *cpip; in devi_config_one()
/titanic_44/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.c486 mdi_pathinfo_t *pip; in tphci_bus_config()
552 mdi_pathinfo_t *pip, *next; in tphci_bus_unconfig()
H A Ddevinfo.c173 mdi_pathinfo_t *pk_pip;
323 static void di_register_pip(struct di_state *, mdi_pathinfo_t *, di_off_t);
2652 di_register_pip(struct di_state *st, mdi_pathinfo_t *pip, di_off_t off) in di_register_pip()
2683 di_pip_find(struct di_state *st, mdi_pathinfo_t *pip, di_off_t *off_p) in di_pip_find()
2752 di_path_getprop(mdi_pathinfo_t *pip, di_off_t *off_p, in di_path_getprop()
2883 mdi_pathinfo_t *pip; in di_getpath_data()
2885 mdi_pathinfo_t *(*next_pip)(dev_info_t *, mdi_pathinfo_t *); in di_getpath_data()
/titanic_44/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h280 mdi_pathinfo_t *vpkt_path; /* path pkt bound to */
365 mdi_pathinfo_t *svl_resrv_pip;
378 mdi_pathinfo_t *svl_first_path;
469 mdi_pathinfo_t *svs_pi; /* pathinfo being "watched" */
H A Dmpapi_impl.h284 mdi_pathinfo_t *pip; /* path information */
/titanic_44/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dmpapi_impl.c57 scsi_vhci_lun_t *, mdi_pathinfo_t *);
62 void vhci_mpapi_set_path_state(dev_info_t *, mdi_pathinfo_t *, int);
64 mdi_pathinfo_t *);
135 static int vhci_mpapi_chk_last_path(mdi_pathinfo_t *);
916 mdi_pathinfo_t *pip; in vhci_get_path_list_for_mp_lu()
946 pip = (mdi_pathinfo_t *)mppathp->resp; in vhci_get_path_list_for_mp_lu()
1001 mdi_pathinfo_t *pip; in vhci_get_path_list_for_init_port()
1049 pip = (mdi_pathinfo_t *)mppathp->resp; in vhci_get_path_list_for_init_port()
1104 mdi_pathinfo_t *pip; in vhci_get_path_list_for_target_port()
1134 pip = (mdi_pathinfo_t *)mppathp->resp; in vhci_get_path_list_for_target_port()
[all …]
H A Dscsi_vhci.c138 mdi_pathinfo_t *pip);
160 static int vhci_pathinfo_init(dev_info_t *, mdi_pathinfo_t *, int);
161 static int vhci_pathinfo_uninit(dev_info_t *, mdi_pathinfo_t *, int);
162 static int vhci_pathinfo_state_change(dev_info_t *, mdi_pathinfo_t *,
164 static int vhci_pathinfo_online(dev_info_t *, mdi_pathinfo_t *, int);
165 static int vhci_pathinfo_offline(dev_info_t *, mdi_pathinfo_t *, int);
195 static int vhci_update_pathinfo(struct scsi_device *, mdi_pathinfo_t *,
197 static void vhci_kstat_create_pathinfo(mdi_pathinfo_t *);
235 scsi_vhci_lun_t *, mdi_pathinfo_t *);
238 extern void vhci_mpapi_set_path_state(dev_info_t *, mdi_pathinfo_t *, int);
[all …]
/titanic_44/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c99 int init, dev_info_t **dchildp, mdi_pathinfo_t **pchildp, int *ppi);
3089 mdi_pathinfo_t *path = NULL; in scsi_hba_ioctl()
4199 mdi_pathinfo_t *pip; in scsi_device_unit_address()
4205 pip = (mdi_pathinfo_t *)sd->sd_pathinfo; in scsi_device_unit_address()
4219 sd->sd_pathinfo) ? (mdi_pathinfo_t *)sd->sd_pathinfo : NULL)
4225 mdi_pathinfo_t *pip; in scsi_device_prop_get_int()
4251 mdi_pathinfo_t *pip; in scsi_device_prop_get_int64()
4276 mdi_pathinfo_t *pip; in scsi_device_prop_lookup_byte_array()
4298 mdi_pathinfo_t *pip; in scsi_device_prop_lookup_int_array()
4321 mdi_pathinfo_t *pip; in scsi_device_prop_lookup_string()
[all …]
/titanic_44/usr/src/uts/common/io/ib/ibnex/
H A Dibnex.c185 static int ib_vhci_pi_init(dev_info_t *, mdi_pathinfo_t *, int);
186 static int ib_vhci_pi_uninit(dev_info_t *, mdi_pathinfo_t *, int);
187 static int ib_vhci_pi_state_change(dev_info_t *, mdi_pathinfo_t *,
2111 mdi_pathinfo_t *pip; in ibnex_pseudo_create_pi_pdip()
2169 mdi_pathinfo_t *pip; in ibnex_ioc_create_pi()
3921 ib_vhci_pi_init(dev_info_t *vdip, mdi_pathinfo_t *pip, int flag) in ib_vhci_pi_init()
3930 ib_vhci_pi_uninit(dev_info_t *vdip, mdi_pathinfo_t *pip, int flag) in ib_vhci_pi_uninit()
3972 ib_vhci_pi_state_change(dev_info_t *vdip, mdi_pathinfo_t *pip, in ib_vhci_pi_state_change()
H A Dibnex_ioctl.c2686 mdi_pathinfo_t *path = NULL, *temp; in ibnex_offline_childdip()
/titanic_44/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_ibnex.c592 mdi_pathinfo_t *pip = NULL; in ibtl_ibnex_phci_unregister()
/titanic_44/usr/src/uts/sparc/os/
H A Dbootdev.c213 mdi_pathinfo_t *pip = NULL; in i_devname_to_promname()
/titanic_44/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcpvar.h962 #define PIP(child) ((mdi_pathinfo_t *)(child))
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_lun.c303 mdi_pathinfo_t *pip = NULL; in iscsi_lun_virt_create()
H A Discsi.h536 mdi_pathinfo_t *lun_pip;
H A Discsi.c4710 mdi_pathinfo_t *pip = NULL; in iscsi_virt_lun_init()
4717 if ((pip = (mdi_pathinfo_t *)sd->sd_private) == NULL) { in iscsi_virt_lun_init()
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c337 static mdi_pathinfo_t *mptsas_find_path_addr(dev_info_t *pdip, uint64_t sasaddr,
339 static mdi_pathinfo_t *mptsas_find_path_phy(dev_info_t *pdip, uint8_t phy);
395 char *guid, dev_info_t **dip, mdi_pathinfo_t **pip, mptsas_target_t *ptgt,
401 mdi_pathinfo_t *rpip, uint_t flags);
1866 mdi_pathinfo_t *pip = NULL; in mptsas_do_detach()
3078 mdi_pathinfo_t *pip = NULL; in mptsas_scsi_tgt_init()
6190 mdi_pathinfo_t *pip; in mptsas_update_sata_bridge()
14648 mdi_pathinfo_t *pip = NULL, *savepip = NULL; in mptsas_offline_missed_luns()
15006 mdi_pathinfo_t *pip = NULL, *savepip = NULL; in mptsas_offline_target()
15077 mdi_pathinfo_t *rpip, uint_t flags) in mptsas_offline_lun()
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c601 static mdi_pathinfo_t *fcp_create_pip(struct fcp_lun *plun, int lcount,
603 static mdi_pathinfo_t *fcp_find_existing_pip(struct fcp_lun *plun,
605 static int fcp_is_pip_present(struct fcp_lun *plun, mdi_pathinfo_t *pip);
3718 mdi_pathinfo_t *pip = NULL; in fcp_port_ioctl()
12708 static mdi_pathinfo_t *
12720 mdi_pathinfo_t *pip = NULL; in fcp_create_pip()
12721 mdi_pathinfo_t *old_pip = PIP(plun->lun_cip); in fcp_create_pip()
13045 fcp_is_pip_present(struct fcp_lun *plun, mdi_pathinfo_t *pip) in fcp_is_pip_present()
13099 static mdi_pathinfo_t *
13104 mdi_pathinfo_t *pip; in fcp_find_existing_pip()
[all …]