Home
last modified time | relevance | path

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

123

/freebsd-12-stable/usr.sbin/mptutil/
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()
148 ccb.ccb_h.path_id = CAM_XPT_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
[all …]
/freebsd-12-stable/usr.bin/iscsictl/
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-stable/sys/cam/
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()
Dcam_sim.c84 sim->path_id = CAM_PATH_ANY; in cam_sim_alloc()
171 cam_sim_set_path(struct cam_sim *sim, u_int32_t path_id) in cam_sim_set_path() argument
173 sim->path_id = path_id; in cam_sim_set_path()
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
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()
Dcam_xpt.c262 xpt_find_bus(path_id_t path_id);
438 bus = xpt_find_bus(inccb->ccb_h.path_id); in xptdoioctl()
477 inccb->ccb_h.path_id, in xptdoioctl()
510 inccb->ccb_h.path_id, in xptdoioctl()
701 ccb->ccb_h.path_id = in xptdoioctl()
702 periph->path->bus->path_id; in xptdoioctl()
1057 path->bus->path_id, in xpt_announce_periph()
1114 path->bus->path_id, in xpt_announce_periph_sbuf()
1181 path->bus->path_id, in xpt_denounce_periph()
1221 path->bus->path_id, in xpt_denounce_periph_sbuf()
[all …]
Dcam_xpt.h93 path_id_t path_id,
97 path_id_t path_id,
138 path_id_t path_id,
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
Dcam_xpt_sim.h44 int32_t xpt_bus_deregister(path_id_t path_id);
Dcam_xpt_internal.h189 path_id_t path_id; member
/freebsd-12-stable/lib/libcam/
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()
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-stable/sys/dev/hyperv/storvsc/
Dhv_vstorage.h122 uint8_t path_id; member
156 uint8_t path_id; member
/freebsd-12-stable/sys/cam/scsi/
Dscsi_targetio.h63 path_id_t path_id; member
Dscsi_enc.c225 path_id_t path_id; in enc_async() local
237 path_id = xpt_path_path_id(path); in enc_async()
251 if (xpt_path_path_id(periph->path) != path_id && in enc_async()
Dscsi_xpt.c2064 request_ccb->ccb_h.path_id, in scsi_scan_bus()
2106 path_id_t path_id; in scsi_scan_bus() local
2114 path_id = request_ccb->ccb_h.path_id; in scsi_scan_bus()
2258 scan_info->request_ccb->ccb_h.path_id, in scsi_scan_bus()
2283 path_id, target_id, lun_id); in scsi_scan_bus()
2359 path->bus->path_id, in scsi_scan_lun()
2999 bus->path_id, in scsi_dev_async()
3043 xpt_compile_path(&path, NULL, bus->path_id, target->target_id, in scsi_dev_async()
/freebsd-12-stable/sys/cam/ctl/
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()
1534 status = xpt_create_path(&path, /*periph*/ NULL, bus_softc->path_id, in ctlfe_onoffline()
1601 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1626 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1630 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1654 bus_softc->path_id, CAM_TARGET_WILDCARD, in ctlfe_online()
1719 bus_softc->path_id, CAM_TARGET_WILDCARD, in ctlfe_offline()
1751 bus_softc->path_id, bus_softc->target_id, lun_id); in ctlfe_lun_enable()
/freebsd-12-stable/sys/dev/hptmv/
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-stable/sys/dev/isci/
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-stable/sys/dev/twa/
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-stable/sbin/camcontrol/
Dcamcontrol.c258 path_id_t path_id; member
498 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; in getdevtree()
562 bus_result->path_id, in getdevtree()
631 dev_result->path_id, in getdevtree()
751 dev = cam_open_btl(dev_result->path_id, dev_result->target_id, in print_dev_mmcsd()
838 dev = cam_open_btl(dev_result->path_id, dev_result->target_id, in print_dev_nvme()
3465 *bus = ccb.ccb_h.path_id; in parse_btl_name()
3593 ccb->ccb_h.path_id = bus; in rescan_or_reset_bus()
3639 matchccb->ccb_h.path_id = CAM_BUS_WILDCARD; in rescan_or_reset_bus()
3694 if (bus_result->path_id == CAM_XPT_PATH_ID) in rescan_or_reset_bus()
[all …]
/freebsd-12-stable/sbin/iscontrol/
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-stable/sys/dev/aic7xxx/
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-stable/share/examples/scsi_target/
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