Searched refs:S_IFCHR (Results 1 - 25 of 87) sorted by relevance

1234

/external/strace/xlat/
H A Dmodetypes.h29 #if defined(S_IFCHR) || (defined(HAVE_DECL_S_IFCHR) && HAVE_DECL_S_IFCHR)
30 XLAT(S_IFCHR),
/external/syslinux/com32/include/sys/
H A Dstat.h18 #define S_IFCHR 0020000 macro
26 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/external/toybox/toys/lsb/
H A Dmknod.c40 mode_t modes[] = {S_IFIFO, S_IFCHR, S_IFCHR, S_IFBLK};
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
H A Duser_tmod.c92 (S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP |
105 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) {
111 (S_IFCHR | S_IRUSR | S_IWUSR |
/external/ltp/testcases/kernel/device-drivers/usb/user_usb/
H A Duser_tusb.c73 (S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP |
86 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) {
92 (S_IFCHR | S_IRUSR | S_IWUSR |
/external/strace/
H A Dmknod.c50 case S_IFCHR:
H A Dprint_struct_stat.c59 case S_IFCHR: case S_IFBLK:
/external/syslinux/com32/lib/sys/
H A Dfstat.c58 buf->st_mode = S_IFCHR | 0666;
/external/python/cpython2/Lib/
H A Dstat.py31 S_IFCHR = 0020000 variable
44 return S_IFMT(mode) == S_IFCHR
/external/ltp/testcases/kernel/device-drivers/base/user_base/
H A Duser_tbase.c88 (S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP |
101 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) {
107 (S_IFCHR | S_IRUSR | S_IWUSR |
/external/python/cpython3/Lib/
H A Dstat.py37 S_IFCHR = 0o020000 # character device variable
52 return S_IFMT(mode) == S_IFCHR
117 (S_IFCHR, "c"),
/external/strace/tests/
H A Dumode_t.c75 test_syscall(S_IFCHR | 024);
H A Dmknod.c52 rc = call_mknod(S_IFCHR | 024, dev);
53 printf("mknod(\"%s\", S_IFCHR|024, makedev(1, 7)) = %ld %s (%m)\n",
H A Dmknodat.c52 rc = call_mknodat(S_IFCHR | 024, dev);
53 printf("mknodat(-1, \"%s\", S_IFCHR|024, makedev(1, 7)) = %ld %s (%m)\n",
/external/strace/tests-m32/
H A Dumode_t.c75 test_syscall(S_IFCHR | 024);
H A Dmknod.c52 rc = call_mknod(S_IFCHR | 024, dev);
53 printf("mknod(\"%s\", S_IFCHR|024, makedev(1, 7)) = %ld %s (%m)\n",
H A Dmknodat.c52 rc = call_mknodat(S_IFCHR | 024, dev);
53 printf("mknodat(-1, \"%s\", S_IFCHR|024, makedev(1, 7)) = %ld %s (%m)\n",
/external/strace/tests-mx32/
H A Dumode_t.c75 test_syscall(S_IFCHR | 024);
H A Dmknod.c52 rc = call_mknod(S_IFCHR | 024, dev);
53 printf("mknod(\"%s\", S_IFCHR|024, makedev(1, 7)) = %ld %s (%m)\n",
H A Dmknodat.c52 rc = call_mknodat(S_IFCHR | 024, dev);
53 printf("mknodat(-1, \"%s\", S_IFCHR|024, makedev(1, 7)) = %ld %s (%m)\n",
/external/kernel-headers/original/uapi/linux/
H A Dstat.h15 #define S_IFCHR 0020000 macro
24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/external/ltp/testcases/kernel/device-drivers/agp/user_space/
H A Duser_tagp.c88 (S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP |
101 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) {
107 (S_IFCHR | S_IRUSR | S_IWUSR |
/external/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod01.c57 S_IFCHR | 0777, /* character special with mode 0777 */
/external/toybox/toys/pending/
H A Dmdev.c55 type = path[5]=='c' ? S_IFCHR : S_IFBLK;
62 type = strcmp(temp, "block") ? S_IFCHR : S_IFBLK;
/external/ltp/testcases/kernel/syscalls/getxattr/
H A Dgetxattr02.c144 if (mknod(CHR, S_IFCHR | 0777, dev) == -1)

Completed in 473 milliseconds

1234