1io_uring_sqe_set_data(3)        liburing Manual       io_uring_sqe_set_data(3)
2
3
4

NAME

6       io_uring_sqe_set_data - set user data for submission queue event
7

SYNOPSIS

9       #include <liburing.h>
10
11       void io_uring_sqe_set_data(struct io_uring_sqe *sqe,
12                                  void *user_data);
13
14       void io_uring_sqe_set_data64(struct io_uring_sqe *sqe,
15                                    __u64 data);
16

DESCRIPTION

18       The  io_uring_sqe_set_data(3)  function stores a user_data pointer with
19       the submission queue entry sqe.
20
21       The io_uring_sqe_set_data64(3) function stores a 64-bit data value with
22       the submission queue entry sqe.
23
24       After  the  caller  has  requested  a submission queue entry (SQE) with
25       io_uring_get_sqe(3), they can associate a data pointer  or  value  with
26       the   SQE.   Once   the   completion   arrives,   the  function  io_ur‐
27       ing_cqe_get_data(3) or io_uring_cqe_get_data64(3) can be called to  re‐
28       trieve the data pointer or value associated with the submitted request.
29
30

RETURN VALUE

32       None
33

SEE ALSO

35       io_uring_get_sqe(3), io_uring_cqe_get_data(3)
36
37
38
39liburing-2.1                   November 15, 2021      io_uring_sqe_set_data(3)
Impressum