Home
last modified time | relevance | path

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

1234

/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Duser_tmod.c92 (S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | in tmodopen()
105 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tmodopen()
111 (S_IFCHR | S_IRUSR | S_IWUSR | in tmodopen()
/external/ltp/testcases/kernel/device-drivers/usb/user_usb/
Duser_tusb.c73 (S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | in tusbopen()
86 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tusbopen()
92 (S_IFCHR | S_IRUSR | S_IWUSR | in tusbopen()
/external/ltp/testcases/kernel/device-drivers/base/user_base/
Duser_tbase.c88 (S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | in tbaseopen()
101 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tbaseopen()
107 (S_IFCHR | S_IRUSR | S_IWUSR | in tbaseopen()
/external/strace/xlat/
Dmodetypes.h29 #if defined(S_IFCHR) || (defined(HAVE_DECL_S_IFCHR) && HAVE_DECL_S_IFCHR)
30 XLAT(S_IFCHR),
Dmodetypes.in7 S_IFCHR
/external/ltp/testcases/kernel/device-drivers/agp/user_space/
Duser_tagp.c88 (S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | in tagpopen()
101 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tagpopen()
107 (S_IFCHR | S_IRUSR | S_IWUSR | in tagpopen()
/external/toybox/toys/lsb/
Dmknod.c40 mode_t modes[] = {S_IFIFO, S_IFCHR, S_IFCHR, S_IFBLK};
/external/kernel-headers/original/uapi/linux/
Dstat.h13 #define S_IFCHR 0020000 macro
22 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/external/syslinux/com32/include/sys/
Dstat.h18 #define S_IFCHR 0020000 macro
26 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/external/ltp/testcases/kernel/device-drivers/drm/user_space/
Duser_tdrm.c86 (S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | in tdrmopen()
99 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tdrmopen()
105 (S_IFCHR | S_IRUSR | S_IWUSR | in tdrmopen()
/external/toybox/toys/pending/
Dmdev.c55 type = path[5]=='c' ? S_IFCHR : S_IFBLK; in make_device()
62 type = strcmp(temp, "block") ? S_IFCHR : S_IFBLK; in make_device()
/external/strace/
Dmknod.c49 case S_IFCHR: in decode_mknod()
Dprint_struct_stat.c58 case S_IFCHR: case S_IFBLK: in print_struct_stat()
/external/syslinux/com32/lib/sys/
Dfstat.c58 buf->st_mode = S_IFCHR | 0666; in fstat()
/external/syslinux/core/fs/ext2/
Dext2_fs.h43 #define S_IFCHR 0020000 // Character device macro
53 #define T_IFCHR (S_IFCHR >> S_IFSHIFT)
/external/strace/tests-mx32/
Dumode_t.c73 test_syscall(S_IFCHR | 024); in main()
Dmknodat.c52 rc = call_mknodat(S_IFCHR | 024, dev); in main()
/external/strace/tests/
Dumode_t.c73 test_syscall(S_IFCHR | 024); in main()
Dmknodat.c52 rc = call_mknodat(S_IFCHR | 024, dev); in main()
Dmknod.c51 rc = call_mknod(S_IFCHR | 024, dev); in main()
/external/strace/tests-m32/
Dumode_t.c73 test_syscall(S_IFCHR | 024); in main()
Dmknodat.c52 rc = call_mknodat(S_IFCHR | 024, dev); in main()
Dmknod.c51 rc = call_mknod(S_IFCHR | 024, dev); in main()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod01.c56 S_IFCHR | 0777, /* character special with mode 0777 */
/external/openssh/openbsd-compat/
Dstrmode.c50 case S_IFCHR: /* character special */ in strmode()

1234