File tree 2 files changed +19
-0
lines changed
src/unix/linux_like/linux
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -4135,6 +4135,10 @@ fn test_linux(target: &str) {
4135
4135
// FIXME(linux): Requires >= 6.9 kernel headers.
4136
4136
"epoll_params" => true ,
4137
4137
4138
+ // FIXME(linux): Requires >= 6.12 kernel headers.
4139
+ "dmabuf_cmsg" |
4140
+ "dmabuf_token" => true ,
4141
+
4138
4142
_ => false ,
4139
4143
}
4140
4144
} ) ;
Original file line number Diff line number Diff line change @@ -1320,6 +1320,21 @@ s! {
1320
1320
pub propagation: crate :: __u64,
1321
1321
pub userns_fd: crate :: __u64,
1322
1322
}
1323
+
1324
+ // linux/uio.h
1325
+
1326
+ pub struct dmabuf_cmsg {
1327
+ pub frag_offset: crate :: __u64,
1328
+ pub frag_size: crate :: __u32,
1329
+ pub frag_token: crate :: __u32,
1330
+ pub dmabuf_id: crate :: __u32,
1331
+ pub flags: crate :: __u32,
1332
+ }
1333
+
1334
+ pub struct dmabuf_token {
1335
+ pub token_start: crate :: __u32,
1336
+ pub token_count: crate :: __u32,
1337
+ }
1323
1338
}
1324
1339
1325
1340
cfg_if ! {
You can’t perform that action at this time.
0 commit comments