[f6660520] | 1 | // |
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo |
---|
| 3 | // |
---|
| 4 | // The contents of this file are covered under the licence agreement in the |
---|
| 5 | // file "LICENCE" distributed with Cforall. |
---|
| 6 | // |
---|
| 7 | // defines.hfa.in -- |
---|
| 8 | // |
---|
| 9 | // Author : Thierry Delisle |
---|
| 10 | // Created On : Thu Apr 30 15:23:00 2020 |
---|
| 11 | // Last Modified By : |
---|
| 12 | // Last Modified On : |
---|
| 13 | // Update Count : |
---|
| 14 | // |
---|
[c680a4b] | 15 | |
---|
[d3a518c] | 16 | //----------------------------------------------------------------------- |
---|
| 17 | // Global Support |
---|
| 18 | /* Defined if io_uring support is present when compiling libcfathread. */ |
---|
[5751a56] | 19 | #undef CFA_HAVE_LINUX_IO_URING_H |
---|
| 20 | |
---|
[d3a518c] | 21 | //----------------------------------------------------------------------- |
---|
| 22 | // Operations |
---|
| 23 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 24 | supports the operation IORING_OP_NOP. */ |
---|
[5751a56] | 25 | #undef CFA_HAVE_IORING_OP_NOP |
---|
[d3a518c] | 26 | |
---|
| 27 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 28 | supports the operation IORING_OP_READV. */ |
---|
[5751a56] | 29 | #undef CFA_HAVE_IORING_OP_READV |
---|
[d3a518c] | 30 | |
---|
| 31 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 32 | supports the operation IORING_OP_WRITEV. */ |
---|
[5751a56] | 33 | #undef CFA_HAVE_IORING_OP_WRITEV |
---|
[d3a518c] | 34 | |
---|
| 35 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 36 | supports the operation IORING_OP_FSYNC. */ |
---|
[5751a56] | 37 | #undef CFA_HAVE_IORING_OP_FSYNC |
---|
[d3a518c] | 38 | |
---|
| 39 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 40 | supports the operation IORING_OP_READ_FIXED. */ |
---|
[5751a56] | 41 | #undef CFA_HAVE_IORING_OP_READ_FIXED |
---|
[d3a518c] | 42 | |
---|
| 43 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 44 | supports the operation IORING_OP_WRITE_FIXED. */ |
---|
[5751a56] | 45 | #undef CFA_HAVE_IORING_OP_WRITE_FIXED |
---|
[d3a518c] | 46 | |
---|
| 47 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 48 | supports the operation IORING_OP_POLL_ADD. */ |
---|
[5751a56] | 49 | #undef CFA_HAVE_IORING_OP_POLL_ADD |
---|
[d3a518c] | 50 | |
---|
| 51 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 52 | supports the operation IORING_OP_POLL_REMOVE. */ |
---|
[5751a56] | 53 | #undef CFA_HAVE_IORING_OP_POLL_REMOVE |
---|
[d3a518c] | 54 | |
---|
| 55 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 56 | supports the operation IORING_OP_SYNC_FILE_RANGE. */ |
---|
[5751a56] | 57 | #undef CFA_HAVE_IORING_OP_SYNC_FILE_RANGE |
---|
[d3a518c] | 58 | |
---|
| 59 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 60 | supports the operation IORING_OP_SENDMSG. */ |
---|
[5751a56] | 61 | #undef CFA_HAVE_IORING_OP_SENDMSG |
---|
[d3a518c] | 62 | |
---|
| 63 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 64 | supports the operation IORING_OP_RECVMSG. */ |
---|
[5751a56] | 65 | #undef CFA_HAVE_IORING_OP_RECVMSG |
---|
[d3a518c] | 66 | |
---|
| 67 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 68 | supports the operation IORING_OP_TIMEOUT. */ |
---|
[5751a56] | 69 | #undef CFA_HAVE_IORING_OP_TIMEOUT |
---|
[d3a518c] | 70 | |
---|
| 71 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 72 | supports the operation IORING_OP_TIMEOUT_REMOVE. */ |
---|
[5751a56] | 73 | #undef CFA_HAVE_IORING_OP_TIMEOUT_REMOVE |
---|
[d3a518c] | 74 | |
---|
| 75 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 76 | supports the operation IORING_OP_ACCEPT. */ |
---|
[5751a56] | 77 | #undef CFA_HAVE_IORING_OP_ACCEPT |
---|
[d3a518c] | 78 | |
---|
| 79 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 80 | supports the operation IORING_OP_ASYNC_CANCEL. */ |
---|
[5751a56] | 81 | #undef CFA_HAVE_IORING_OP_ASYNC_CANCEL |
---|
[d3a518c] | 82 | |
---|
| 83 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 84 | supports the operation IORING_OP_LINK_TIMEOUT. */ |
---|
[5751a56] | 85 | #undef CFA_HAVE_IORING_OP_LINK_TIMEOUT |
---|
[d3a518c] | 86 | |
---|
| 87 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 88 | supports the operation IORING_OP_CONNECT. */ |
---|
[5751a56] | 89 | #undef CFA_HAVE_IORING_OP_CONNECT |
---|
[d3a518c] | 90 | |
---|
| 91 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 92 | supports the operation IORING_OP_FALLOCATE. */ |
---|
[5751a56] | 93 | #undef CFA_HAVE_IORING_OP_FALLOCATE |
---|
[d3a518c] | 94 | |
---|
| 95 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 96 | supports the operation IORING_OP_OPENAT. */ |
---|
[5751a56] | 97 | #undef CFA_HAVE_IORING_OP_OPENAT |
---|
[d3a518c] | 98 | |
---|
| 99 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 100 | supports the operation IORING_OP_CLOSE. */ |
---|
[5751a56] | 101 | #undef CFA_HAVE_IORING_OP_CLOSE |
---|
[d3a518c] | 102 | |
---|
| 103 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 104 | supports the operation IORING_OP_FILES_UPDATE. */ |
---|
[5751a56] | 105 | #undef CFA_HAVE_IORING_OP_FILES_UPDATE |
---|
[d3a518c] | 106 | |
---|
| 107 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 108 | supports the operation IORING_OP_STATX. */ |
---|
[5751a56] | 109 | #undef CFA_HAVE_IORING_OP_STATX |
---|
[d3a518c] | 110 | |
---|
| 111 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 112 | supports the operation IORING_OP_READ. */ |
---|
[5751a56] | 113 | #undef CFA_HAVE_IORING_OP_READ |
---|
[d3a518c] | 114 | |
---|
| 115 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 116 | supports the operation IORING_OP_WRITE. */ |
---|
[5751a56] | 117 | #undef CFA_HAVE_IORING_OP_WRITE |
---|
[d3a518c] | 118 | |
---|
| 119 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 120 | supports the operation IORING_OP_FADVISE. */ |
---|
[5751a56] | 121 | #undef CFA_HAVE_IORING_OP_FADVISE |
---|
[d3a518c] | 122 | |
---|
| 123 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 124 | supports the operation IORING_OP_MADVISE. */ |
---|
[5751a56] | 125 | #undef CFA_HAVE_IORING_OP_MADVISE |
---|
[d3a518c] | 126 | |
---|
| 127 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 128 | supports the operation IORING_OP_SEND. */ |
---|
[5751a56] | 129 | #undef CFA_HAVE_IORING_OP_SEND |
---|
[d3a518c] | 130 | |
---|
| 131 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 132 | supports the operation IORING_OP_RECV. */ |
---|
[5751a56] | 133 | #undef CFA_HAVE_IORING_OP_RECV |
---|
[d3a518c] | 134 | |
---|
| 135 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 136 | supports the operation IORING_OP_OPENAT2. */ |
---|
[5751a56] | 137 | #undef CFA_HAVE_IORING_OP_OPENAT2 |
---|
[d3a518c] | 138 | |
---|
| 139 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 140 | supports the operation IORING_OP_EPOLL_CTL. */ |
---|
[5751a56] | 141 | #undef CFA_HAVE_IORING_OP_EPOLL_CTL |
---|
[d3a518c] | 142 | |
---|
| 143 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 144 | supports the operation IORING_OP_SPLICE. */ |
---|
[5751a56] | 145 | #undef CFA_HAVE_IORING_OP_SPLICE |
---|
[d3a518c] | 146 | |
---|
| 147 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 148 | supports the operation IORING_OP_PROVIDE_BUFFERS. */ |
---|
[5751a56] | 149 | #undef CFA_HAVE_IORING_OP_PROVIDE_BUFFERS |
---|
[d3a518c] | 150 | |
---|
| 151 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 152 | supports the operation IORING_OP_REMOVE_BUFFER. */ |
---|
[5751a56] | 153 | #undef CFA_HAVE_IORING_OP_REMOVE_BUFFER |
---|
[f6660520] | 154 | |
---|
[d3a518c] | 155 | //----------------------------------------------------------------------- |
---|
| 156 | // Flags |
---|
| 157 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 158 | supports the flag FIXED_FILE. */ |
---|
[22ddade] | 159 | #undef CFA_HAVE_IOSQE_FIXED_FILE |
---|
[d3a518c] | 160 | |
---|
| 161 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 162 | supports the flag IO_DRAIN. */ |
---|
[22ddade] | 163 | #undef CFA_HAVE_IOSQE_IO_DRAIN |
---|
[d3a518c] | 164 | |
---|
| 165 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 166 | supports the flag ASYNC. */ |
---|
[22ddade] | 167 | #undef CFA_HAVE_IOSQE_ASYNC |
---|
[d3a518c] | 168 | |
---|
| 169 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 170 | supports the flag IO_LINK. */ |
---|
[22ddade] | 171 | #undef CFA_HAVE_IOSQE_IO_LINK |
---|
[d3a518c] | 172 | |
---|
| 173 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 174 | supports the flag IO_HARDLINK. */ |
---|
[22ddade] | 175 | #undef CFA_HAVE_IOSQE_IO_HARDLINK |
---|
[d3a518c] | 176 | |
---|
| 177 | /* Defined if io_uring support is present when compiling libcfathread and |
---|
| 178 | supports the flag SPLICE_F_FD_IN_FIXED. */ |
---|
[22ddade] | 179 | #undef CFA_HAVE_SPLICE_F_FD_IN_FIXED |
---|
| 180 | |
---|
[d3a518c] | 181 | //----------------------------------------------------------------------- |
---|
| 182 | // Other calls |
---|
| 183 | /* Define to 1 if you have the `preadv2' function. */ |
---|
[08a994e] | 184 | #undef HAVE_PREADV2 |
---|
[d3a518c] | 185 | |
---|
| 186 | /* Define to 1 if you have the `pwritev2' function. */ |
---|
[08a994e] | 187 | #undef HAVE_PWRITEV2 |
---|
| 188 | |
---|
[d3a518c] | 189 | //----------------------------------------------------------------------- |
---|
| 190 | // Statistics |
---|
| 191 | /* Defined if libcfathread was compiled without support for statistics. */ |
---|
[61dd73d] | 192 | #undef __CFA_NO_STATISTICS__ |
---|