/external/ltp/testcases/kernel/fs/fsstress/ |
H A D | global.h | 62 #ifndef O_DIRECT 63 #define O_DIRECT 040000 macro
|
/external/ltp/testcases/kernel/io/disktest/ |
H A D | io.h | 39 /* 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 D | fcntl.h | 7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
H A D | fcntl.h | 25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
H A D | aio-dio-extend-stat.c | 13 #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 D | aio-dio-invalidate-failure.c | 28 #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 D | mmp.c | 33 #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 D | fcntl.h | 38 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
|
/external/fio/os/ |
H A D | os-windows.h | 60 * 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 D | fcntl.h | 47 #ifndef O_DIRECT 48 #define O_DIRECT 00040000 /* direct disk access hint */ macro
|
/external/autotest/client/tests/aiostress/ |
H A D | aio-stress.c | 69 #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 D | FILE.py | 165 O_DIRECT = 0x8000 variable
|
/external/e2fsprogs/contrib/ |
H A D | fsstress.c | 60 #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 D | worker.cc | 104 #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 D | scsimain.c | 56 #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 D | FILE.py | 575 O_DIRECT = 0x8000 variable
|