Home
last modified time | relevance | path

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

123

/freebsd-13.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-13.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-13.1/lib/libcam/
H A Dcamlib.c84 ccb->ccb_h.path_id = dev->path_id; in cam_getccb()
276 cam_open_btl(path_id_t path_id, target_id_t target_id, lun_id_t target_lun, in cam_open_btl() argument
292 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; in cam_open_btl()
329 match_pat->path_id = path_id; in cam_open_btl()
360 __func__, path_id, target_id, (uintmax_t)target_lun); in cam_open_btl()
367 " %d:%d:%jx", __func__, path_id, target_id, in cam_open_btl()
596 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-13.1/sys/cam/
H A Dcam_compat.c159 hdr->path_id = hdr17->path_id; in cam_compat_handle_0x17()
202 hdr17->path_id = hdr->path_id; in cam_compat_handle_0x17()
297 hdr->path_id = hdr18->path_id; in cam_compat_handle_0x18()
342 hdr18->path_id = hdr->path_id; in cam_compat_handle_0x18()
404 dm18[i].result.periph_result.path_id = in cam_compat_translate_dev_match_0x18()
405 dm[i].result.periph_result.path_id; in cam_compat_translate_dev_match_0x18()
412 dm18[i].result.device_result.path_id = in cam_compat_translate_dev_match_0x18()
413 dm[i].result.device_result.path_id; in cam_compat_translate_dev_match_0x18()
H A Dcam_sim.c83 sim->path_id = CAM_PATH_ANY; in cam_sim_alloc()
185 cam_sim_set_path(struct cam_sim *sim, u_int32_t path_id) in cam_sim_set_path() argument
187 sim->path_id = path_id; in cam_sim_set_path()
H A Dcam_sim.h79 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()
H A Dcam_compat.h67 path_id_t path_id; /* Path ID for the request */ member
155 path_id_t path_id; /* Path ID for the request */ member
200 path_id_t path_id; member
205 path_id_t path_id; member
H A Dcam_xpt.c1389 dp->path_id != bus->path_id) in xptbusmatch()
1393 pp->path_id != bus->path_id) in xptbusmatch()
1404 && (cur_pattern->path_id != bus->path_id)) in xptbusmatch()
1507 && (cur_pattern->path_id != device->target->bus->path_id)) in xptdevicematch()
1610 && (cur_pattern->path_id != periph->path->bus->path_id)) in xptperiphmatch()
1715 cdm->matches[j].result.bus_result.path_id = bus->path_id; in xptedtbusfunc()
2573 bus->path_id, in xptsetasyncbusfunc()
3504 ccb_h->path_id = path->bus->path_id; in xpt_setup_ccb_flags()
3992 sim->path_id = new_bus->path_id = in xpt_bus_register()
3996 && old_bus->path_id < new_bus->path_id) in xpt_bus_register()
[all …]
H A Dcam_xpt.h92 path_id_t path_id,
96 path_id_t path_id,
137 path_id_t path_id,
H A Dcam_xpt_sim.h44 int32_t xpt_bus_deregister(path_id_t path_id);
H A Dcam_ccb.h353 path_id_t path_id; /* Path ID for the request */ member
424 path_id_t path_id; member
445 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_internal.h188 path_id_t path_id; member
/freebsd-13.1/sys/dev/hyperv/storvsc/
H A Dhv_vstorage.h122 uint8_t path_id; member
156 uint8_t path_id; member
/freebsd-13.1/sys/cam/scsi/
H A Dscsi_targetio.h63 path_id_t path_id; member
H A 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()
H A Dscsi_xpt.c2041 request_ccb->ccb_h.path_id, in scsi_scan_bus()
2083 path_id_t path_id; in scsi_scan_bus() local
2091 path_id = request_ccb->ccb_h.path_id; in scsi_scan_bus()
2235 scan_info->request_ccb->ccb_h.path_id, in scsi_scan_bus()
2260 path_id, target_id, lun_id); in scsi_scan_bus()
2336 path->bus->path_id, in scsi_scan_lun()
2975 bus->path_id, in scsi_dev_async()
3018 xpt_compile_path(&path, NULL, bus->path_id, target->target_id, in scsi_dev_async()
/freebsd-13.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()
1532 status = xpt_create_path(&path, /*periph*/ NULL, bus_softc->path_id, in ctlfe_onoffline()
1599 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1624 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1628 __func__, bus_softc->port_name, bus_softc->path_id, in ctlfe_onoffline()
1652 bus_softc->path_id, CAM_TARGET_WILDCARD, in ctlfe_online()
1717 bus_softc->path_id, CAM_TARGET_WILDCARD, in ctlfe_offline()
1749 bus_softc->path_id, bus_softc->target_id, lun_id); in ctlfe_lun_enable()
/freebsd-13.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-13.1/sys/dev/isci/
H A Disci_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()
/freebsd-13.1/sbin/camcontrol/
H A Dfwdownload.c785 dev->path_id, dev->target_id); in fw_rescan_target()
800 ccb.ccb_h.path_id = dev->path_id; in fw_rescan_target()
H A Dcamcontrol.c248 path_id_t path_id; member
544 bus_result->path_id, in getdevtree()
613 dev_result->path_id, in getdevtree()
3443 *bus = ccb.ccb_h.path_id; in parse_btl_name()
3677 ccb->ccb_h.path_id = bus_result->path_id; in rescan_or_reset_bus()
3703 bus_result->path_id, in rescan_or_reset_bus()
3770 ccb.ccb_h.path_id = bus; in scanlun_or_reset_dev()
5035 ccb.ccb_h.path_id = bus; in camdebug()
8814 patterns[0].pattern.device_pattern.path_id = devlist->path_id; in buildbusdevlist()
8817 patterns[1].pattern.periph_pattern.path_id = devlist->path_id; in buildbusdevlist()
[all …]
/freebsd-13.1/sys/dev/twa/
H A Dtw_osl_cam.c205 ccb_h->path_id, ccb_h->target_id, in tw_osli_execute_scsi()
213 ccb_h->path_id, ccb_h->target_id, in tw_osli_execute_scsi()
/freebsd-13.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-13.1/sys/dev/aic7xxx/
H A Daic7xxx_osm.c77 path_id_t path_id; in ahc_create_path() local
80 path_id = cam_sim_path(ahc->platform_data->sim_b); in ahc_create_path()
82 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path()
85 path_id, target, lun)); in ahc_create_path()

123