From c5ca9ff98c37eaae6ef891e675c02514513684f4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 8 Jun 2018 18:55:53 +0200 Subject: sys/linux: move aio descriptions into separate file --- sys/linux/sys.txt | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) (limited to 'sys/linux/sys.txt') diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index ede4aadfd..5bfe4688a 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -26,7 +26,6 @@ include include include include -include include include include @@ -48,7 +47,7 @@ include include include include -include +include include include include @@ -208,15 +207,6 @@ seccomp_metadata { flags const[0, int32] } -resource io_ctx[intptr] -io_setup(n int32, ctx ptr[out, io_ctx]) -io_destroy(ctx io_ctx) -io_getevents(ctx io_ctx, min_nr intptr, nr len[events], events ptr[out, array[io_event]], timeout ptr[in, timespec]) -# TODO: kernel identifies requets by address, so pointers passed to io_submit -# need to be forwarded to io_cancel somehow. -io_submit(ctx io_ctx, nr len[iocbpp], iocbpp ptr[in, array[ptr[in, iocb]]]) -io_cancel(ctx io_ctx, iocb ptr[in, iocb], res ptr[out, io_event]) - capget(hdr ptr[in, cap_header], data ptr[in, cap_data]) capset(hdr ptr[in, cap_header], data ptr[in, cap_data]) @@ -604,28 +594,6 @@ utimbuf { modtime intptr } -io_event { - data int64 - obj int64 - res int64 - res2 int32 -} - -iocb { - data const[0, int64] - key flags[iocb_key, int32] - pad const[0, int32] - op flags[lio_opcode, int16] - prio int16 - fd fd - buf ptr64[inout, array[int8]] - nbytes len[buf, int64] - offset int64 - reserv const[0, int64] - flags flags[iocb_flags, int32] - resfd fd_event -} - sigevent { val const[0, intptr] signo signalno @@ -906,9 +874,6 @@ eventfd_flags = EFD_CLOEXEC, EFD_NONBLOCK, EFD_SEMAPHORE timerfd_create_flags = TFD_NONBLOCK, TFD_CLOEXEC timerfd_settime_flags = TFD_TIMER_ABSTIME clock_type = CLOCK_REALTIME, CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC, CLOCK_MONOTONIC_COARSE, CLOCK_MONOTONIC_RAW, CLOCK_BOOTTIME, CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID -lio_opcode = IOCB_CMD_PREAD, IOCB_CMD_PWRITE, IOCB_CMD_FSYNC, IOCB_CMD_FDSYNC, IOCB_CMD_NOOP, IOCB_CMD_PREADV, IOCB_CMD_PWRITEV -iocb_flags = 0, IOCB_FLAG_RESFD -iocb_key = 0 sigev_notify = SIGEV_NONE, SIGEV_SIGNAL, SIGEV_THREAD, SIGEV_THREAD_ID cap_version = 0x19980330, 0x20071026, 0x20080522 prctl_code_void = PR_GET_DUMPABLE, PR_GET_KEEPCAPS, PR_GET_NO_NEW_PRIVS, PR_GET_SECCOMP, PR_GET_SECUREBITS, PR_GET_TIMERSLACK, PR_GET_TIMING, PR_TASK_PERF_EVENTS_DISABLE, PR_TASK_PERF_EVENTS_ENABLE, PR_MCE_KILL_GET -- cgit mrf-deployment