Home
last modified time | relevance | path

Searched refs:periph_name (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/usr.sbin/mptutil/
H A Dmpt_cam.c163 snprintf(p->periph_name, sizeof(p->periph_name), "da"); in mpt_query_disk()
206 snprintf(qd->devname, sizeof(qd->devname), "%s%d", r->periph_name, in mpt_query_disk()
428 snprintf(p->periph_name, sizeof(p->periph_name), "da"); in mpt_fetch_disks()
493 "%s%d", r->periph_name, r->unit_number); in mpt_fetch_disks()
/freebsd/sys/cam/
H A Dcam_periph.c241 "refcount %d\n", periph->periph_name, in cam_periph_alloc()
264 periph->periph_name = name; in cam_periph_alloc()
401 sbuf_printf(&local_sb, "%s%d", periph->periph_name, in cam_periph_list()
548 root_mount_hold_token(periph->periph_name, &periph->periph_rootmount); in cam_periph_hold_boot()
572 char *periph_name; in camperiphnextunit() local
576 periph_name = p_drv->driver_name; in camperiphnextunit()
589 "not be wired\n", periph_name, pathid, in camperiphnextunit()
605 dname = periph_name; in camperiphnextunit()
633 char pathbuf[32], *periph_name; in camperiphunit() local
635 periph_name = p_drv->driver_name; in camperiphunit()
[all …]
H A Dcam_xpt.c614 name = ccb->cgdl.periph_name; in xptdoioctl()
625 if (*ccb->cgdl.periph_name == '\0') { in xptdoioctl()
642 *ccb->cgdl.periph_name = '\0'; in xptdoioctl()
678 if (strcmp(periph->periph_name, "pass") == 0) { in xptdoioctl()
682 strlcpy(ccb->cgdl.periph_name, in xptdoioctl()
683 periph->periph_name, in xptdoioctl()
684 sizeof(ccb->cgdl.periph_name)); in xptdoioctl()
727 *ccb->cgdl.periph_name = '\0'; in xptdoioctl()
1082 periph->periph_name, periph->unit_number, in xpt_announce_periph_sbuf()
1089 sbuf_printf(sb, "%s%d: ", periph->periph_name, periph->unit_number); in xpt_announce_periph_sbuf()
[all …]
H A Dcam_periph.h121 char *periph_name; member
275 printf("%s%d:" msg, (periph)->periph_name, (periph)->unit_number, ##args)
H A Dcam_compat.h196 char periph_name[DEV_IDLEN]; member
H A Dcam_ccb.h418 char periph_name[DEV_IDLEN]; member
435 char periph_name[DEV_IDLEN]; member
502 char periph_name[DEV_IDLEN]; member
H A Dcam_iosched.c1950 iop->softc->periph->periph_name, in cam_iosched_devctl_outlier()
/freebsd/usr.bin/iscsictl/
H A Dperiphs.c169 if (strcmp(periph_result->periph_name, "pass") == 0) in print_periphs()
175 periph_result->periph_name, in print_periphs()
/freebsd/tools/cam/
H A Dcam_all_but_scsi.d63 this->periph == NULL ? "noperiph" : stringof(this->periph->periph_name),
80 this->periph == NULL ? "noperiph" : stringof(this->periph->periph_name),
/freebsd/lib/libcam/
H A Dcamlib.c325 sprintf(match_pat->periph_name, "pass"); in cam_open_btl()
441 strlcpy(ccb.cgdl.periph_name, dev_name, sizeof(ccb.cgdl.periph_name)); in cam_lookup_pass()
488 sprintf(dev_path, "/dev/%s%d", ccb.cgdl.periph_name, in cam_lookup_pass()
591 strlcpy(device->device_name, ccb.cgdl.periph_name, in cam_real_open_device()
/freebsd/sys/cam/ata/
H A Data_pmp.c656 periph->periph_name, periph->unit_number, in pmpdone()
694 periph->periph_name, periph->unit_number, softc->caps, res); in pmpdone()
747 periph->periph_name, periph->unit_number, in pmpdone()
783 periph->periph_name, periph->unit_number, in pmpdone()
H A Data_xpt.c2133 periph->periph_name, periph->unit_number, in ata_announce_periph_sbuf()
2136 sbuf_printf(sb, "%s%d: %dKB/s transfers", periph->periph_name, in ata_announce_periph_sbuf()
/freebsd/sys/cam/scsi/
H A Dscsi_enc.c652 printf("%s%d: ", enc->periph->periph_name, enc->periph->unit_number); in enc_log()
976 err = make_dev_s(&args, &enc->enc_dev, "%s%d", periph->periph_name, in enc_ctor()
H A Dscsi_pt.c286 error = make_dev_s(&args, &softc->dev, "%s%d", periph->periph_name, in ptctor()
H A Dscsi_pass.c598 periph->periph_name, periph->unit_number); in passregister()
600 periph->periph_name, periph->unit_number); in passregister()
674 error = make_dev_s(&args, &softc->dev, "%s%d", periph->periph_name, in passregister()
H A Dscsi_sa.c2658 periph->periph_name, periph->unit_number); in saregister()
2667 periph->periph_name, periph->unit_number); in saregister()
2676 periph->periph_name, periph->unit_number); in saregister()
2685 periph->periph_name, periph->unit_number); in saregister()
4731 SASBADDVARSTR(sb, indent, periph->periph_name, %s, periph_name, in saextget()
4732 strlen(periph->periph_name) + 1); in saextget()
H A Dscsi_sg.c365 periph->periph_name, periph->unit_number); in sgregister()
H A Dscsi_xpt.c3181 periph->periph_name, periph->unit_number, in scsi_announce_periph_sbuf()
3184 sbuf_printf(sb, "%s%d: %dKB/s transfers", periph->periph_name, in scsi_announce_periph_sbuf()
H A Dscsi_da.c2639 printf("%s%d: %s\n", periph->periph_name, in daprobedone()
2644 printf("%s%d: Write Protected\n", periph->periph_name, in daprobedone()
2995 softc->disk->d_devstat = devstat_new_entry(periph->periph_name, in daregister()
H A Dscsi_ch.c432 error = make_dev_s(&args, &softc->dev, "%s%d", periph->periph_name, in chregister()
H A Dscsi_enc_ses.c2421 sbuf_printf(&sesname, "%s%d", enc->periph->periph_name, in ses_print_addl_data()
/freebsd/sys/dev/hptmv/
H A Dhptproc.c571 hpt_copy_info(pinfo," %s%d\n", periph->periph_name, periph->unit_number); in hpt_get_info()
/freebsd/sys/cam/nvme/
H A Dnvme_xpt.c809 periph->periph_name, periph->unit_number, in nvme_announce_periph_sbuf()
H A Dnvme_da.c1050 disk->d_devstat = devstat_new_entry(periph->periph_name, in ndaregister()
/freebsd/sbin/camcontrol/
H A Dcamcontrol.c439 ccb->cgdl.periph_name, in getdevlist()
640 periph_result->periph_name, in getdevtree()
3534 if (cam_get_device(tstr, ccb.cgdl.periph_name, in parse_btl_name()
3535 sizeof(ccb.cgdl.periph_name), &ccb.cgdl.unit_number) == -1) { in parse_btl_name()
3551 ccb.cgdl.periph_name, ccb.cgdl.unit_number); in parse_btl_name()
3562 ccb.cgdl.periph_name, ccb.cgdl.unit_number, in parse_btl_name()
9307 item->periph_matches[j].periph_name, in smpphylist()

12