Searched defs:O_DIRECT (Results 1 - 16 of 16) sorted by relevance

/external/ltp/testcases/kernel/fs/fsstress/
H A Dglobal.h62 #ifndef O_DIRECT
63 #define O_DIRECT 040000 macro
/external/ltp/testcases/kernel/io/disktest/
H A Dio.h39 /* for linux on power 2.4 O_DIRECT is only defined in asm/fcntl.h */
40 #ifndef O_DIRECT
41 #define O_DIRECT 0400000 macro
/external/kernel-headers/original/uapi/asm-arm/asm/
H A Dfcntl.h7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/external/kernel-headers/original/uapi/asm-arm64/asm/
H A Dfcntl.h25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/external/autotest/client/tests/aio_dio_bugs/src/
H A 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);
H A 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);
/external/e2fsprogs/lib/ext2fs/
H A Dmmp.c33 #ifndef O_DIRECT
34 #define O_DIRECT 0 macro
54 * own fd to read the MMP block to ensure that it is using O_DIRECT,
58 fs->mmp_fd = open(fs->device_name, O_RDWR | O_DIRECT);
134 /* I was tempted to make this use O_DIRECT and the mmp_fd, but
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dfcntl.h38 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
/external/fio/os/
H A Dos-windows.h60 * Windows doesn't have O_DIRECT or O_SYNC, so define them
64 #define O_DIRECT 0x1000000 macro
/external/kernel-headers/original/uapi/asm-generic/
H A Dfcntl.h47 #ifndef O_DIRECT
48 #define O_DIRECT 00040000 /* direct disk access hint */ macro
/external/autotest/client/tests/aiostress/
H A Daio-stress.c69 #ifndef O_DIRECT
70 #define O_DIRECT 040000 /* direct disk access hint */ macro
1280 printf("\t-O Use O_DIRECT (not available in 2.4 kernels),\n");
1374 o_direct = O_DIRECT;
/external/python/cpython2/Lib/plat-irix5/
H A DFILE.py165 O_DIRECT = 0x8000 variable
/external/e2fsprogs/contrib/
H A Dfsstress.c60 #ifndef O_DIRECT
61 #define O_DIRECT 040000 macro
1781 if (fcntl(fd, F_SETFL, flags | O_DIRECT) < 0) {
1786 printf("cannot set O_DIRECT: %s\n", strerror(errno));
/external/stressapptest/src/
H A Dworker.cc104 #if !defined(O_DIRECT)
107 #define O_DIRECT 0 macro
1597 int fd = open(filename_.c_str(), flags | O_DIRECT, 0644);
1598 if (O_DIRECT != 0 && fd < 0 && errno == EINVAL) {
1599 fd = open(filename_.c_str(), flags, 0644); // Try without O_DIRECT
1600 os_->ActivateFlushPageCache(); // Not using O_DIRECT fixed EINVAL
1678 return os_->FlushPageCache(); // If O_DIRECT worked, this will be a NOP.
2729 int fd = open(device_name_.c_str(), flags | O_DIRECT, 0);
2730 if (O_DIRECT != 0 && fd < 0 && errno == EINVAL) {
2731 fd = open(device_name_.c_str(), flags, 0); // Try without O_DIRECT
[all...]
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
H A Dscsimain.c56 #ifndef O_DIRECT
57 #define O_DIRECT 040000 macro
2294 infd = open(inf, O_RDONLY | O_DIRECT);
2354 flags |= O_DIRECT;
/external/python/cpython2/Lib/plat-irix6/
H A DFILE.py575 O_DIRECT = 0x8000 variable

Completed in 1804 milliseconds