/third_party/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()
|
/third_party/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()
|
/third_party/python/Lib/ |
D | stat.py | 38 S_IFBLK = 0o060000 # block device variable 60 return S_IFMT(mode) == S_IFBLK 132 (S_IFBLK, "b"),
|
/third_party/python/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()
|
/third_party/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()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | stat.h | 33 #define S_IFBLK 0060000 macro 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | stat.h | 33 #define S_IFBLK 0060000 macro 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
|
/third_party/musl/include/sys/ |
D | stat.h | 33 #define S_IFBLK 0060000 macro 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | stat.h | 33 #define S_IFBLK 0060000 macro 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
|
/third_party/musl/porting/linux/user/include/sys/ |
D | stat.h | 33 #define S_IFBLK 0060000 macro 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | stat.h | 33 #define S_IFBLK 0060000 macro 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
|
/third_party/musl/ndk_musl_include/sys/ |
D | stat.h | 33 #define S_IFBLK 0060000 macro 46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
|
/third_party/libwebsockets/win32port/dirent/ |
D | dirent-win32.h | 97 #if !defined(S_IFBLK) 98 # define S_IFBLK 0 macro 174 #define DT_BLK S_IFBLK 206 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
|
/third_party/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()
|
/third_party/toybox/toys/lsb/ |
D | mknod.c | 39 mode_t modes[] = {S_IFIFO, S_IFCHR, S_IFCHR, S_IFBLK}; in mknod_main()
|
/third_party/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod01.c | 58 S_IFBLK | 0777, /* block special with mode 0777 */
|
D | mknod07.c | 60 #define BLK_MODE (S_IFBLK | S_IRUSR | S_IWUSR)
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/ |
D | main.c | 440 (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()
|
/third_party/node/lib/internal/fs/ |
D | utils.js | 70 S_IFBLK, 411 return this._checkModeProperty(S_IFBLK); 476 if (isWindows && (property === S_IFIFO || property === S_IFBLK || 506 if (isWindows && (property === S_IFIFO || property === S_IFBLK ||
|
/third_party/ltp/testcases/kernel/syscalls/getxattr/ |
D | getxattr02.c | 148 if (mknod(BLK, S_IFBLK | 0777, 0) == -1) in setup()
|
/third_party/selinux/libselinux/utils/ |
D | selabel_lookup_best_match.c | 37 return S_IFBLK; in string_to_mode()
|
/third_party/musl/libc-test/src/api/ |
D | ftw.c | 37 C(S_IFBLK) in f()
|
D | sys_stat.c | 60 C(S_IFBLK) in f()
|
/third_party/toybox/toys/other/ |
D | makedevs.c | 79 } else mode |= (mode_t[]){S_IFIFO, S_IFCHR, S_IFBLK, 0, 0}[i];
|
/third_party/eudev/test/ |
D | test-udev.c | 149 mode |= S_IFBLK; in main()
|