Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CarterLi/liburing4cpp
/ functions
Functions
102 in github.com/CarterLi/liburing4cpp
⨍
Functions
102
◇
Types & classes
21
↓ 11 callers
Function
panic
Convert errno to exception * @throw std::runtime_error / std::system_error * @return never */
include/liburing/utils.hpp:42
↓ 9 callers
Method
read
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 callers
Method
run
include/liburing/io_service.hpp:714
↓ 8 callers
Method
close
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 callers
Method
send
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 callers
Method
splice
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 callers
Method
poll
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 callers
Method
recv
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 callers
Method
write
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 callers
Method
accept
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 callers
Method
done
Get is the coroutine done */
include/liburing/task.hpp:129
↓ 2 callers
Function
dur2ts
include/liburing/utils.hpp:31
↓ 2 callers
Method
read_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 callers
Method
shutdown
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 callers
Method
timeout
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 callers
Function
to_iov
Fill an iovec struct using buf & size */
include/liburing/utils.hpp:9
↓ 2 callers
Method
write_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 callers
Function
accept_connection
demo/echo_server.cpp:22
↓ 1 callers
Function
accept_connection
demo/file_server.cpp:101
↓ 1 callers
Method
connect
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 callers
Function
copy_file
demo/link_cp.cpp:29
↓ 1 callers
Method
fsync
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 callers
Function
get_file_size
demo/link_cp.cpp:11
↓ 1 callers
Method
get_result
Get the result hold by this task */
include/liburing/task.hpp:115
↓ 1 callers
Function
http_send_file
Serve response
demo/file_server.cpp:31
↓ 1 callers
Function
invoke
demo/threading.cpp:12
↓ 1 callers
Method
openat
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 callers
Function
ping
tests/ping_pong.cpp:7
↓ 1 callers
Function
pong
tests/ping_pong.cpp:42
↓ 1 callers
Method
register_buffers
include/liburing/io_service.hpp:768
↓ 1 callers
Method
register_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 callers
Method
resolve
include/liburing/sqe_awaitable.hpp:18
↓ 1 callers
Function
serve
Parse HTTP request header
demo/file_server.cpp:78
↓ 1 callers
Function
start_work
demo/http_client.cpp:16
↓ 1 callers
Method
unregister_buffers
Unregister all buffers * @see io_uring_register(2) IORING_UNREGISTER_BUFFERS */
include/liburing/io_service.hpp:778
↓ 1 callers
Method
unregister_files
Unregister all files * @see io_uring_register(2) IORING_UNREGISTER_FILES */
include/liburing/io_service.hpp:758
↓ 1 callers
Method
yield
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
Method
Awaiter
include/liburing/task.hpp:23
Method
async_lock
demo/threading.cpp:72
Method
async_mutex
demo/threading.cpp:53
Method
await_ready
include/liburing/task.hpp:100
Method
await_ready
include/liburing/sqe_awaitable.hpp:75
Method
await_resume
include/liburing/task.hpp:110
Method
await_resume
include/liburing/sqe_awaitable.hpp:82
Method
await_sqe
include/liburing/sqe_awaitable.hpp:73
Method
await_suspend
include/liburing/task.hpp:24
Method
await_suspend
include/liburing/task.hpp:106
Method
await_suspend
include/liburing/sqe_awaitable.hpp:77
Method
await_work
include/liburing/io_service.hpp:679
Method
callback_resolver
include/liburing/sqe_awaitable.hpp:44
Method
final_suspend
include/liburing/task.hpp:19
Method
get_return_object
include/liburing/task.hpp:163
Method
initial_suspend
include/liburing/task.hpp:18
Method
io_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
Method
io_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
Method
linkat
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
Method
lock
demo/threading.cpp:59
Function
main
tests/ping_pong.cpp:77
Function
main
tests/delay_and_print.cpp:6
Function
main
demo/echo_server.cpp:70
Function
main
demo/threading.cpp:85
Function
main
demo/bench.cpp:18
Function
main
demo/link_cp.cpp:53
Function
main
demo/http_client.cpp:50
Function
main
demo/file_server.cpp:128
Method
mkdirat
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
Method
msg_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
Method
on_scope_exit
include/liburing/utils.hpp:24
Method
operator co_await
include/liburing/sqe_awaitable.hpp:68
Function
operator |
include/liburing/utils.hpp:70
Method
panic_on_err
include/liburing/utils.hpp:63
Method
readv
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
Method
readv2
include/liburing/io_service.hpp:160
Method
recvmsg
include/liburing/io_service.hpp:322
Method
register_files_update
Update registered files * @see io_uring_register(2) IORING_REGISTER_FILES_UPDATE */
include/liburing/io_service.hpp:751
Method
renameat
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
Method
resolve
include/liburing/sqe_awaitable.hpp:30
Method
resolve
include/liburing/sqe_awaitable.hpp:46
Method
return_value
include/liburing/task.hpp:66
Method
return_void
include/liburing/task.hpp:80
Method
sendmsg
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
Method
set_callback
include/liburing/sqe_awaitable.hpp:64
Method
set_deferred
User MUST keep resolver alive before the operation is finished
include/liburing/sqe_awaitable.hpp:60
Method
sqe_awaitable
TODO: use cancel_token to implement cancellation
include/liburing/sqe_awaitable.hpp:57
Method
statx
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
Method
stopwatch
demo/bench.cpp:8
Method
symlinkat
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
Method
sync_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
Method
task
include/liburing/task.hpp:97
Method
task_promise_base
include/liburing/task.hpp:50
Method
tee
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
Method
try_lock
demo/threading.cpp:65
Method
unhandled_exception
include/liburing/task.hpp:39
Method
unlinkat
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
Method
unlock
demo/threading.cpp:78
Method
writev
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
Method
writev2
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