Home
last modified time | relevance | path

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

123

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dstat.h16 #define S_IFCHR 0020000 macro
24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/kernel/linux/linux-5.10/include/uapi/linux/
Dstat.h15 #define S_IFCHR 0020000 macro
24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dstat.h15 #define S_IFCHR 0020000 macro
24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dstat.h29 #define S_IFCHR 0020000 macro
37 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/kernel/linux/linux-5.10/tools/testing/selftests/exec/
Dnon-regular.c122 FIXTURE_VARIANT_ADD(file, S_IFCHR) in FIXTURE_VARIANT_ADD() argument
130 .mode = S_IFCHR, in FIXTURE_VARIANT_ADD()
/kernel/linux/linux-5.10/init/
Dnoinitramfs.c25 err = init_mknod("/dev/console", S_IFCHR | S_IRUSR | S_IWUSR, in default_rootfs()
/kernel/linux/linux-5.10/samples/vfs/
Dtest-statx.c92 case S_IFCHR: printf(" character special file\n"); ft = 'c'; break; in dump_statx()
115 case S_IFCHR: in dump_statx()
/kernel/linux/linux-5.10/fs/erofs/
Dinode.c101 case S_IFCHR: in erofs_read_inode()
141 case S_IFCHR: in erofs_read_inode()
263 case S_IFCHR: in erofs_fill_inode()
/kernel/linux/build/test/syzkaller/qos_auth/
Dhmdfs_fill_super.txt39 hmdfs_mode = S_IFREG, S_IFCHR, S_IFBLK, S_IFIFO, S_IFSOCK, S_IFLNK, S_IFDIR
/kernel/linux/linux-5.10/fs/devpts/
Dinode.c361 mode = S_IFCHR|opts->ptmxmode; in mknod_ptmx()
380 inode->i_mode = S_IFCHR|fsi->mount_opts.ptmxmode; in update_ptmx_mode()
582 init_special_inode(inode, S_IFCHR|opts->mode, MKDEV(UNIX98_PTY_SLAVE_MAJOR, index)); in devpts_pty_new()
/kernel/linux/linux-5.10/fs/squashfs/
Dinode.c318 inode->i_mode |= S_IFCHR; in squashfs_read_inode()
340 inode->i_mode |= S_IFCHR; in squashfs_read_inode()
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/qemu/
Dinit.c70 if (mknod("/dev/urandom", S_IFCHR | 0644, makedev(1, 9))) in seed_rng()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfsproc.c325 case S_IFCHR: in nfsd_proc_create()
363 if (type != S_IFBLK && type != S_IFCHR) { in nfsd_proc_create()
365 } else if (type == S_IFCHR && !(attr->ia_valid & ATTR_SIZE)) { in nfsd_proc_create()
/kernel/linux/linux-5.10/drivers/android/
Dbinderfs.c148 init_special_inode(inode, S_IFCHR | 0600, in binderfs_binder_device_create()
425 init_special_inode(inode, S_IFCHR | 0600, in binderfs_binder_ctl_create()
/kernel/linux/linux-5.10/fs/freevxfs/
Dvxfs_inode.c85 ret |= S_IFCHR; in vxfs_transmod()
/kernel/linux/linux-5.10/fs/efs/
Dinode.c158 case S_IFCHR: in efs_iget()
/kernel/linux/linux-5.10/security/tomoyo/
Dtomoyo.c221 case S_IFCHR: in tomoyo_path_mknod()
Daudit.c134 case S_IFCHR: in tomoyo_filetype()
/kernel/linux/linux-5.10/tools/include/nolibc/
Dnolibc.h208 #define S_IFCHR 0020000 macro
217 #define S_ISCHR(mode) (((mode) & S_IFCHR) == S_IFCHR)
/kernel/linux/linux-5.10/usr/
Dgen_init_cpio.c249 mode |= S_IFCHR; in cpio_mknod()
/kernel/linux/linux-5.10/drivers/base/
Ddevtmpfs.c137 req.mode |= S_IFCHR; in devtmpfs_create_node()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dinode.c243 case S_IFCHR: in xchk_dinode()
/kernel/linux/linux-5.10/fs/romfs/
Dsuper.c88 S_IFCHR | 0600, /* chardev */
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dprofiler.inc.h26 #define S_IFCHR 0020000 macro
33 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
/kernel/linux/linux-5.10/fs/9p/
Dvfs_inode.c138 res |= S_IFCHR; in p9mode2unixmode()
263 case S_IFCHR: in v9fs_init_inode()

123