Home
last modified time | relevance | path

Searched refs:S_IFBLK (Results 1 – 25 of 95) sorted by relevance

1234

/external/ltp/testcases/kernel/device-drivers/include/
DuserBlockInclude.c121 (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/
DuserBlockNLS.c121 (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/
Dstat.py38 S_IFBLK = 0o060000 # block device variable
60 return S_IFMT(mode) == S_IFBLK
132 (S_IFBLK, "b"),
/external/strace/xlat/
Dmodetypes.h32 #if defined(S_IFBLK) || (defined(HAVE_DECL_S_IFBLK) && HAVE_DECL_S_IFBLK)
33 XLAT(S_IFBLK),
Dmodetypes.in6 S_IFBLK
/external/python/cpython2/Lib/
Dstat.py32 S_IFBLK = 0060000 variable
47 return S_IFMT(mode) == S_IFBLK
/external/kernel-headers/original/uapi/linux/
Dstat.h13 #define S_IFBLK 0060000 macro
25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
/external/python/cpython3/Modules/
D_stat.c62 #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/
Dmdev.c60 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/
Ddevname.cpp14 assert((name = devname(st.st_rdev, S_ISCHR(st.st_mode) ? S_IFCHR : S_IFBLK))); in main()
Ddevname_r.cpp18 type = S_ISCHR(st.st_mode) ? S_IFCHR : S_IFBLK; in main()
/external/strace/
Dmknod.c51 case S_IFBLK: in decode_mknod()
Dprint_struct_stat.c59 case S_IFCHR: case S_IFBLK: in print_struct_stat()
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_user/
Dtbio.c115 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/strace/tests-m32/
Dumode_t.c76 test_syscall((0xffff & ~S_IFMT) | S_IFBLK); in main()
/external/strace/tests/
Dumode_t.c76 test_syscall((0xffff & ~S_IFMT) | S_IFBLK); in main()
Dmknod.c56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main()
Dmknodat.c56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main()
/external/strace/tests-mx32/
Dumode_t.c76 test_syscall((0xffff & ~S_IFMT) | S_IFBLK); in main()
Dmknodat.c56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main()
/external/toybox/toys/lsb/
Dmknod.c39 mode_t modes[] = {S_IFIFO, S_IFCHR, S_IFCHR, S_IFBLK}; in mknod_main()
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c440 (S_IFBLK | S_IRUSR | S_IWUSR | in LTP_fs_open_block_device()
453 if ((!(statbuf.st_mode & S_IFBLK)) || in LTP_fs_open_block_device()
460 (S_IFBLK | S_IRUSR | S_IWUSR in LTP_fs_open_block_device()
/external/erofs-utils/lib/
Dnamei.c67 case S_IFBLK: in erofs_read_inode_from_disk()
99 case S_IFBLK: in erofs_read_inode_from_disk()
/external/openssh/openbsd-compat/
Dstrmode.c53 case S_IFBLK: /* block special */ in strmode()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod01.c58 S_IFBLK | 0777, /* block special with mode 0777 */

1234