MCPcopy Create free account

hub / github.com/CarterLi/liburing4cpp / functions

Functions102 in github.com/CarterLi/liburing4cpp

↓ 11 callersFunctionpanic
Convert errno to exception * @throw std::runtime_error / std::system_error * @return never */
include/liburing/utils.hpp:42
↓ 9 callersMethodread
Read from a file descriptor at a given offset asynchronously * @see pread(2) * @see io_uring_enter(2) IORING_OP_READ * @param iflags IO
include/liburing/io_service.hpp:210
↓ 9 callersMethodrun
include/liburing/io_service.hpp:714
↓ 8 callersMethodclose
Close a file descriptor asynchronously * @see close(2) * @see io_uring_enter(2) IORING_OP_CLOSE * @param iflags IOSQE_* flags * @r
include/liburing/io_service.hpp:490
↓ 8 callersMethodsend
Send a message on a socket asynchronously * @see send(2) * @see io_uring_enter(2) IORING_OP_SEND * @param iflags IOSQE_* flags * @
include/liburing/io_service.hpp:374
↓ 4 callersMethodsplice
Splice data to/from a pipe asynchronously * @see splice(2) * @see io_uring_enter(2) IORING_OP_SPLICE * @param iflags IOSQE_* flags
include/liburing/io_service.hpp:524
↓ 3 callersMethodpoll
Wait for an event on a file descriptor asynchronously * @see poll(2) * @see io_uring_enter(2) * @param iflags IOSQE_* flags * @ret
include/liburing/io_service.hpp:392
↓ 3 callersMethodrecv
Receive a message from a socket asynchronously * @see recv(2) * @see io_uring_enter(2) IORING_OP_RECV * @param iflags IOSQE_* flags
include/liburing/io_service.hpp:356
↓ 3 callersMethodwrite
Write to a file descriptor at a given offset asynchronously * @see pwrite(2) * @see io_uring_enter(2) IORING_OP_WRITE * @param iflags I
include/liburing/io_service.hpp:228
↓ 2 callersMethodaccept
Accept a connection on a socket asynchronously * @see accept4(2) * @see io_uring_enter(2) IORING_OP_ACCEPT * @param iflags IOSQE_* flag
include/liburing/io_service.hpp:421
↓ 2 callersMethoddone
Get is the coroutine done */
include/liburing/task.hpp:129
↓ 2 callersFunctiondur2ts
include/liburing/utils.hpp:31
↓ 2 callersMethodread_fixed
Read data into a fixed buffer asynchronously * @see preadv2(2) * @see io_uring_enter(2) IORING_OP_READ_FIXED * @param buf_index the ind
include/liburing/io_service.hpp:247
↓ 2 callersMethodshutdown
Shut down part of a full-duplex connection asynchronously * @see shutdown(2) * @see io_uring_enter(2) IORING_OP_SHUTDOWN * @param iflag
include/liburing/io_service.hpp:562
↓ 2 callersMethodtimeout
Wait for specified duration asynchronously * @see io_uring_enter(2) IORING_OP_TIMEOUT * @param ts initial expiration, timespec * @param
include/liburing/io_service.hpp:457
↓ 2 callersFunctionto_iov
Fill an iovec struct using buf & size */
include/liburing/utils.hpp:9
↓ 2 callersMethodwrite_fixed
Write data into a fixed buffer asynchronously * @see pwritev2(2) * @see io_uring_enter(2) IORING_OP_WRITE_FIXED * @param buf_index the
include/liburing/io_service.hpp:267
↓ 1 callersFunctionaccept_connection
demo/echo_server.cpp:22
↓ 1 callersFunctionaccept_connection
demo/file_server.cpp:101
↓ 1 callersMethodconnect
Initiate a connection on a socket asynchronously * @see connect(2) * @see io_uring_enter(2) IORING_OP_CONNECT * @param iflags IOSQE_* f
include/liburing/io_service.hpp:439
↓ 1 callersFunctioncopy_file
demo/link_cp.cpp:29
↓ 1 callersMethodfsync
Synchronize a file's in-core state with storage device asynchronously * @see fsync(2) * @see io_uring_enter(2) IORING_OP_FSYNC * @param
include/liburing/io_service.hpp:286
↓ 1 callersFunctionget_file_size
demo/link_cp.cpp:11
↓ 1 callersMethodget_result
Get the result hold by this task */
include/liburing/task.hpp:115
↓ 1 callersFunctionhttp_send_file
Serve response
demo/file_server.cpp:31
↓ 1 callersFunctioninvoke
demo/threading.cpp:12
↓ 1 callersMethodopenat
Open and possibly create a file asynchronously * @see openat(2) * @see io_uring_enter(2) IORING_OP_OPENAT * @param iflags IOSQE_* flags
include/liburing/io_service.hpp:472
↓ 1 callersFunctionping
tests/ping_pong.cpp:7
↓ 1 callersFunctionpong
tests/ping_pong.cpp:42
↓ 1 callersMethodregister_buffers
include/liburing/io_service.hpp:768
↓ 1 callersMethodregister_files
Register files for I/O * @param fds fds to register * @see io_uring_register(2) IORING_REGISTER_FILES */
include/liburing/io_service.hpp:741
↓ 1 callersMethodresolve
include/liburing/sqe_awaitable.hpp:18
↓ 1 callersFunctionserve
Parse HTTP request header
demo/file_server.cpp:78
↓ 1 callersFunctionstart_work
demo/http_client.cpp:16
↓ 1 callersMethodunregister_buffers
Unregister all buffers * @see io_uring_register(2) IORING_UNREGISTER_BUFFERS */
include/liburing/io_service.hpp:778
↓ 1 callersMethodunregister_files
Unregister all files * @see io_uring_register(2) IORING_UNREGISTER_FILES */
include/liburing/io_service.hpp:758
↓ 1 callersMethodyield
Enqueue a NOOP command, which eventually acts like pthread_yield when awaiting * @see io_uring_enter(2) IORING_OP_NOP * @param iflags IOSQE_
include/liburing/io_service.hpp:407
MethodAwaiter
include/liburing/task.hpp:23
Methodasync_lock
demo/threading.cpp:72
Methodasync_mutex
demo/threading.cpp:53
Methodawait_ready
include/liburing/task.hpp:100
Methodawait_ready
include/liburing/sqe_awaitable.hpp:75
Methodawait_resume
include/liburing/task.hpp:110
Methodawait_resume
include/liburing/sqe_awaitable.hpp:82
Methodawait_sqe
include/liburing/sqe_awaitable.hpp:73
Methodawait_suspend
include/liburing/task.hpp:24
Methodawait_suspend
include/liburing/task.hpp:106
Methodawait_suspend
include/liburing/sqe_awaitable.hpp:77
Methodawait_work
include/liburing/io_service.hpp:679
Methodcallback_resolver
include/liburing/sqe_awaitable.hpp:44
Methodfinal_suspend
include/liburing/task.hpp:19
Methodget_return_object
include/liburing/task.hpp:163
Methodinitial_suspend
include/liburing/task.hpp:18
Methodio_service
Init io_service / io_uring object * @see io_uring_setup(2) * @param entries Maximum sqe can be gotten without submitting * @param flags
include/liburing/io_service.hpp:41
Methodio_uring_get_sqe_safe
Get a sqe pointer that can never be NULL * @param ring pointer to inited io_uring struct * @return pointer to `io_uring_sqe` struct (not NUL
include/liburing/io_service.hpp:692
Methodlinkat
Make a new name for a file asynchronously * @see linkat(2) * @see io_uring_enter(2) IORING_OP_LINKAT * @param iflags IOSQE_* flags
include/liburing/io_service.hpp:631
Methodlock
demo/threading.cpp:59
Functionmain
tests/ping_pong.cpp:77
Functionmain
tests/delay_and_print.cpp:6
Functionmain
demo/echo_server.cpp:70
Functionmain
demo/threading.cpp:85
Functionmain
demo/bench.cpp:18
Functionmain
demo/link_cp.cpp:53
Functionmain
demo/http_client.cpp:50
Functionmain
demo/file_server.cpp:128
Methodmkdirat
Create a directory asynchronously * @see mkdirat(2) * @see io_uring_enter(2) IORING_OP_MKDIRAT * @param iflags IOSQE_* flags * @re
include/liburing/io_service.hpp:597
Methodmsg_ring
Delete a name and possibly the file it refers to asynchronously * @see io_uring_enter(2) IORING_OP_MSG_RING * @param iflags IOSQE_* flags
include/liburing/io_service.hpp:666
Methodon_scope_exit
include/liburing/utils.hpp:24
Methodoperator co_await
include/liburing/sqe_awaitable.hpp:68
Functionoperator |
include/liburing/utils.hpp:70
Methodpanic_on_err
include/liburing/utils.hpp:63
Methodreadv
Read data into multiple buffers asynchronously * @see preadv2(2) * @see io_uring_enter(2) IORING_OP_READV * @param iflags IOSQE_* flags
include/liburing/io_service.hpp:148
Methodreadv2
include/liburing/io_service.hpp:160
Methodrecvmsg
include/liburing/io_service.hpp:322
Methodregister_files_update
Update registered files * @see io_uring_register(2) IORING_REGISTER_FILES_UPDATE */
include/liburing/io_service.hpp:751
Methodrenameat
Change the name or location of a file asynchronously * @see renameat2(2) * @see io_uring_enter(2) IORING_OP_RENAMEAT * @param iflags IO
include/liburing/io_service.hpp:578
Methodresolve
include/liburing/sqe_awaitable.hpp:30
Methodresolve
include/liburing/sqe_awaitable.hpp:46
Methodreturn_value
include/liburing/task.hpp:66
Methodreturn_void
include/liburing/task.hpp:80
Methodsendmsg
Send a message on a socket asynchronously * @see sendmsg(2) * @see io_uring_enter(2) IORING_OP_SENDMSG * @param iflags IOSQE_* flags
include/liburing/io_service.hpp:339
Methodset_callback
include/liburing/sqe_awaitable.hpp:64
Methodset_deferred
User MUST keep resolver alive before the operation is finished
include/liburing/sqe_awaitable.hpp:60
Methodsqe_awaitable
TODO: use cancel_token to implement cancellation
include/liburing/sqe_awaitable.hpp:57
Methodstatx
Get file status asynchronously * @see statx(2) * @see io_uring_enter(2) IORING_OP_STATX * @param iflags IOSQE_* flags * @return a
include/liburing/io_service.hpp:505
Methodstopwatch
demo/bench.cpp:8
Methodsymlinkat
Make a new name for a file asynchronously * @see symlinkat(2) * @see io_uring_enter(2) IORING_OP_SYMLINKAT * @param iflags IOSQE_* flag
include/liburing/io_service.hpp:614
Methodsync_file_range
Sync a file segment with disk asynchronously * @see sync_file_range(2) * @see io_uring_enter(2) IORING_OP_SYNC_FILE_RANGE * @param ifla
include/liburing/io_service.hpp:302
Methodtask
include/liburing/task.hpp:97
Methodtask_promise_base
include/liburing/task.hpp:50
Methodtee
Duplicate pipe content asynchronously * @see tee(2) * @see io_uring_enter(2) IORING_OP_TEE * @param iflags IOSQE_* flags * @return
include/liburing/io_service.hpp:544
Methodtry_lock
demo/threading.cpp:65
Methodunhandled_exception
include/liburing/task.hpp:39
Methodunlinkat
Delete a name and possibly the file it refers to asynchronously * @see unlinkat(2) * @see io_uring_enter(2) IORING_OP_UNLINKAT * @param
include/liburing/io_service.hpp:650
Methodunlock
demo/threading.cpp:78
Methodwritev
Write data into multiple buffers asynchronously * @see pwritev2(2) * @see io_uring_enter(2) IORING_OP_WRITEV * @param iflags IOSQE_* fl
include/liburing/io_service.hpp:179
Methodwritev2
include/liburing/io_service.hpp:191
Method~deferred_resolver
include/liburing/sqe_awaitable.hpp:35
Method~io_service
Destroy io_service / io_uring object */
include/liburing/io_service.hpp:132
Method~on_scope_exit
include/liburing/utils.hpp:25
next →1–100 of 102, ranked by callers