Home
last modified time | relevance | path

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

12

/trueos/usr.sbin/mptutil/
HDmpt_cam.c61 fetch_path_id(path_id_t *path_id) in fetch_path_id() argument
116 *path_id = ccb.cdm.matches[0].result.bus_result.path_id; in fetch_path_id()
127 path_id_t path_id; in mpt_query_disk() local
139 error = fetch_path_id(&path_id); in mpt_query_disk()
146 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; in mpt_query_disk()
163 p->path_id = path_id; in mpt_query_disk()
400 path_id_t path_id; in mpt_fetch_disks() local
408 error = fetch_path_id(&path_id); in mpt_fetch_disks()
431 p->path_id = path_id; in mpt_fetch_disks()
527 path_id_t path_id; in mpt_rescan_bus() local
[all …]
/trueos/sys/cam/
HDcam_sim.c82 sim->path_id = CAM_PATH_ANY; in cam_sim_alloc()
151 cam_sim_set_path(struct cam_sim *sim, u_int32_t path_id) in cam_sim_set_path() argument
153 sim->path_id = path_id; in cam_sim_set_path()
HDcam_sim.h68 void cam_sim_set_path(struct cam_sim *sim, u_int32_t path_id);
99 u_int32_t path_id;/* The Boot device may set this to 0? */ member
118 return (sim->path_id); in cam_sim_path()
HDcam_xpt.c253 xpt_find_bus(path_id_t path_id);
421 bus = xpt_find_bus(inccb->ccb_h.path_id); in xptdoioctl()
460 inccb->ccb_h.path_id, in xptdoioctl()
493 inccb->ccb_h.path_id, in xptdoioctl()
679 ccb->ccb_h.path_id = in xptdoioctl()
680 periph->path->bus->path_id; in xptdoioctl()
1024 path->bus->path_id, in xpt_announce_periph()
1077 path->bus->path_id, in xpt_denounce_periph()
1248 && (cur_pattern->path_id != bus->path_id)) in xptbusmatch()
1355 && (cur_pattern->path_id != device->target->bus->path_id)) in xptdevicematch()
[all …]
HDcam_xpt.h80 path_id_t path_id,
84 path_id_t path_id,
125 path_id_t path_id,
HDcam_compat.c127 hdr->path_id = hdr17->path_id; in cam_compat_handle_0x17()
154 hdr17->path_id = hdr->path_id; in cam_compat_handle_0x17()
HDcam_ccb.h326 path_id_t path_id; /* Path ID for the request */ member
398 path_id_t path_id; member
420 path_id_t path_id; member
440 path_id_t path_id; member
467 path_id_t path_id; member
478 path_id_t path_id; member
488 path_id_t path_id; member
HDcam_xpt_sim.h42 int32_t xpt_bus_deregister(path_id_t path_id);
HDcam_compat.h66 path_id_t path_id; /* Path ID for the request */ member
HDcam_xpt_internal.h149 path_id_t path_id; member
HDcam_periph.c165 path_id_t path_id; in cam_periph_alloc() local
207 path_id = xpt_path_path_id(path); in cam_periph_alloc()
220 status = xpt_create_path(&path, periph, path_id, target_id, lun_id); in cam_periph_alloc()
237 periph->unit_number = camperiphunit(*p_drv, path_id, target_id, lun_id); in cam_periph_alloc()
/trueos/lib/libcam/
HDcamlib.c82 ccb->ccb_h.path_id = dev->path_id; in cam_getccb()
269 cam_open_btl(path_id_t path_id, target_id_t target_id, lun_id_t target_lun, in cam_open_btl() argument
286 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; in cam_open_btl()
322 match_pat->path_id = path_id; in cam_open_btl()
353 func_name, path_id, target_id, (uintmax_t)target_lun); in cam_open_btl()
360 " %d:%d:%jx", func_name, path_id, target_id, in cam_open_btl()
587 device->path_id = ccb.ccb_h.path_id; in cam_real_open_device()
HDcamlib.h115 path_id_t path_id; /* System SCSI bus number */ member
134 struct cam_device * cam_open_btl(path_id_t path_id, target_id_t target_id,
/trueos/sys/dev/hyperv/storvsc/
HDhv_vstorage.h115 uint8_t path_id; member
149 uint8_t path_id; member
/trueos/sys/cam/ctl/
HDscsi_ctl.c77 path_id_t path_id; member
271 if (softc->path_id == xpt_path_path_id(path)) in ctlfeasync()
329 cpi->unit_number, cpi->ccb_h.path_id, in ctlfeasync()
335 cpi->unit_number, cpi->ccb_h.path_id); in ctlfeasync()
361 softc->path_id = cpi->ccb_h.path_id; in ctlfeasync()
1574 status = xpt_create_path(&path, /*periph*/ NULL, bus_softc->path_id, in ctlfe_onoffline()
1703 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1708 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1731 bus_softc->path_id, CAM_TARGET_WILDCARD, in ctlfe_online()
1796 bus_softc->path_id, CAM_TARGET_WILDCARD, in ctlfe_offline()
[all …]
/trueos/sys/cam/scsi/
HDscsi_targetio.h61 path_id_t path_id; member
HDscsi_xpt.c2009 request_ccb->ccb_h.path_id, in scsi_scan_bus()
2051 path_id_t path_id; in scsi_scan_bus() local
2059 path_id = request_ccb->ccb_h.path_id; in scsi_scan_bus()
2207 scan_info->request_ccb->ccb_h.path_id, in scsi_scan_bus()
2232 path_id, target_id, lun_id); in scsi_scan_bus()
2308 path->bus->path_id, in scsi_scan_lun()
2946 bus->path_id, in scsi_dev_async()
2990 xpt_compile_path(&path, NULL, bus->path_id, target->target_id, in scsi_dev_async()
HDscsi_enc.c212 path_id_t path_id; in enc_async() local
224 path_id = xpt_path_path_id(path); in enc_async()
230 if (xpt_path_path_id(periph->path) != path_id in enc_async()
/trueos/sys/dev/hptmv/
HDosbsd.h242 hpt_get_periph(int path_id,int target_id) in hpt_get_periph() argument
248 status = xpt_create_path(&path, NULL, path_id, target_id, 0); in hpt_get_periph()
/trueos/sys/dev/isci/
HDisci_io_request.c148 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
159 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
167 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
210 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
/trueos/usr.bin/iscsictl/
HDperiphs.c83 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; in print_periphs()
/trueos/sys/dev/twa/
HDtw_osl_cam.c211 ccb_h->path_id, ccb_h->target_id, ccb_h->target_lun); in tw_osli_execute_scsi()
218 ccb_h->path_id, ccb_h->target_id, ccb_h->target_lun); in tw_osli_execute_scsi()
/trueos/sbin/camcontrol/
HDcamcontrol.c245 path_id_t path_id; member
444 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; in getdevtree()
508 bus_result->path_id, in getdevtree()
590 dev_result->path_id, in getdevtree()
3136 ccb.ccb_h.path_id = bus; in rescan_or_reset_bus()
3179 matchccb.ccb_h.path_id = CAM_BUS_WILDCARD; in rescan_or_reset_bus()
3234 if (bus_result->path_id == CAM_XPT_PATH_ID) in rescan_or_reset_bus()
3239 ccb.ccb_h.path_id = bus_result->path_id; in rescan_or_reset_bus()
3256 bus_result->path_id); in rescan_or_reset_bus()
3265 bus_result->path_id, in rescan_or_reset_bus()
[all …]
/trueos/sys/dev/aic7xxx/
HDaic7xxx_osm.c78 path_id_t path_id; in ahc_create_path() local
81 path_id = cam_sim_path(ahc->platform_data->sim_b); in ahc_create_path()
83 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path()
86 path_id, target, lun)); in ahc_create_path()
/trueos/sbin/iscontrol/
HDfsm.c360 sess->cam.path_id, sess->cam.target_id); in doCAM()
362 sess->camdev = cam_open_btl(sess->cam.path_id, sess->cam.target_id, in doCAM()

12