Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
4lDO2
rfcs
Commits
ba715f62
Verified
Commit
ba715f62
authored
Jun 24, 2020
by
4lDO2
🖖
Browse files
Update CqEntry64 size.
parent
cb7baa48
Changes
1
Hide whitespace changes
Inline
Side-by-side
text/0000-io_uring.md
View file @
ba715f62
...
...
@@ -75,13 +75,14 @@ pub struct SqEntry64 {
pub
_rsvd
:
[
u64
;
2
],
// reserved for future use and must be zero
}
/// A
32
-bit Completion Queue Entry. Takes up
16
bytes of space.
/// A
64
-bit Completion Queue Entry. Takes up
32
bytes of space.
#[repr(C,
align(
16
))]
#[derive(Clone,
Copy,
Debug,
Eq,
Hash,
PartialEq)]
pub
struct
CqEntry64
{
pub
user_data
:
u64
,
// the same value as specified in the corresponding submission entry
pub
status
:
i32
,
// the "return value" of the syscall, optionally the flags field can extend this
pub
flags
:
u32
,
// miscellaneous flags describing the completion
pub
status
:
u64
,
// the "return value" of the syscall, optionally the flags field can extend this
pub
flags
:
u64
,
// miscellaneous flags describing the completion
pub
extra
:
u64
,
// extra eight bytes of the return value (optional)
}
```
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment