1io_uring_prep_poll_remove(3) liburing Manual io_uring_prep_poll_remove(3)
2
3
4
6 io_uring_prep_poll_remove - prepare a poll deletion request
7
9 #include <liburing.h>
10
11 void io_uring_prep_poll_remove(struct io_uring_sqe *sqe,
12 __u64 user_data);
13
14
16 The io_uring_prep_poll_remove(3) function prepares a poll removal re‐
17 quest. The submission queue entry sqe is setup to remove a poll request
18 identified by user_data
19
20 Works like io_uring_prep_cancel(3) except only looks for poll requests.
21 Apart from that, behavior is identical. See that man page for specific
22 details.
23
24
26 None
27
29 These are the errors that are reported in the CQE res field. On suc‐
30 cess, 0 is returned.
31
32 -ENOENT
33 The request identified by user_data could not be located. This
34 could be because it completed before the cancelation request was
35 issued, or if an invalid identifier is used.
36
37 -EINVAL
38 One of the fields set in the SQE was invalid.
39
40 -EALREADY
41 The execution state of the request has progressed far enough
42 that cancelation is no longer possible. This should normally
43 mean that it will complete shortly, either successfully, or in‐
44 terrupted due to the cancelation.
45
47 io_uring_get_sqe(3), io_uring_submit(3), io_uring_prep_cancel(3)
48
49
50
51liburing-2.2 March 12, 2022 io_uring_prep_poll_remove(3)