Home
last modified time | relevance | path

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

1234

/external/ltp/testcases/kernel/io/direct_io/
Ddiotest4.c79 #ifdef O_DIRECT
220 if ((fd = open(filename, O_DIRECT | O_RDWR | O_CREAT, 0666)) < 0) { in main()
240 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main()
346 if ((newfd = open("/dev/null", O_DIRECT | O_RDWR)) < 0) { in main()
363 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main()
392 if ((fd = open(filename, O_DIRECT | O_WRONLY)) < 0) { in main()
418 if ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { in main()
444 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main()
467 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main()
512 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/bison/lib/
Dfcntl.in.h189 #if !defined O_DIRECT && defined O_DIRECTIO
191 # define O_DIRECT O_DIRECTIO
203 #ifndef O_DIRECT
204 # define O_DIRECT 0
/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.c353 source_open_flag |= O_DIRECT; in main()
354 dest_open_flag |= O_DIRECT; in main()
439 if (dest_open_flag & O_DIRECT) { in main()
468 flag = source_open_flag & ~O_DIRECT; in main()
477 ~(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/kernel-headers/original/uapi/asm-generic/
Dfcntl.h46 #ifndef O_DIRECT
47 #define O_DIRECT 00040000 /* direct disk access hint */ macro
/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/bison/linux-lib/
Dfcntl.h501 #if !defined O_DIRECT && defined O_DIRECTIO
503 # define O_DIRECT O_DIRECTIO macro
515 #ifndef O_DIRECT
516 # define O_DIRECT 0 macro
/external/bison/darwin-lib/
Dfcntl.h501 #if !defined O_DIRECT && defined O_DIRECTIO
503 # define O_DIRECT O_DIRECTIO macro
515 #ifndef O_DIRECT
516 # define O_DIRECT 0 macro
/external/fio/examples/
Ddev-dax.fio27 # not use the O_DIRECT flag because the device is naturally direct
28 # access. The O_DIRECT flags will result in failure. The engine
/external/strace/xlat/
Dopen_mode_flags.h48 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT)
49 XLAT(O_DIRECT),
/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.h6 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/external/kernel-headers/original/uapi/asm-arm64/asm/
Dfcntl.h24 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/external/ltp/testcases/kernel/io/aio/aio02/
Daio_tio.c201 O_TRUNC | O_DIRECT | O_WRONLY | O_CREAT | O_LARGEFILE, in test_main()
208 status = io_tio("file1", O_RDONLY | O_DIRECT | O_LARGEFILE, in test_main()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dfcntl.h37 #define O_DIRECT 0x8000 /* direct disk access hint */ macro

1234