| /freebsd-12.1/usr.sbin/mptutil/ |
| H A D | mpt_cam.c | 63 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 D | periphs.c | 73 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 D | cam_compat.c | 141 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 D | cam_sim.c | 84 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 D | cam_compat.h | 68 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 D | cam_sim.h | 70 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 D | cam_xpt.c | 1128 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 D | cam_xpt.h | 93 path_id_t path_id, 97 path_id_t path_id, 138 path_id_t path_id,
|
| H A D | cam_ccb.h | 350 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 D | cam_xpt_sim.h | 44 int32_t xpt_bus_deregister(path_id_t path_id);
|
| H A D | cam_xpt_internal.h | 189 path_id_t path_id; member
|
| /freebsd-12.1/lib/libcam/ |
| H A D | camlib.c | 85 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 D | camlib.h | 117 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 D | hv_vstorage.h | 122 uint8_t path_id; member 156 uint8_t path_id; member
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_targetio.h | 63 path_id_t path_id; member
|
| H A D | scsi_enc.c | 228 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 D | scsi_xpt.c | 2050 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 D | scsi_ctl.c | 81 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 D | osbsd.h | 234 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 D | isci_io_request.c | 150 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 D | tw_osl_cam.c | 213 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 D | camcontrol.c | 258 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 D | fsm.c | 363 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 D | aic7xxx_osm.c | 78 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 D | scsi_target.c | 213 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()
|