Home
last modified time | relevance | path

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

12

/freebsd-14.2/usr.bin/iscsictl/
H A Dperiphs.c71 path_id_t path_id; in print_periphs() local
84 ccb.ccb_h.path_id = CAM_XPT_PATH_ID; in print_periphs()
106 path_id = -1; /* Make GCC happy. */ in print_periphs()
180 path_id = periph_result->path_id; in print_periphs()
197 have_path_id ? (int)path_id : -1, 0, have_path_id ? 0 : -1); in print_periphs()
/freebsd-14.2/usr.sbin/mptutil/
H A Dmpt_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()
163 p->path_id = path_id; in mpt_query_disk()
397 path_id_t path_id; in mpt_fetch_disks() local
405 error = fetch_path_id(&path_id); in mpt_fetch_disks()
428 p->path_id = path_id; in mpt_fetch_disks()
524 path_id_t path_id; in mpt_rescan_bus() local
534 error = fetch_path_id(&path_id); in mpt_rescan_bus()
[all …]
/freebsd-14.2/sys/cam/
H A Dcam_sim.c116 sim->path_id = CAM_PATH_ANY; in cam_sim_alloc()
210 cam_sim_set_path(struct cam_sim *sim, uint32_t path_id) in cam_sim_set_path() argument
212 sim->path_id = path_id; in cam_sim_set_path()
H A Dcam_compat.c157 hdr->path_id = hdr17->path_id; in cam_compat_handle_0x17()
200 hdr17->path_id = hdr->path_id; in cam_compat_handle_0x17()
295 hdr->path_id = hdr18->path_id; in cam_compat_handle_0x18()
340 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.h77 void cam_sim_set_path(struct cam_sim *sim, uint32_t path_id);
96 uint32_t path_id;/* The Boot device may set this to 0? */ member
109 return (sim->path_id); in cam_sim_path()
H A Dcam_compat.h65 path_id_t path_id; /* Path ID for the request */ member
153 path_id_t path_id; /* Path ID for the request */ member
198 path_id_t path_id; member
203 path_id_t path_id; member
H A Dcam_xpt.c1318 dp->path_id != bus->path_id) in xptbusmatch()
1322 pp->path_id != bus->path_id) in xptbusmatch()
1333 && (cur_pattern->path_id != bus->path_id)) in xptbusmatch()
1436 && (cur_pattern->path_id != device->target->bus->path_id)) in xptdevicematch()
1539 && (cur_pattern->path_id != periph->path->bus->path_id)) in xptperiphmatch()
1644 cdm->matches[j].result.bus_result.path_id = bus->path_id; in xptedtbusfunc()
2503 bus->path_id, in xptsetasyncbusfunc()
3420 ccb_h->path_id = path->bus->path_id; in xpt_setup_ccb_flags()
3906 sim->path_id = new_bus->path_id = in xpt_bus_register()
3910 && old_bus->path_id < new_bus->path_id) in xpt_bus_register()
[all …]
H A Dcam_xpt.h90 path_id_t path_id,
94 path_id_t path_id,
136 path_id_t path_id,
H A Dcam_xpt_sim.h42 int xpt_bus_deregister(path_id_t path_id);
H A Dcam_ccb.h363 path_id_t path_id; /* Path ID for the request */ member
434 path_id_t path_id; member
455 path_id_t path_id; member
474 path_id_t path_id; member
501 path_id_t path_id; member
512 path_id_t path_id; member
522 path_id_t path_id; member
H A Dcam_xpt_internal.h183 path_id_t path_id; member
/freebsd-14.2/lib/libcam/
H A Dcamlib.c82 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.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,
/freebsd-14.2/sys/dev/hyperv/storvsc/
H A Dhv_vstorage.h120 uint8_t path_id; member
154 uint8_t path_id; member
/freebsd-14.2/sys/cam/scsi/
H A Dscsi_targetio.h61 path_id_t path_id; member
H A Dscsi_enc.c223 path_id_t path_id; in enc_async() local
235 path_id = xpt_path_path_id(path); in enc_async()
249 if (xpt_path_path_id(periph->path) != path_id && in enc_async()
H A Dscsi_xpt.c2037 request_ccb->ccb_h.path_id, in scsi_scan_bus()
2079 path_id_t path_id; in scsi_scan_bus() local
2087 path_id = request_ccb->ccb_h.path_id; in scsi_scan_bus()
2231 scan_info->request_ccb->ccb_h.path_id, in scsi_scan_bus()
2256 path_id, target_id, lun_id); in scsi_scan_bus()
2333 path->bus->path_id, in scsi_scan_lun()
2984 bus->path_id, in scsi_dev_async()
3027 xpt_compile_path(&path, NULL, bus->path_id, target->target_id, in scsi_dev_async()
/freebsd-14.2/sys/cam/ctl/
H A Dscsi_ctl.c79 path_id_t path_id; member
276 if (softc->path_id == xpt_path_path_id(path)) in ctlfeasync()
323 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-14.2/sys/dev/hptmv/
H A Dosbsd.h230 hpt_get_periph(int path_id,int target_id) in hpt_get_periph() argument
236 status = xpt_create_path(&path, NULL, path_id, target_id, 0); in hpt_get_periph()
/freebsd-14.2/sys/dev/isci/
H A Disci_io_request.c146 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
157 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
165 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
209 ccb->ccb_h.path_id, ccb->ccb_h.target_id, in isci_io_request_complete()
/freebsd-14.2/contrib/tcpdump/
H A Dprint-bgp.c1719 u_int path_id = 0; in bgp_nlri_print() local
1726 path_id = GET_BE_U_4(tptr); in bgp_nlri_print()
1737 ND_PRINT(" Path Id: %u", path_id); in bgp_nlri_print()
1788 path_id = GET_BE_U_4(tptr); in bgp_nlri_print()
1799 ND_PRINT(" Path Id: %u", path_id); in bgp_nlri_print()
2732 u_int path_id = 0; in bgp_update_print() local
2765 path_id = GET_BE_U_4(p); in bgp_update_print()
2779 ND_PRINT(" Path Id: %u", path_id); in bgp_update_print()
2884 path_id = GET_BE_U_4(p); in bgp_update_print()
2897 ND_PRINT(" Path Id: %u", path_id); in bgp_update_print()
/freebsd-14.2/sbin/camcontrol/
H A Dfwdownload.c781 dev->path_id, dev->target_id); in fw_rescan_target()
796 ccb.ccb_h.path_id = dev->path_id; in fw_rescan_target()
H A Dcamcontrol.c253 path_id_t path_id; member
549 bus_result->path_id, in getdevtree()
616 dev_result->path_id, in getdevtree()
3540 *bus = ccb.ccb_h.path_id; in parse_btl_name()
3774 ccb->ccb_h.path_id = bus_result->path_id; in rescan_or_reset_bus()
3800 bus_result->path_id, in rescan_or_reset_bus()
3867 ccb.ccb_h.path_id = bus; in scanlun_or_reset_dev()
5117 ccb.ccb_h.path_id = bus; in camdebug()
8867 patterns[0].pattern.device_pattern.path_id = devlist->path_id; in buildbusdevlist()
8870 patterns[1].pattern.periph_pattern.path_id = devlist->path_id; in buildbusdevlist()
[all …]
/freebsd-14.2/sys/dev/aic7xxx/
H A Daic7xxx_osm.c73 path_id_t path_id; in ahc_create_path() local
76 path_id = cam_sim_path(ahc->platform_data->sim_b); in ahc_create_path()
78 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path()
81 path_id, target, lun)); in ahc_create_path()
/freebsd-14.2/share/examples/scsi_target/
H A Dscsi_target.c213 sscanf(argv[0], "%u:%u:%ju", &ioc_enlun.path_id, &ioc_enlun.target_id, in main()
217 if (ioc_enlun.path_id == CAM_BUS_WILDCARD || in main()

12