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/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/sys/cam/
H A Dcam_periph.c229 "refcount %d\n", periph->periph_name, in cam_periph_alloc()
252 periph->periph_name = name; in cam_periph_alloc()
558 char *periph_name; in camperiphnextunit() local
562 periph_name = p_drv->driver_name; in camperiphnextunit()
575 "not be wired\n", periph_name, pathid, in camperiphnextunit()
591 dname = periph_name; in camperiphnextunit()
619 char pathbuf[32], *periph_name; in camperiphunit() local
621 periph_name = p_drv->driver_name; in camperiphunit()
625 dname = periph_name; in camperiphunit()
1159 if (strncmp(ccb->cgdl.periph_name, in cam_periph_ioctl()
[all …]
H A Dcam_xpt.c602 name = ccb->cgdl.periph_name; in xptdoioctl()
630 *ccb->cgdl.periph_name = '\0'; in xptdoioctl()
670 strlcpy(ccb->cgdl.periph_name, in xptdoioctl()
671 periph->periph_name, in xptdoioctl()
715 *ccb->cgdl.periph_name = '\0'; in xptdoioctl()
1559 && (strncmp(cur_pattern->periph_name, periph->periph_name, in xptperiphmatch()
1909 periph->periph_name, l); in xptedtperiphfunc()
2083 periph->periph_name, l); in xptplistperiphfunc()
2781 strlcpy(cgdl->periph_name, in xpt_action_default()
2782 nperiph->periph_name, in xpt_action_default()
[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.h416 char periph_name[DEV_IDLEN]; member
433 char periph_name[DEV_IDLEN]; member
500 char periph_name[DEV_IDLEN]; member
H A Dcam_compat.c396 memcpy(&dm18[i].result.periph_result.periph_name, in cam_compat_translate_dev_match_0x18()
397 &dm[i].result.periph_result.periph_name, in cam_compat_translate_dev_match_0x18()
/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.c2134 periph->periph_name, periph->unit_number, in ata_announce_periph_sbuf()
2137 sbuf_printf(sb, "%s%d: %dKB/s transfers", periph->periph_name, in ata_announce_periph_sbuf()
H A Data_da.c1908 softc->disk->d_devstat = devstat_new_entry(periph->periph_name, in adaregister()
/freebsd/sys/cam/scsi/
H A Dscsi_enc.c653 printf("%s%d: ", enc->periph->periph_name, enc->periph->unit_number); in enc_log()
977 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.c594 periph->periph_name, periph->unit_number); in passregister()
596 periph->periph_name, periph->unit_number); in passregister()
666 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.c3100 periph->periph_name, periph->unit_number, in scsi_announce_periph_sbuf()
3103 sbuf_printf(sb, "%s%d: %dKB/s transfers", periph->periph_name, in scsi_announce_periph_sbuf()
H A Dscsi_da.c2593 printf("%s%d: %s\n", periph->periph_name, in daprobedone()
2598 printf("%s%d: Write Protected\n", periph->periph_name, in daprobedone()
2938 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.c2424 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.c807 periph->periph_name, periph->unit_number, in nvme_announce_periph_sbuf()
H A Dnvme_da.c951 disk->d_devstat = devstat_new_entry(periph->periph_name, in ndaregister()
/freebsd/sbin/camcontrol/
H A Dcamcontrol.c437 ccb->cgdl.periph_name, in getdevlist()
638 periph_result->periph_name, in getdevtree()
3502 if (cam_get_device(tstr, ccb.cgdl.periph_name, in parse_btl_name()
3503 sizeof(ccb.cgdl.periph_name), &ccb.cgdl.unit_number) == -1) { in parse_btl_name()
3519 ccb.cgdl.periph_name, ccb.cgdl.unit_number); in parse_btl_name()
3530 ccb.cgdl.periph_name, ccb.cgdl.unit_number, in parse_btl_name()
9262 item->periph_matches[j].periph_name, in smpphylist()

12