/external/ltp/testcases/kernel/device-drivers/include/ |
D | userBlockInclude.c | 121 (S_IFBLK | S_IRUSR | S_IWUSR | in open_block_device() 135 if ((!(statbuf.st_mode & S_IFBLK)) || in open_block_device() 141 (S_IFBLK | S_IRUSR | S_IWUSR in open_block_device()
|
/external/ltp/testcases/kernel/device-drivers/nls/ |
D | userBlockNLS.c | 121 (S_IFBLK | S_IRUSR | S_IWUSR | in open_block_device() 135 if ((!(statbuf.st_mode & S_IFBLK)) || in open_block_device() 141 (S_IFBLK | S_IRUSR | S_IWUSR in open_block_device()
|
/external/python/cpython3/Lib/ |
D | stat.py | 38 S_IFBLK = 0o060000 # block device variable 60 return S_IFMT(mode) == S_IFBLK 132 (S_IFBLK, "b"),
|
/external/strace/xlat/ |
D | modetypes.h | 32 #if defined(S_IFBLK) || (defined(HAVE_DECL_S_IFBLK) && HAVE_DECL_S_IFBLK) 33 XLAT(S_IFBLK),
|
D | modetypes.in | 6 S_IFBLK
|
/external/python/cpython2/Lib/ |
D | stat.py | 32 S_IFBLK = 0060000 variable 47 return S_IFMT(mode) == S_IFBLK
|
/external/kernel-headers/original/uapi/linux/ |
D | stat.h | 13 #define S_IFBLK 0060000 macro 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
|
/external/python/cpython3/Modules/ |
D | _stat.c | 62 #ifndef S_IFBLK 63 # define S_IFBLK 0060000 macro 92 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) 511 ADD_INT_MACRO(module, S_IFBLK); in stat_exec()
|
/external/toybox/toys/pending/ |
D | mdev.c | 60 type = path[5]=='c' ? S_IFCHR : S_IFBLK; in make_device() 67 type = strcmp(temp, "block") ? S_IFCHR : S_IFBLK; in make_device() 258 if (type == S_IFBLK) close(open(toybuf, O_RDONLY)); // scan for partitions in make_device()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | devname.cpp | 14 assert((name = devname(st.st_rdev, S_ISCHR(st.st_mode) ? S_IFCHR : S_IFBLK))); in main()
|
D | devname_r.cpp | 18 type = S_ISCHR(st.st_mode) ? S_IFCHR : S_IFBLK; in main()
|
/external/strace/ |
D | mknod.c | 51 case S_IFBLK: in decode_mknod()
|
D | print_struct_stat.c | 59 case S_IFCHR: case S_IFBLK: in print_struct_stat()
|
/external/strace/tests-m32/ |
D | umode_t.c | 76 test_syscall((0xffff & ~S_IFMT) | S_IFBLK); in main()
|
D | mknod.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main()
|
/external/strace/tests-mx32/ |
D | umode_t.c | 76 test_syscall((0xffff & ~S_IFMT) | S_IFBLK); in main()
|
D | mknodat.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main()
|
D | mknod.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main()
|
/external/strace/tests/ |
D | umode_t.c | 76 test_syscall((0xffff & ~S_IFMT) | S_IFBLK); in main()
|
D | mknodat.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main()
|
D | mknod.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main()
|
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_user/ |
D | tbio.c | 115 if ((st.st_mode & S_IFBLK) && (st.st_rdev == devt)) { in setup() 131 if (mknod(DEVICE_NAME, S_IFBLK | S_IRUSR | S_IWUSR | in setup()
|
/external/toybox/toys/lsb/ |
D | mknod.c | 39 mode_t modes[] = {S_IFIFO, S_IFCHR, S_IFCHR, S_IFBLK}; in mknod_main()
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod01.c | 58 S_IFBLK | 0777, /* block special with mode 0777 */
|
/external/openssh/openbsd-compat/ |
D | strmode.c | 53 case S_IFBLK: /* block special */ in strmode()
|