Home
last modified time | relevance | path

Searched refs:sc_path (Results 1 – 4 of 4) sorted by relevance

/openbsd/sys/scsi/
H A Dmpath_sym.c36 struct mpath_path sc_path; member
160 scsi_xsh_set(&sc->sc_path.p_xsh, link, sym_mpath_start); in sym_attach()
161 sc->sc_path.p_link = link; in sym_attach()
163 if (mpath_path_attach(&sc->sc_path, id, ops) != 0) in sym_attach()
180 if (sc->sc_path.p_group != NULL) in sym_activate()
181 mpath_path_detach(&sc->sc_path); in sym_activate()
192 mpath_start(&sc->sc_path, xs); in sym_mpath_start()
206 mpath_path_status(&sc->sc_path, MPATH_S_ACTIVE); in sym_mpath_status()
H A Dmpath_emc.c60 struct mpath_path sc_path; member
149 scsi_xsh_set(&sc->sc_path.p_xsh, link, emc_mpath_start); in emc_attach()
150 sc->sc_path.p_link = link; in emc_attach()
163 if (mpath_path_attach(&sc->sc_path, sp, &emc_mpath_ops) != 0) in emc_attach()
184 if (sc->sc_path.p_group != NULL) in emc_activate()
185 mpath_path_detach(&sc->sc_path); in emc_activate()
196 mpath_start(&sc->sc_path, xs); in emc_mpath_start()
251 mpath_path_status(&sc->sc_path, status); in emc_status_done()
260 error = scsi_inquire_vpd(sc->sc_path.p_link, pg, sizeof(*pg), in emc_sp_info()
H A Dmpath_rdac.c119 struct mpath_path sc_path; member
211 scsi_xsh_set(&sc->sc_path.p_xsh, link, rdac_mpath_start); in rdac_attach()
212 sc->sc_path.p_link = link; in rdac_attach()
228 if (mpath_path_attach(&sc->sc_path, id, &rdac_mpath_ops) != 0) in rdac_attach()
250 mpath_path_status(&sc->sc_path, MPATH_S_UNKNOWN); in rdac_activate()
251 if (sc->sc_path.p_group != NULL) in rdac_activate()
252 mpath_path_detach(&sc->sc_path); in rdac_activate()
263 mpath_start(&sc->sc_path, xs); in rdac_mpath_start()
327 mpath_path_status(&sc->sc_path, status); in rdac_status_done()
338 if (scsi_inquire_vpd(sc->sc_path.p_link, pg, sizeof(*pg), in rdac_groupid()
[all …]
H A Dmpath_hds.c59 struct mpath_path sc_path; member
151 scsi_xsh_set(&sc->sc_path.p_xsh, link, hds_mpath_start); in hds_attach()
152 sc->sc_path.p_link = link; in hds_attach()
168 if (mpath_path_attach(&sc->sc_path, in hds_attach()
191 if (sc->sc_path.p_group != NULL) in hds_activate()
192 mpath_path_detach(&sc->sc_path); in hds_activate()
203 mpath_start(&sc->sc_path, xs); in hds_mpath_start()
218 mpath_path_status(&sc->sc_path, MPATH_S_ACTIVE); in hds_mpath_status()
254 mpath_path_status(&sc->sc_path, status); in hds_status_done()
294 struct scsi_link *link = sc->sc_path.p_link; in hds_info()