Home
last modified time | relevance | path

Searched refs:S_IFCHR (Results 1 – 25 of 74) sorted by relevance

123

/dragonfly/contrib/gdb-7/readline/
HDposixstat.h57 #if defined (_S_IFCHR) && !defined (S_IFCHR)
58 #define S_IFCHR _S_IFCHR macro
83 #if defined (S_IFCHR) && !defined (S_ISCHR)
84 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */
/dragonfly/sbin/vinum/
HDv.c548 S_IRUSR | S_IWUSR | S_IFCHR, /* user only */ in make_devices()
553 S_IRUSR | S_IWUSR | S_IFCHR, /* user only */ in make_devices()
560 S_IRUSR | S_IWUSR | S_IFCHR, /* user only */ in make_devices()
606 if (mknod(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IFCHR, voldev) < 0)
611 if (mknod(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IFCHR, voldev) < 0)
643 if (mknod(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IFCHR, plexdev) < 0)
652 if (mknod(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IFCHR, plexdev) < 0)
682 if (mknod(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IFCHR, sddev) < 0)
/dragonfly/contrib/gdb-7/gdb/common/
HDgdb_stat.h28 #if !defined(S_ISCHR) && defined(S_IFCHR)
29 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/dragonfly/crypto/openssh/
HDsshbuf-io.c46 if ((st.st_mode & (S_IFSOCK|S_IFCHR|S_IFIFO)) == 0 && in sshbuf_load_fd()
65 if ((st.st_mode & (S_IFSOCK|S_IFCHR|S_IFIFO)) == 0 && in sshbuf_load_fd()
/dragonfly/contrib/binutils-2.34/binutils/
HDfilemode.c150 #ifdef S_IFCHR
151 #define S_ISCHR(i) (((i) & S_IFMT) == S_IFCHR)
/dragonfly/contrib/binutils-2.27/binutils/
HDfilemode.c150 #ifdef S_IFCHR
151 #define S_ISCHR(i) (((i) & S_IFMT) == S_IFCHR)
/dragonfly/contrib/file/src/
HDfsmagic.c148 sb->st_mode |= S_IFCHR; in file_fsmagic()
200 #ifdef S_IFCHR in file_fsmagic()
201 case S_IFCHR: in file_fsmagic()
/dragonfly/contrib/tcsh-6/
HDtc.os.h217 # define S_IFCHR 0020000 /* character special */ macro
243 # if !defined(S_ISCHR) && defined(S_IFCHR)
244 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR)
/dragonfly/contrib/cvs-1.12/lib/
HDstat-macros.h57 # ifdef S_IFCHR
58 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/dragonfly/contrib/cvs-1.12/diff/
HDsystem.h58 #if !defined(S_ISCHR) && defined(S_IFCHR)
59 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR)
/dragonfly/sys/kern/
HDsubr_diskiocom.c281 error = dev_dopen(dp->d_rawdev, fflags, S_IFCHR, in disk_blk_open()
304 error = dev_dclose(dp->d_rawdev, fflags, S_IFCHR, NULL); in disk_blk_open()
320 dev_dclose(dp->d_rawdev, FREAD|FWRITE, S_IFCHR, NULL); in disk_blk_open()
324 dev_dclose(dp->d_rawdev, FREAD, S_IFCHR, NULL); in disk_blk_open()
328 dev_dclose(dp->d_rawdev, FWRITE, S_IFCHR, NULL); in disk_blk_open()
/dragonfly/usr.sbin/mtree/
HDmisc.c246 return S_IFCHR; in nodetoino()
281 case S_IFCHR: in inotype()
/dragonfly/lib/libc/gen/
HDdevname.c57 (type & S_IFMT) == S_IFCHR ? 'C' : 'B', in devname_r()
HDttyname.c89 devname_r(sb.st_rdev, S_IFCHR, buf + used, len - used); in ttyname_r()
/dragonfly/usr.bin/fstat/
HDfstat.h64 return S_IFCHR; in mtrans()
/dragonfly/lib/libc/string/
HDstrmode.c46 case S_IFCHR: /* character special */ in strmode()
/dragonfly/lib/libc/stdio/
HDmakebuf.c98 *couldbetty = (st.st_mode & S_IFMT) == S_IFCHR; in __swhatbuf()
/dragonfly/sbin/newfs/
HDfscopy.c145 case S_IFCHR: in FSCopy()
251 case S_IFCHR: in FSPaste()
HDnewfs.c492 if ((st.st_mode & S_IFMT) != S_IFCHR && !mfs && !vflag) in main()
675 if (mknod(mfsdevname, S_IFCHR | 0700, udev) < 0) in main()
/dragonfly/sbin/swapon/
HDswapon.c322 if(!strcmp(devname(xsw->xsw_dev, S_IFCHR), in trim_volume()
508 devname(xsw->xsw_dev, S_IFCHR), buf); in swaplist()
/dragonfly/contrib/lvm2/dist/lib/dragonfly/
HDdev.c46 path = devname(sb.st_rdev, S_IFCHR); in dragonfly_check_dev()
/dragonfly/sbin/mount_fuse/
HDmount_fusefs.c170 devname_r(st.st_rdev, S_IFCHR, fusedev + strlen(fusedev), in main()
/dragonfly/lib/libdevattr/
HDdevattr_device.c225 return devname(devnum, S_IFCHR); in udev_device_get_devnode()
/dragonfly/usr.bin/lastcomm/
HDlastcomm.c270 lastname = devname(dev, S_IFCHR); in getdev()
/dragonfly/sys/sys/
HDstat.h194 #define S_IFCHR 0020000 /* character special */ macro

123