Home
last modified time | relevance | path

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

123

/freebsd-12.1/usr.sbin/mptutil/
H A Dmpt_cam.c63 fetch_path_id(path_id_t *path_id) in fetch_path_id() argument
118 *path_id = ccb.cdm.matches[0].result.bus_result.path_id; in fetch_path_id()
129 path_id_t path_id; in mpt_query_disk() local
141 error = fetch_path_id(&path_id); in mpt_query_disk()
165 p->path_id = path_id; in mpt_query_disk()
399 path_id_t path_id; in mpt_fetch_disks() local
407 error = fetch_path_id(&path_id); in mpt_fetch_disks()
430 p->path_id = path_id; in mpt_fetch_disks()
526 path_id_t path_id; in mpt_rescan_bus() local
536 error = fetch_path_id(&path_id); in mpt_rescan_bus()
[all …]
/freebsd-12.1/usr.bin/iscsictl/
H A Dperiphs.c73 path_id_t path_id; in print_periphs() local
86 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; in print_periphs()
108 path_id = -1; /* Make GCC happy. */ in print_periphs()
182 path_id = periph_result->path_id; in print_periphs()
199 have_path_id ? (int)path_id : -1, 0, have_path_id ? 0 : -1); in print_periphs()
/freebsd-12.1/sys/cam/
H A Dcam_compat.c141 hdr->path_id = hdr17->path_id; in cam_compat_handle_0x17()
184 hdr17->path_id = hdr->path_id; in cam_compat_handle_0x17()
279 hdr->path_id = hdr18->path_id; in cam_compat_handle_0x18()
324 hdr18->path_id = hdr->path_id; in cam_compat_handle_0x18()
386 dm18[i].result.periph_result.path_id = in cam_compat_translate_dev_match_0x18()
387 dm[i].result.periph_result.path_id; in cam_compat_translate_dev_match_0x18()
394 dm18[i].result.device_result.path_id = in cam_compat_translate_dev_match_0x18()
395 dm[i].result.device_result.path_id; in cam_compat_translate_dev_match_0x18()
H A Dcam_sim.c84 sim->path_id = CAM_PATH_ANY; in cam_sim_alloc()
172 cam_sim_set_path(struct cam_sim *sim, u_int32_t path_id) in cam_sim_set_path() argument
174 sim->path_id = path_id; in cam_sim_set_path()
H A Dcam_compat.h68 path_id_t path_id; /* Path ID for the request */ member
156 path_id_t path_id; /* Path ID for the request */ member
201 path_id_t path_id; member
206 path_id_t path_id; member
H A Dcam_sim.h70 void cam_sim_set_path(struct cam_sim *sim, u_int32_t path_id);
101 u_int32_t path_id;/* The Boot device may set this to 0? */ member
120 return (sim->path_id); in cam_sim_path()
H A Dcam_xpt.c1128 path->bus->path_id, in xpt_announce_periph_sbuf()
1235 path->bus->path_id, in xpt_denounce_periph_sbuf()
1437 && (cur_pattern->path_id != bus->path_id)) in xptbusmatch()
1544 && (cur_pattern->path_id != device->target->bus->path_id)) in xptdevicematch()
1669 && (cur_pattern->path_id != periph->path->bus->path_id)) in xptperiphmatch()
1774 cdm->matches[j].result.bus_result.path_id = bus->path_id; in xptedtbusfunc()
2632 bus->path_id, in xptsetasyncbusfunc()
3583 ccb_h->path_id = path->bus->path_id; in xpt_setup_ccb_flags()
4078 sim->path_id = new_bus->path_id = in xpt_bus_register()
4082 && old_bus->path_id < new_bus->path_id) in xpt_bus_register()
[all …]
H A Dcam_xpt.h93 path_id_t path_id,
97 path_id_t path_id,
138 path_id_t path_id,
H A Dcam_ccb.h350 path_id_t path_id; /* Path ID for the request */ member
422 path_id_t path_id; member
444 path_id_t path_id; member
464 path_id_t path_id; member
491 path_id_t path_id; member
502 path_id_t path_id; member
512 path_id_t path_id; member
H A Dcam_xpt_sim.h44 int32_t xpt_bus_deregister(path_id_t path_id);
H A Dcam_xpt_internal.h189 path_id_t path_id; member
/freebsd-12.1/lib/libcam/
H A Dcamlib.c85 ccb->ccb_h.path_id = dev->path_id; in cam_getccb()
274 cam_open_btl(path_id_t path_id, target_id_t target_id, lun_id_t target_lun, in cam_open_btl() argument
290 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; in cam_open_btl()
327 match_pat->path_id = path_id; in cam_open_btl()
358 __func__, path_id, target_id, (uintmax_t)target_lun); in cam_open_btl()
365 " %d:%d:%jx", __func__, path_id, target_id, in cam_open_btl()
594 device->path_id = ccb.ccb_h.path_id; in cam_real_open_device()
H A Dcamlib.h117 path_id_t path_id; /* System SCSI bus number */ member
136 struct cam_device * cam_open_btl(path_id_t path_id, target_id_t target_id,
/freebsd-12.1/sys/dev/hyperv/storvsc/
H A Dhv_vstorage.h122 uint8_t path_id; member
156 uint8_t path_id; member
/freebsd-12.1/sys/cam/scsi/
H A Dscsi_targetio.h63 path_id_t path_id; member
H A Dscsi_enc.c228 path_id_t path_id; in enc_async() local
240 path_id = xpt_path_path_id(path); in enc_async()
254 if (xpt_path_path_id(periph->path) != path_id && in enc_async()
H A Dscsi_xpt.c2050 request_ccb->ccb_h.path_id, in scsi_scan_bus()
2092 path_id_t path_id; in scsi_scan_bus() local
2100 path_id = request_ccb->ccb_h.path_id; in scsi_scan_bus()
2244 scan_info->request_ccb->ccb_h.path_id, in scsi_scan_bus()
2269 path_id, target_id, lun_id); in scsi_scan_bus()
2345 path->bus->path_id, in scsi_scan_lun()
2985 bus->path_id, in scsi_dev_async()
3029 xpt_compile_path(&path, NULL, bus->path_id, target->target_id, in scsi_dev_async()
/freebsd-12.1/sys/cam/ctl/
H A Dscsi_ctl.c81 path_id_t path_id; member
278 if (softc->path_id == xpt_path_path_id(path)) in ctlfeasync()
325 softc->path_id = cpi->ccb_h.path_id; in ctlfeasync()
1533 status = xpt_create_path(&path, /*periph*/ NULL, bus_softc->path_id, in ctlfe_onoffline()
1600 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1625 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1629 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1653 bus_softc->path_id, CAM_TARGET_WILDCARD, in ctlfe_online()
1718 bus_softc->path_id, CAM_TARGET_WILDCARD, in ctlfe_offline()
1750 bus_softc->path_id, bus_softc->target_id, lun_id); in ctlfe_lun_enable()
/freebsd-12.1/sys/dev/hptmv/
H A Dosbsd.h234 hpt_get_periph(int path_id,int target_id) in hpt_get_periph() argument
240 status = xpt_create_path(&path, NULL, path_id, target_id, 0); in hpt_get_periph()
/freebsd-12.1/sys/dev/isci/
H A Disci_io_request.c150 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
161 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
169 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
212 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
/freebsd-12.1/sys/dev/twa/
H A Dtw_osl_cam.c213 ccb_h->path_id, ccb_h->target_id, in tw_osli_execute_scsi()
221 ccb_h->path_id, ccb_h->target_id, in tw_osli_execute_scsi()
/freebsd-12.1/sbin/camcontrol/
H A Dcamcontrol.c258 path_id_t path_id; member
562 bus_result->path_id, in getdevtree()
631 dev_result->path_id, in getdevtree()
3466 *bus = ccb.ccb_h.path_id; in parse_btl_name()
3700 ccb->ccb_h.path_id = bus_result->path_id; in rescan_or_reset_bus()
3726 bus_result->path_id, in rescan_or_reset_bus()
3793 ccb.ccb_h.path_id = bus; in scanlun_or_reset_dev()
5061 ccb.ccb_h.path_id = bus; in camdebug()
8745 patterns[0].pattern.device_pattern.path_id = devlist->path_id; in buildbusdevlist()
8748 patterns[1].pattern.periph_pattern.path_id = devlist->path_id; in buildbusdevlist()
[all …]
/freebsd-12.1/sbin/iscontrol/
H A Dfsm.c363 sess->cam.path_id, sess->cam.target_id); in doCAM()
365 sess->camdev = cam_open_btl(sess->cam.path_id, sess->cam.target_id, in doCAM()
/freebsd-12.1/sys/dev/aic7xxx/
H A Daic7xxx_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()
/freebsd-12.1/share/examples/scsi_target/
H A Dscsi_target.c213 sscanf(argv[0], "%u:%u:%u", &ioc_enlun.path_id, &ioc_enlun.target_id, in main()
217 if (ioc_enlun.path_id == CAM_BUS_WILDCARD || in main()

123