Searched refs:_PATH_DEV (Results 1 - 25 of 102) sorted by relevance

12345

/freebsd-10-stable/usr.sbin/ofwdump/
H A Dpathnames.h30 #define PATH_DEV_OPENFIRM _PATH_DEV "openfirm"
/freebsd-10-stable/crypto/heimdal/appl/login/
H A Dtty.c47 if (strncmp (res, _PATH_DEV, strlen(_PATH_DEV)) == 0)
48 res += strlen(_PATH_DEV);
H A Dlogin_locl.h108 #ifndef _PATH_DEV
109 #define _PATH_DEV "/dev/" macro
/freebsd-10-stable/lib/libc/stdlib/
H A Dptsname.c78 static char pt_slave[sizeof _PATH_DEV + SPECNAMELEN] = _PATH_DEV;
85 if (fdevname_r(fildes, pt_slave + (sizeof _PATH_DEV - 1),
86 sizeof pt_slave - (sizeof _PATH_DEV - 1)) != NULL)
/freebsd-10-stable/lib/libc/gen/
H A Dctermid.c39 #define LEN_PATH_DEV (sizeof(_PATH_DEV) - 1)
44 static char def[sizeof(_PATH_DEV) + SPECNAMELEN];
H A Dttyname.c53 static char ttyname_buf[sizeof(_PATH_DEV) + MAXNAMLEN];
74 if (len <= sizeof(_PATH_DEV))
77 strcpy(buf, _PATH_DEV);
/freebsd-10-stable/lib/libulog/
H A Dulog_login.c46 if (strncmp(line, _PATH_DEV, sizeof _PATH_DEV - 1) == 0)
47 line += sizeof _PATH_DEV - 1;
/freebsd-10-stable/sys/geom/virstor/
H A Dg_virstor.h131 #ifndef _PATH_DEV
132 #define _PATH_DEV "/dev/" macro
/freebsd-10-stable/usr.bin/write/
H A Dwrite.c100 if (!strncmp(mytty, _PATH_DEV, strlen(_PATH_DEV)))
101 mytty += strlen(_PATH_DEV);
116 if (!strncmp(argv[1], _PATH_DEV, strlen(_PATH_DEV)))
117 argv[1] += strlen(_PATH_DEV);
227 (void)snprintf(path, sizeof(path), "%s%s", _PATH_DEV, tty);
259 (void)snprintf(path, sizeof(path), "%s%s", _PATH_DEV, tty);
/freebsd-10-stable/sbin/dumpon/
H A Ddumpon.c158 if (strncmp(argv[0], _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0) {
161 i = snprintf(tmp, PATH_MAX, "%s%s", _PATH_DEV, argv[0]);
/freebsd-10-stable/sbin/geom/class/virstor/
H A Dgeom_virstor.c147 if (strncmp(name, _PATH_DEV, sizeof(_PATH_DEV) - 1) != 0)
148 snprintf(path, size, "%s%s", _PATH_DEV, name);
379 if (strncmp(name, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0)
382 sprintf(param, "%s%s", _PATH_DEV, name);
457 if (strncmp(name, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0) {
458 strlcpy(md.provider, name + sizeof(_PATH_DEV) - 1,
513 if (strncmp(name, _PATH_DEV, sizeo
[all...]
/freebsd-10-stable/share/examples/kld/cdev/test/
H A Dtestcdev.c105 printf( "Sent ioctl CDEV_IOCTL1 to device %s%s\n", _PATH_DEV, CDEV_DEVICE);
/freebsd-10-stable/libexec/talkd/
H A Dtalkd.c99 if (chdir(_PATH_DEV) < 0) {
100 syslog(LOG_ERR, "chdir: %s: %m", _PATH_DEV);
/freebsd-10-stable/usr.sbin/mlxcontrol/
H A Dutil.c49 sprintf(buf, "%s%s", _PATH_DEV, ctrlrname(unit));
69 sprintf(buf, "%s%s", _PATH_DEV, drivename(unit));
/freebsd-10-stable/usr.bin/login/
H A Dlogin_fbtab.c101 if (strncmp(devname, _PATH_DEV, sizeof _PATH_DEV - 1) != 0
/freebsd-10-stable/usr.bin/who/
H A Dwho.c178 snprintf(tty, sizeof(tty), "%s%s", _PATH_DEV, ut->ut_line);
217 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line);
272 else if (strncmp(tty, _PATH_DEV, sizeof _PATH_DEV - 1) == 0)
273 tty += sizeof _PATH_DEV - 1;
/freebsd-10-stable/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c100 if (strncmp(tty, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0)
101 tty = (const char *)tty + sizeof(_PATH_DEV) - 1;
/freebsd-10-stable/sbin/ccdconfig/
H A Dccdconfig.c261 if (!strncmp(cp, _PATH_DEV, strlen(_PATH_DEV)))
262 cp += strlen(_PATH_DEV);
351 if (!strncmp(name, _PATH_DEV, strlen(_PATH_DEV)))
352 name += strlen(_PATH_DEV);
/freebsd-10-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dtelnetd.h219 #ifndef _PATH_DEV
220 #define _PATH_DEV "/dev/" macro
/freebsd-10-stable/usr.bin/wall/
H A Dttymsg.c65 char device[MAXNAMLEN] = _PATH_DEV;
75 p = device + sizeof(_PATH_DEV) - 1;
/freebsd-10-stable/sbin/mdconfig/
H A Dmdconfig.c227 if (!strncmp(optarg, _PATH_DEV, sizeof(_PATH_DEV) - 1))
228 optarg += sizeof(_PATH_DEV) - 1;
346 fd = open(_PATH_DEV MDCTL_NAME, O_RDWR, 0);
348 err(1, "open(%s%s)", _PATH_DEV, MDCTL_NAME);
353 err(1, "ioctl(%s%s)", _PATH_DEV, MDCTL_NAME);
361 err(1, "ioctl(%s%s)", _PATH_DEV, MDCTL_NAME);
367 err(1, "ioctl(%s%s)", _PATH_DEV, MDCTL_NAME);
537 if (strncmp(u, _PATH_DEV, sizeof(_PATH_DEV)
[all...]
/freebsd-10-stable/sbin/fsck_ffs/
H A Dutilities.c73 _PATH_DEV, newname);
/freebsd-10-stable/sbin/nvmecontrol/
H A Ddevlist.c87 warnx("could not open "_PATH_DEV"%s\n", name);
/freebsd-10-stable/include/
H A Dpaths.h96 #define _PATH_DEV "/dev/" macro
/freebsd-10-stable/usr.sbin/ppp/
H A Ddefs.h48 #define TUN_PREFIX (_PATH_DEV TUN_NAME) /* /dev/tun */

Completed in 159 milliseconds

12345