Home
last modified time | relevance | path

Searched refs:O_DIRECT (Results 1 – 25 of 134) sorted by relevance

123456

/external/strace/xlat/
Dopen_mode_flags.h281 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT)
283 static_assert((O_DIRECT) == (04000000), "O_DIRECT != 04000000");
286 # define O_DIRECT 04000000
289 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT)
291 static_assert((O_DIRECT) == (0100000), "O_DIRECT != 0100000");
294 # define O_DIRECT 0100000
297 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT)
299 static_assert((O_DIRECT) == (0200000), "O_DIRECT != 0200000");
302 # define O_DIRECT 0200000
305 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT)
[all …]
Dopen_mode_flags.in107 O_DIRECT 04000000
109 O_DIRECT 0100000
111 O_DIRECT 0200000
113 O_DIRECT 0400000
115 O_DIRECT 02000000
117 O_DIRECT 040000
/external/ltp/testcases/kernel/io/direct_io/
Ddiotest4.c80 #ifdef O_DIRECT
221 if ((fd = open(filename, O_DIRECT | O_RDWR | O_CREAT, 0666)) < 0) { in main()
241 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main()
344 if ((newfd = open("/dev/null", O_DIRECT | O_RDWR)) < 0) { in main()
361 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main()
390 if ((fd = open(filename, O_DIRECT | O_WRONLY)) < 0) { in main()
416 if ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { in main()
442 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main()
465 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main()
510 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main()
[all …]
Ddiotest2.c63 #ifdef O_DIRECT
185 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) in main()
201 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) in main()
220 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) in main()
224 if ((fd_r = open(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) == -1) in main()
260 if ((fd1 = open(filename, O_DIRECT, 0600)) == -1) in setup()
Ddiotest1.c48 #ifdef O_DIRECT
122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main()
129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main()
130 fd2 = SAFE_OPEN(cleanup, outfile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main()
Ddiotest3.c63 #ifdef O_DIRECT
160 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { in child_function()
177 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in child_function()
198 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in child_function()
203 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { in child_function()
353 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) in setup()
Ddiotest5.c66 #ifdef O_DIRECT
221 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) { in main()
239 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in main()
260 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in main()
264 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) { in main()
302 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) { in setup()
Ddiotest6.c54 #ifdef O_DIRECT
185 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { in child_function()
202 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in child_function()
224 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in child_function()
229 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { in child_function()
380 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) { in setup()
/external/ltp/testcases/kernel/fs/fsstress/
Dglobal.h62 #ifndef O_DIRECT
63 #define O_DIRECT 040000 macro
/external/autotest/client/tests/aio_dio_bugs/src/
Daio-dio-invalidate-failure.c28 #ifndef O_DIRECT
29 #define O_DIRECT 040000 /* direct disk access hint */ macro
105 fd = open(argv[1], O_DIRECT|O_CREAT|O_RDWR, 0644); in main()
Daio-dio-extend-stat.c13 #ifndef O_DIRECT
14 #define O_DIRECT 040000 /* direct disk access hint */ macro
70 handle = open(argv[1], O_CREAT | O_TRUNC | O_DIRECT | O_RDWR, 0600); in main()
/external/ltp/testcases/kernel/io/disktest/
Dio.h40 #ifndef O_DIRECT
41 #define O_DIRECT 0400000 macro
/external/ltp/utils/ffsb-6.0-rc2/
Dfh.c102 flags |= O_DIRECT; in fhopenread()
112 flags |= O_DIRECT; in fhopenappend()
122 flags |= O_DIRECT; in fhopenwrite()
132 flags |= O_DIRECT; in fhopencreate()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c354 source_open_flag |= O_DIRECT; in main()
355 dest_open_flag |= O_DIRECT; in main()
440 if (dest_open_flag & O_DIRECT) { in main()
469 flag = source_open_flag & ~O_DIRECT; in main()
478 ~(O_DIRECT | O_CREAT); in main()
Ddio_truncate.c80 while ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { in dio_read()
112 fd = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666); in dio_append()
/external/ltp/testcases/kernel/controllers/io-throttle/
DREADME17 Simple benchmark to generate parallel streams of direct I/O (O_DIRECT). This
19 current working directory, fills it with data using O_DIRECT writes and re-read
20 the whole file always in O_DIRECT mode. Different timestamps are used to
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h47 #ifndef O_DIRECT
48 #define O_DIRECT 00040000 /* direct disk access hint */ macro
/external/ltp/testcases/kernel/fs/doio/
Dopen_flags.c181 #ifdef O_DIRECT
182 {"O_DIRECT", O_DIRECT},
/external/kernel-headers/original/uapi/asm-arm/asm/
Dfcntl.h7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/external/kernel-headers/original/uapi/asm-arm64/asm/
Dfcntl.h25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/external/ltp/testcases/kernel/io/aio/
Daio02.c32 DESC_FLAGS_OPR(IO_CMD_PWRITE, O_WRONLY | O_TRUNC | O_DIRECT | O_LARGEFILE | O_CREAT),
35 DESC_FLAGS_OPR(IO_CMD_PREAD, O_RDONLY | O_DIRECT | O_LARGEFILE),
/external/e2fsprogs/lib/ext2fs/
Dmmp.c33 #ifndef O_DIRECT
34 #define O_DIRECT 0 macro
60 fs->mmp_fd = open(fs->device_name, O_RDWR | O_DIRECT); in ext2fs_mmp_read()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dfcntl.h38 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
/external/syzkaller/sys/freebsd/
Dposix_fs_amd64.const7 O_DIRECT = 65536
/external/syzkaller/sys/netbsd/
Dfs_amd64.const8 O_DIRECT = 524288

123456