1io_uring_prep_setxattr(3) liburing Manual io_uring_prep_setxattr(3)
2
3
4
6 io_uring_prep_setxattr, io_uring_prep_fsetxattr - prepare a request to
7 set an extended attribute value
8
10 #include <liburing.h>
11
12 void io_uring_prep_setxattr(struct io_uring_sqe *sqe,
13 const char *name,
14 const char *value,
15 const char *path,
16 int flags,
17 unsigned int len);
18
19 void io_uring_prep_fsetxattr(struct io_uring_sqe *sqe,
20 int fd,
21 const char *name,
22 const char *value,
23 int flags,
24 unsigned int len);
25
27 The io_uring_prep_setxattr(3) function prepares a request to set an ex‐
28 tended attribute value. The submission queue entry sqe is setup to set
29 the value of the extended attribute identified by name and associated
30 with the given path in the filesystem with modifier flags flags. The
31 len argument specifies the size (in bytes) of value.
32
33 io_uring_prep_fsetxattr(3) is identical to io_uring_prep_setxattr(3),
34 only the extended attribute is set on the open file referred to by fd
35 in place of path.
36
37 This function prepares an async setxattr(2) request. See that man page
38 for details.
39
40
42 None
43
44
46 io_uring_get_sqe(3), setxattr(2)
47
48
49
50liburing-2.4 January 23, 2023 io_uring_prep_setxattr(3)