Changes in / [5a894e12:329c62f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io/call.cfa.in
r5a894e12 r329c62f 228 228 Call('READV', 'ssize_t preadv2(int fd, const struct iovec * iov, int iovcnt, off_t offset, int flags)', { 229 229 'fd' : 'fd', 230 'addr': '( typeof(sqe->addr))iov',230 'addr': '(uintptr_t)iov', 231 231 'len' : 'iovcnt', 232 232 'off' : 'offset', … … 236 236 Call('WRITEV', 'ssize_t pwritev2(int fd, const struct iovec * iov, int iovcnt, off_t offset, int flags)', { 237 237 'fd' : 'fd', 238 'addr': '( typeof(sqe->addr))iov',238 'addr': '(uintptr_t)iov', 239 239 'len' : 'iovcnt', 240 240 'off' : 'offset', … … 262 262 Call('SENDMSG', 'ssize_t sendmsg(int sockfd, const struct msghdr * msg, int flags)', { 263 263 'fd': 'sockfd', 264 'addr': '( typeof(sqe->addr))(struct msghdr *)msg',264 'addr': '(uintptr_t)(struct msghdr *)msg', 265 265 'len': '1', 266 266 'msg_flags': 'flags' … … 269 269 Call('RECVMSG', 'ssize_t recvmsg(int sockfd, struct msghdr * msg, int flags)', { 270 270 'fd': 'sockfd', 271 'addr': '( typeof(sqe->addr))(struct msghdr *)msg',271 'addr': '(uintptr_t)(struct msghdr *)msg', 272 272 'len': '1', 273 273 'msg_flags': 'flags' … … 276 276 Call('SEND', 'ssize_t send(int sockfd, const void * buf, size_t len, int flags)', { 277 277 'fd': 'sockfd', 278 'addr': '( typeof(sqe->addr))buf',278 'addr': '(uintptr_t)buf', 279 279 'len': 'len', 280 280 'msg_flags': 'flags' … … 283 283 Call('RECV', 'ssize_t recv(int sockfd, void * buf, size_t len, int flags)', { 284 284 'fd': 'sockfd', 285 'addr': '( typeof(sqe->addr))buf',285 'addr': '(uintptr_t)buf', 286 286 'len': 'len', 287 287 'msg_flags': 'flags' … … 290 290 Call('ACCEPT', 'int accept4(int sockfd, __SOCKADDR_ARG addr, socklen_t * restrict addrlen, int flags)', { 291 291 'fd': 'sockfd', 292 'addr': '( typeof(sqe->addr))&addr',292 'addr': '(uintptr_t)&addr', 293 293 'addr2': '(typeof(sqe->addr2))addrlen', 294 294 'accept_flags': 'flags' … … 297 297 Call('CONNECT', 'int connect(int sockfd, __CONST_SOCKADDR_ARG addr, socklen_t addrlen)', { 298 298 'fd': 'sockfd', 299 'addr': '( typeof(sqe->addr))&addr',299 'addr': '(uintptr_t)&addr', 300 300 'off': 'addrlen' 301 301 }), … … 316 316 # CFA_HAVE_IORING_OP_MADVISE 317 317 Call('MADVISE', 'int madvise(void * addr, size_t length, int advice)', { 318 'addr': '( typeof(sqe->addr))addr',318 'addr': '(uintptr_t)addr', 319 319 'len': 'length', 320 320 'fadvise_advice': 'advice' … … 323 323 Call('OPENAT', 'int openat(int dirfd, const char * pathname, int flags, mode_t mode)', { 324 324 'fd': 'dirfd', 325 'addr': '( typeof(sqe->addr))pathname',325 'addr': '(uintptr_t)pathname', 326 326 'open_flags': 'flags;', 327 327 'len': 'mode' … … 330 330 Call('OPENAT2', 'int openat2(int dirfd, const char * pathname, struct open_how * how, size_t size)', { 331 331 'fd': 'dirfd', 332 'addr': '( typeof(sqe->addr))pathname',332 'addr': '(uintptr_t)pathname', 333 333 'off': '(typeof(sqe->off))how', 334 334 'len': 'sizeof(*how)' … … 341 341 Call('STATX', 'int statx(int dirfd, const char * pathname, int flags, unsigned int mask, struct statx * statxbuf)', { 342 342 'fd': 'dirfd', 343 'addr': '( typeof(sqe->addr))pathname',343 'addr': '(uintptr_t)pathname', 344 344 'statx_flags': 'flags', 345 345 'len': 'mask', … … 349 349 Call('READ', 'ssize_t read(int fd, void * buf, size_t count)', { 350 350 'fd': 'fd', 351 'addr': '( typeof(sqe->addr))buf',351 'addr': '(uintptr_t)buf', 352 352 'len': 'count' 353 353 }), … … 355 355 Call('WRITE', 'ssize_t write(int fd, void * buf, size_t count)', { 356 356 'fd': 'fd', 357 'addr': '( typeof(sqe->addr))buf',357 'addr': '(uintptr_t)buf', 358 358 'len': 'count' 359 359 }),
Note: See TracChangeset
for help on using the changeset viewer.