Home
last modified time | relevance | path

Searched refs:XPT_DEVICE (Results 1 – 4 of 4) sorted by relevance

/dragonfly/lib/libcam/
H A Dcamlib.c339 if ((fd = open(XPT_DEVICE, O_RDWR)) < 0) { in cam_open_btl()
341 "%s: couldn't open %s\n%s: %s", func_name, XPT_DEVICE, in cam_open_btl()
477 if ((fd = open(XPT_DEVICE, O_RDWR)) < 0) { in cam_lookup_pass()
479 "%s: couldn't open %s\n%s: %s", func_name, XPT_DEVICE, in cam_lookup_pass()
/dragonfly/sys/sys/
H A Dcamlib.h86 #define XPT_DEVICE "/dev/xpt0" macro
/dragonfly/sbin/camcontrol/
H A Dcamcontrol.c360 if ((fd = open(XPT_DEVICE, O_RDWR)) == -1) { in getdevtree()
361 warn("couldn't open %s", XPT_DEVICE); in getdevtree()
1120 if ((fd = open(XPT_DEVICE, O_RDWR)) < 0) { in rescan_or_reset_bus()
1121 warnx("error opening transport layer device %s", XPT_DEVICE); in rescan_or_reset_bus()
1122 warn("%s", XPT_DEVICE); in rescan_or_reset_bus()
1306 if ((fd = open(XPT_DEVICE, O_RDWR)) < 0) { in scanlun_or_reset_dev()
1308 XPT_DEVICE); in scanlun_or_reset_dev()
1309 warn("%s", XPT_DEVICE); in scanlun_or_reset_dev()
2131 if ((fd = open(XPT_DEVICE, O_RDWR)) < 0) { in camdebug()
2132 warnx("error opening transport layer device %s", XPT_DEVICE); in camdebug()
[all …]
/dragonfly/usr.sbin/mptutil/
H A Dmpt_cam.c54 xptfd = open(XPT_DEVICE, O_RDWR); in xpt_open()