Home
last modified time | relevance | path

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

123

/third_party/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()
/third_party/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()
/third_party/python/Lib/
Dstat.py38 S_IFBLK = 0o060000 # block device variable
60 return S_IFMT(mode) == S_IFBLK
132 (S_IFBLK, "b"),
/third_party/python/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()
/third_party/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()
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dstat.h33 #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/
Dstat.h33 #define S_IFBLK 0060000 macro
46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
/third_party/musl/include/sys/
Dstat.h33 #define S_IFBLK 0060000 macro
46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
/third_party/musl/porting/uniproton/kernel/include/sys/
Dstat.h33 #define S_IFBLK 0060000 macro
46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
/third_party/musl/porting/linux/user/include/sys/
Dstat.h33 #define S_IFBLK 0060000 macro
46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dstat.h33 #define S_IFBLK 0060000 macro
46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
/third_party/musl/ndk_musl_include/sys/
Dstat.h33 #define S_IFBLK 0060000 macro
46 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
/third_party/libwebsockets/win32port/dirent/
Ddirent-win32.h97 #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/
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()
/third_party/toybox/toys/lsb/
Dmknod.c39 mode_t modes[] = {S_IFIFO, S_IFCHR, S_IFCHR, S_IFBLK}; in mknod_main()
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod01.c58 S_IFBLK | 0777, /* block special with mode 0777 */
Dmknod07.c60 #define BLK_MODE (S_IFBLK | S_IRUSR | S_IWUSR)
/third_party/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()
/third_party/node/lib/internal/fs/
Dutils.js70 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/
Dgetxattr02.c148 if (mknod(BLK, S_IFBLK | 0777, 0) == -1) in setup()
/third_party/selinux/libselinux/utils/
Dselabel_lookup_best_match.c37 return S_IFBLK; in string_to_mode()
/third_party/musl/libc-test/src/api/
Dftw.c37 C(S_IFBLK) in f()
Dsys_stat.c60 C(S_IFBLK) in f()
/third_party/toybox/toys/other/
Dmakedevs.c79 } else mode |= (mode_t[]){S_IFIFO, S_IFCHR, S_IFBLK, 0, 0}[i];
/third_party/eudev/test/
Dtest-udev.c149 mode |= S_IFBLK; in main()

123