Changeset d3a518c
- Timestamp:
- Aug 6, 2020, 3:34:41 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 6c144d8
- Parents:
- 97c3159
- Location:
- libcfa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure.ac
r97c3159 rd3a518c 131 131 #io_uring 5.5 uses enum values 132 132 #io_uring 5.6 and later uses probes 133 134 AH_TEMPLATE([CFA_HAVE_LINUX_IO_URING_H],[Defined if io_uring support is present when compiling libcfathread.]) 135 AH_TEMPLATE([CFA_HAVE_IORING_OP_NOP],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_NOP.]) 136 AH_TEMPLATE([CFA_HAVE_IORING_OP_READV],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_READV.]) 137 AH_TEMPLATE([CFA_HAVE_IORING_OP_WRITEV],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_WRITEV.]) 138 AH_TEMPLATE([CFA_HAVE_IORING_OP_FSYNC],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_FSYNC.]) 139 AH_TEMPLATE([CFA_HAVE_IORING_OP_READ_FIXED],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_READ_FIXED.]) 140 AH_TEMPLATE([CFA_HAVE_IORING_OP_WRITE_FIXED],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_WRITE_FIXED.]) 141 AH_TEMPLATE([CFA_HAVE_IORING_OP_POLL_ADD],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_POLL_ADD.]) 142 AH_TEMPLATE([CFA_HAVE_IORING_OP_POLL_REMOVE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_POLL_REMOVE.]) 143 AH_TEMPLATE([CFA_HAVE_IORING_OP_SYNC_FILE_RANGE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_SYNC_FILE_RANGE.]) 144 AH_TEMPLATE([CFA_HAVE_IORING_OP_SENDMSG],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_SENDMSG.]) 145 AH_TEMPLATE([CFA_HAVE_IORING_OP_RECVMSG],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_RECVMSG.]) 146 AH_TEMPLATE([CFA_HAVE_IORING_OP_TIMEOUT],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_TIMEOUT.]) 147 AH_TEMPLATE([CFA_HAVE_IORING_OP_TIMEOUT_REMOVE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_TIMEOUT_REMOVE.]) 148 AH_TEMPLATE([CFA_HAVE_IORING_OP_ACCEPT],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_ACCEPT.]) 149 AH_TEMPLATE([CFA_HAVE_IORING_OP_ASYNC_CANCEL],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_ASYNC_CANCEL.]) 150 AH_TEMPLATE([CFA_HAVE_IORING_OP_LINK_TIMEOUT],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_LINK_TIMEOUT.]) 151 AH_TEMPLATE([CFA_HAVE_IORING_OP_CONNECT],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_CONNECT.]) 152 AH_TEMPLATE([CFA_HAVE_IORING_OP_FALLOCATE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_FALLOCATE.]) 153 AH_TEMPLATE([CFA_HAVE_IORING_OP_OPENAT],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_OPENAT.]) 154 AH_TEMPLATE([CFA_HAVE_IORING_OP_CLOSE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_CLOSE.]) 155 AH_TEMPLATE([CFA_HAVE_IORING_OP_FILES_UPDATE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_FILES_UPDATE.]) 156 AH_TEMPLATE([CFA_HAVE_IORING_OP_STATX],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_STATX.]) 157 AH_TEMPLATE([CFA_HAVE_IORING_OP_READ],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_READ.]) 158 AH_TEMPLATE([CFA_HAVE_IORING_OP_WRITE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_WRITE.]) 159 AH_TEMPLATE([CFA_HAVE_IORING_OP_FADVISE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_FADVISE.]) 160 AH_TEMPLATE([CFA_HAVE_IORING_OP_MADVISE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_MADVISE.]) 161 AH_TEMPLATE([CFA_HAVE_IORING_OP_SEND],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_SEND.]) 162 AH_TEMPLATE([CFA_HAVE_IORING_OP_RECV],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_RECV.]) 163 AH_TEMPLATE([CFA_HAVE_IORING_OP_OPENAT2],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_OPENAT2.]) 164 AH_TEMPLATE([CFA_HAVE_IORING_OP_EPOLL_CTL],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_EPOLL_CTL.]) 165 AH_TEMPLATE([CFA_HAVE_IORING_OP_SPLICE],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_SPLICE.]) 166 AH_TEMPLATE([CFA_HAVE_IORING_OP_PROVIDE_BUFFERS],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_PROVIDE_BUFFERS.]) 167 AH_TEMPLATE([CFA_HAVE_IORING_OP_REMOVE_BUFFER],[Defined if io_uring support is present when compiling libcfathread and supports the operation IORING_OP_REMOVE_BUFFER.]) 168 AH_TEMPLATE([CFA_HAVE_IOSQE_FIXED_FILE],[Defined if io_uring support is present when compiling libcfathread and supports the flag FIXED_FILE.]) 169 AH_TEMPLATE([CFA_HAVE_IOSQE_IO_DRAIN],[Defined if io_uring support is present when compiling libcfathread and supports the flag IO_DRAIN.]) 170 AH_TEMPLATE([CFA_HAVE_IOSQE_ASYNC],[Defined if io_uring support is present when compiling libcfathread and supports the flag ASYNC.]) 171 AH_TEMPLATE([CFA_HAVE_IOSQE_IO_LINK],[Defined if io_uring support is present when compiling libcfathread and supports the flag IO_LINK.]) 172 AH_TEMPLATE([CFA_HAVE_IOSQE_IO_HARDLINK],[Defined if io_uring support is present when compiling libcfathread and supports the flag IO_HARDLINK.]) 173 AH_TEMPLATE([CFA_HAVE_SPLICE_F_FD_IN_FIXED],[Defined if io_uring support is present when compiling libcfathread and supports the flag SPLICE_F_FD_IN_FIXED.]) 174 AH_TEMPLATE([HAVE_PREADV2],[Defined if preadv2 support is present when compiling libcfathread.]) 175 AH_TEMPLATE([HAVE_PWRITEV2],[Defined if pwritev2 support is present when compiling libcfathread.]) 176 AH_TEMPLATE([__CFA_NO_STATISTICS__],[Defined if libcfathread was compiled without support for statistics.]) 177 133 178 define(ioring_ops, [IORING_OP_NOP,IORING_OP_READV,IORING_OP_WRITEV,IORING_OP_FSYNC,IORING_OP_READ_FIXED,IORING_OP_WRITE_FIXED,IORING_OP_POLL_ADD,IORING_OP_POLL_REMOVE,IORING_OP_SYNC_FILE_RANGE,IORING_OP_SENDMSG,IORING_OP_RECVMSG,IORING_OP_TIMEOUT,IORING_OP_TIMEOUT_REMOVE,IORING_OP_ACCEPT,IORING_OP_ASYNC_CANCEL,IORING_OP_LINK_TIMEOUT,IORING_OP_CONNECT,IORING_OP_FALLOCATE,IORING_OP_OPENAT,IORING_OP_CLOSE,IORING_OP_FILES_UPDATE,IORING_OP_STATX,IORING_OP_READ,IORING_OP_WRITE,IORING_OP_FADVISE,IORING_OP_MADVISE,IORING_OP_SEND,IORING_OP_RECV,IORING_OP_OPENAT2,IORING_OP_EPOLL_CTL,IORING_OP_SPLICE,IORING_OP_PROVIDE_BUFFERS,IORING_OP_REMOVE_BUFFER]) 134 179 define(ioring_flags, [IOSQE_FIXED_FILE,IOSQE_IO_DRAIN,IOSQE_ASYNC,IOSQE_IO_LINK,IOSQE_IO_HARDLINK,SPLICE_F_FD_IN_FIXED]) -
libcfa/prelude/defines.hfa.in
r97c3159 rd3a518c 14 14 // 15 15 16 //----------------------------------------------------------------------- 17 // Global Support 18 /* Defined if io_uring support is present when compiling libcfathread. */ 16 19 #undef CFA_HAVE_LINUX_IO_URING_H 17 20 21 //----------------------------------------------------------------------- 22 // Operations 23 /* Defined if io_uring support is present when compiling libcfathread and 24 supports the operation IORING_OP_NOP. */ 18 25 #undef CFA_HAVE_IORING_OP_NOP 26 27 /* Defined if io_uring support is present when compiling libcfathread and 28 supports the operation IORING_OP_READV. */ 19 29 #undef CFA_HAVE_IORING_OP_READV 30 31 /* Defined if io_uring support is present when compiling libcfathread and 32 supports the operation IORING_OP_WRITEV. */ 20 33 #undef CFA_HAVE_IORING_OP_WRITEV 34 35 /* Defined if io_uring support is present when compiling libcfathread and 36 supports the operation IORING_OP_FSYNC. */ 21 37 #undef CFA_HAVE_IORING_OP_FSYNC 38 39 /* Defined if io_uring support is present when compiling libcfathread and 40 supports the operation IORING_OP_READ_FIXED. */ 22 41 #undef CFA_HAVE_IORING_OP_READ_FIXED 42 43 /* Defined if io_uring support is present when compiling libcfathread and 44 supports the operation IORING_OP_WRITE_FIXED. */ 23 45 #undef CFA_HAVE_IORING_OP_WRITE_FIXED 46 47 /* Defined if io_uring support is present when compiling libcfathread and 48 supports the operation IORING_OP_POLL_ADD. */ 24 49 #undef CFA_HAVE_IORING_OP_POLL_ADD 50 51 /* Defined if io_uring support is present when compiling libcfathread and 52 supports the operation IORING_OP_POLL_REMOVE. */ 25 53 #undef CFA_HAVE_IORING_OP_POLL_REMOVE 54 55 /* Defined if io_uring support is present when compiling libcfathread and 56 supports the operation IORING_OP_SYNC_FILE_RANGE. */ 26 57 #undef CFA_HAVE_IORING_OP_SYNC_FILE_RANGE 58 59 /* Defined if io_uring support is present when compiling libcfathread and 60 supports the operation IORING_OP_SENDMSG. */ 27 61 #undef CFA_HAVE_IORING_OP_SENDMSG 62 63 /* Defined if io_uring support is present when compiling libcfathread and 64 supports the operation IORING_OP_RECVMSG. */ 28 65 #undef CFA_HAVE_IORING_OP_RECVMSG 66 67 /* Defined if io_uring support is present when compiling libcfathread and 68 supports the operation IORING_OP_TIMEOUT. */ 29 69 #undef CFA_HAVE_IORING_OP_TIMEOUT 70 71 /* Defined if io_uring support is present when compiling libcfathread and 72 supports the operation IORING_OP_TIMEOUT_REMOVE. */ 30 73 #undef CFA_HAVE_IORING_OP_TIMEOUT_REMOVE 74 75 /* Defined if io_uring support is present when compiling libcfathread and 76 supports the operation IORING_OP_ACCEPT. */ 31 77 #undef CFA_HAVE_IORING_OP_ACCEPT 78 79 /* Defined if io_uring support is present when compiling libcfathread and 80 supports the operation IORING_OP_ASYNC_CANCEL. */ 32 81 #undef CFA_HAVE_IORING_OP_ASYNC_CANCEL 82 83 /* Defined if io_uring support is present when compiling libcfathread and 84 supports the operation IORING_OP_LINK_TIMEOUT. */ 33 85 #undef CFA_HAVE_IORING_OP_LINK_TIMEOUT 86 87 /* Defined if io_uring support is present when compiling libcfathread and 88 supports the operation IORING_OP_CONNECT. */ 34 89 #undef CFA_HAVE_IORING_OP_CONNECT 90 91 /* Defined if io_uring support is present when compiling libcfathread and 92 supports the operation IORING_OP_FALLOCATE. */ 35 93 #undef CFA_HAVE_IORING_OP_FALLOCATE 94 95 /* Defined if io_uring support is present when compiling libcfathread and 96 supports the operation IORING_OP_OPENAT. */ 36 97 #undef CFA_HAVE_IORING_OP_OPENAT 98 99 /* Defined if io_uring support is present when compiling libcfathread and 100 supports the operation IORING_OP_CLOSE. */ 37 101 #undef CFA_HAVE_IORING_OP_CLOSE 102 103 /* Defined if io_uring support is present when compiling libcfathread and 104 supports the operation IORING_OP_FILES_UPDATE. */ 38 105 #undef CFA_HAVE_IORING_OP_FILES_UPDATE 106 107 /* Defined if io_uring support is present when compiling libcfathread and 108 supports the operation IORING_OP_STATX. */ 39 109 #undef CFA_HAVE_IORING_OP_STATX 110 111 /* Defined if io_uring support is present when compiling libcfathread and 112 supports the operation IORING_OP_READ. */ 40 113 #undef CFA_HAVE_IORING_OP_READ 114 115 /* Defined if io_uring support is present when compiling libcfathread and 116 supports the operation IORING_OP_WRITE. */ 41 117 #undef CFA_HAVE_IORING_OP_WRITE 118 119 /* Defined if io_uring support is present when compiling libcfathread and 120 supports the operation IORING_OP_FADVISE. */ 42 121 #undef CFA_HAVE_IORING_OP_FADVISE 122 123 /* Defined if io_uring support is present when compiling libcfathread and 124 supports the operation IORING_OP_MADVISE. */ 43 125 #undef CFA_HAVE_IORING_OP_MADVISE 126 127 /* Defined if io_uring support is present when compiling libcfathread and 128 supports the operation IORING_OP_SEND. */ 44 129 #undef CFA_HAVE_IORING_OP_SEND 130 131 /* Defined if io_uring support is present when compiling libcfathread and 132 supports the operation IORING_OP_RECV. */ 45 133 #undef CFA_HAVE_IORING_OP_RECV 134 135 /* Defined if io_uring support is present when compiling libcfathread and 136 supports the operation IORING_OP_OPENAT2. */ 46 137 #undef CFA_HAVE_IORING_OP_OPENAT2 138 139 /* Defined if io_uring support is present when compiling libcfathread and 140 supports the operation IORING_OP_EPOLL_CTL. */ 47 141 #undef CFA_HAVE_IORING_OP_EPOLL_CTL 142 143 /* Defined if io_uring support is present when compiling libcfathread and 144 supports the operation IORING_OP_SPLICE. */ 48 145 #undef CFA_HAVE_IORING_OP_SPLICE 146 147 /* Defined if io_uring support is present when compiling libcfathread and 148 supports the operation IORING_OP_PROVIDE_BUFFERS. */ 49 149 #undef CFA_HAVE_IORING_OP_PROVIDE_BUFFERS 150 151 /* Defined if io_uring support is present when compiling libcfathread and 152 supports the operation IORING_OP_REMOVE_BUFFER. */ 50 153 #undef CFA_HAVE_IORING_OP_REMOVE_BUFFER 51 154 155 //----------------------------------------------------------------------- 156 // Flags 157 /* Defined if io_uring support is present when compiling libcfathread and 158 supports the flag FIXED_FILE. */ 52 159 #undef CFA_HAVE_IOSQE_FIXED_FILE 160 161 /* Defined if io_uring support is present when compiling libcfathread and 162 supports the flag IO_DRAIN. */ 53 163 #undef CFA_HAVE_IOSQE_IO_DRAIN 164 165 /* Defined if io_uring support is present when compiling libcfathread and 166 supports the flag ASYNC. */ 54 167 #undef CFA_HAVE_IOSQE_ASYNC 168 169 /* Defined if io_uring support is present when compiling libcfathread and 170 supports the flag IO_LINK. */ 55 171 #undef CFA_HAVE_IOSQE_IO_LINK 172 173 /* Defined if io_uring support is present when compiling libcfathread and 174 supports the flag IO_HARDLINK. */ 56 175 #undef CFA_HAVE_IOSQE_IO_HARDLINK 176 177 /* Defined if io_uring support is present when compiling libcfathread and 178 supports the flag SPLICE_F_FD_IN_FIXED. */ 57 179 #undef CFA_HAVE_SPLICE_F_FD_IN_FIXED 58 180 181 //----------------------------------------------------------------------- 182 // Other calls 183 /* Define to 1 if you have the `preadv2' function. */ 59 184 #undef HAVE_PREADV2 185 186 /* Define to 1 if you have the `pwritev2' function. */ 60 187 #undef HAVE_PWRITEV2 61 188 189 //----------------------------------------------------------------------- 190 // Statistics 191 /* Defined if libcfathread was compiled without support for statistics. */ 62 192 #undef __CFA_NO_STATISTICS__
Note: See TracChangeset
for help on using the changeset viewer.