Skip to content

Commit d51f91b

Browse files
committed
Update to Linux 6.19
1 parent 0e2918c commit d51f91b

File tree

345 files changed

+4349
-479
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

345 files changed

+4349
-479
lines changed

gen/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::process::Command;
1010
use std::{env, fs};
1111

1212
#[allow(unused_doc_comments)]
13-
const LINUX_VERSION: &str = "v6.17";
13+
const LINUX_VERSION: &str = "v6.19";
1414

1515
/// Some commonly used features.
1616
const DEFAULT_FEATURES: &str = "\"general\", \"errno\"";

src/aarch64/btrfs.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
3030
pub type __kernel_ptrdiff_t = __kernel_long_t;
3131
pub type __kernel_off_t = __kernel_long_t;
3232
pub type __kernel_loff_t = crate::ctypes::c_longlong;
33+
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
3334
pub type __kernel_old_time_t = __kernel_long_t;
3435
pub type __kernel_time_t = __kernel_long_t;
3536
pub type __kernel_time64_t = crate::ctypes::c_longlong;
@@ -176,7 +177,7 @@ pub str_: __IncompleteArrayField<crate::ctypes::c_char>,
176177
#[derive(Debug, Copy, Clone)]
177178
pub struct mnt_id_req {
178179
pub size: __u32,
179-
pub spare: __u32,
180+
pub mnt_ns_fd: __u32,
180181
pub mnt_id: __u64,
181182
pub param: __u64,
182183
pub mnt_ns_id: __u64,
@@ -741,7 +742,7 @@ pub dirid: __u64,
741742
#[repr(C)]
742743
#[derive(Debug, Copy, Clone)]
743744
pub struct btrfs_ioctl_encoded_io_args {
744-
pub iov: *const iovec,
745+
pub iov: *mut iovec,
745746
pub iovcnt: crate::ctypes::c_ulong,
746747
pub offset: __s64,
747748
pub flags: __u64,
@@ -1607,6 +1608,10 @@ pub const BTRFS_SUBVOL_SYNC_WAIT_FOR_QUEUED: u32 = 1;
16071608
pub const BTRFS_SUBVOL_SYNC_COUNT: u32 = 2;
16081609
pub const BTRFS_SUBVOL_SYNC_PEEK_FIRST: u32 = 3;
16091610
pub const BTRFS_SUBVOL_SYNC_PEEK_LAST: u32 = 4;
1611+
pub const BTRFS_SHUTDOWN_FLAGS_DEFAULT: u32 = 0;
1612+
pub const BTRFS_SHUTDOWN_FLAGS_LOGFLUSH: u32 = 1;
1613+
pub const BTRFS_SHUTDOWN_FLAGS_NOLOGFLUSH: u32 = 2;
1614+
pub const BTRFS_SHUTDOWN_FLAGS_LAST: u32 = 3;
16101615
pub const BTRFS_MAGIC: u64 = 5575266562640200287;
16111616
pub const BTRFS_MAX_LEVEL: u32 = 8;
16121617
pub const BTRFS_NAME_LEN: u32 = 255;

src/aarch64/elf_uapi.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
3030
pub type __kernel_ptrdiff_t = __kernel_long_t;
3131
pub type __kernel_off_t = __kernel_long_t;
3232
pub type __kernel_loff_t = crate::ctypes::c_longlong;
33+
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
3334
pub type __kernel_old_time_t = __kernel_long_t;
3435
pub type __kernel_time_t = __kernel_long_t;
3536
pub type __kernel_time64_t = crate::ctypes::c_longlong;

src/aarch64/general.rs

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
3131
pub type __kernel_ptrdiff_t = __kernel_long_t;
3232
pub type __kernel_off_t = __kernel_long_t;
3333
pub type __kernel_loff_t = crate::ctypes::c_longlong;
34+
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
3435
pub type __kernel_old_time_t = __kernel_long_t;
3536
pub type __kernel_time_t = __kernel_long_t;
3637
pub type __kernel_time64_t = crate::ctypes::c_longlong;
@@ -156,6 +157,13 @@ pub resolve: __u64,
156157
}
157158
#[repr(C)]
158159
#[derive(Debug, Copy, Clone)]
160+
pub struct delegation {
161+
pub d_flags: __u32,
162+
pub d_type: __u16,
163+
pub __pad: __u16,
164+
}
165+
#[repr(C)]
166+
#[derive(Debug, Copy, Clone)]
159167
pub struct epoll_event {
160168
pub events: __poll_t,
161169
pub data: __u64,
@@ -290,7 +298,7 @@ pub str_: __IncompleteArrayField<crate::ctypes::c_char>,
290298
#[derive(Debug, Copy, Clone)]
291299
pub struct mnt_id_req {
292300
pub size: __u32,
293-
pub spare: __u32,
301+
pub mnt_ns_fd: __u32,
294302
pub mnt_id: __u64,
295303
pub param: __u64,
296304
pub mnt_ns_id: __u64,
@@ -1059,9 +1067,9 @@ pub sa_flags: crate::ctypes::c_ulong,
10591067
pub sa_restorer: __sigrestore_t,
10601068
pub sa_mask: kernel_sigset_t,
10611069
}
1062-
pub const LINUX_VERSION_CODE: u32 = 397568;
1070+
pub const LINUX_VERSION_CODE: u32 = 398080;
10631071
pub const LINUX_VERSION_MAJOR: u32 = 6;
1064-
pub const LINUX_VERSION_PATCHLEVEL: u32 = 17;
1072+
pub const LINUX_VERSION_PATCHLEVEL: u32 = 19;
10651073
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
10661074
pub const __BITS_PER_LONG_LONG: u32 = 64;
10671075
pub const __FD_SETSIZE: u32 = 1024;
@@ -1221,6 +1229,8 @@ pub const RWH_WRITE_LIFE_MEDIUM: u32 = 3;
12211229
pub const RWH_WRITE_LIFE_LONG: u32 = 4;
12221230
pub const RWH_WRITE_LIFE_EXTREME: u32 = 5;
12231231
pub const RWF_WRITE_LIFE_NOT_SET: u32 = 0;
1232+
pub const F_GETDELEG: u32 = 1039;
1233+
pub const F_SETDELEG: u32 = 1040;
12241234
pub const DN_ACCESS: u32 = 1;
12251235
pub const DN_MODIFY: u32 = 2;
12261236
pub const DN_CREATE: u32 = 4;
@@ -1232,6 +1242,7 @@ pub const AT_FDCWD: i32 = -100;
12321242
pub const PIDFD_SELF_THREAD: i32 = -10000;
12331243
pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001;
12341244
pub const FD_PIDFS_ROOT: i32 = -10002;
1245+
pub const FD_NSFS_ROOT: i32 = -10003;
12351246
pub const FD_INVALID: i32 = -10009;
12361247
pub const AT_SYMLINK_NOFOLLOW: u32 = 256;
12371248
pub const AT_SYMLINK_FOLLOW: u32 = 1024;
@@ -1705,6 +1716,7 @@ pub const DMA_BUF_MAGIC: u32 = 1145913666;
17051716
pub const DEVMEM_MAGIC: u32 = 1162691661;
17061717
pub const SECRETMEM_MAGIC: u32 = 1397048141;
17071718
pub const PID_FS_MAGIC: u32 = 1346978886;
1719+
pub const GUEST_MEMFD_MAGIC: u32 = 1196246349;
17081720
pub const PROT_READ: u32 = 1;
17091721
pub const PROT_WRITE: u32 = 2;
17101722
pub const PROT_EXEC: u32 = 4;
@@ -2637,6 +2649,7 @@ pub const __NR_removexattrat: u32 = 466;
26372649
pub const __NR_open_tree_attr: u32 = 467;
26382650
pub const __NR_file_getattr: u32 = 468;
26392651
pub const __NR_file_setattr: u32 = 469;
2652+
pub const __NR_listns: u32 = 470;
26402653
pub const WNOHANG: u32 = 1;
26412654
pub const WUNTRACED: u32 = 2;
26422655
pub const WSTOPPED: u32 = 2;

src/aarch64/if_arp.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
3030
pub type __kernel_ptrdiff_t = __kernel_long_t;
3131
pub type __kernel_off_t = __kernel_long_t;
3232
pub type __kernel_loff_t = crate::ctypes::c_longlong;
33+
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
3334
pub type __kernel_old_time_t = __kernel_long_t;
3435
pub type __kernel_time_t = __kernel_long_t;
3536
pub type __kernel_time64_t = crate::ctypes::c_longlong;
@@ -731,6 +732,7 @@ pub const ETH_P_AOE: u32 = 34978;
731732
pub const ETH_P_ETHERCAT: u32 = 34980;
732733
pub const ETH_P_8021AD: u32 = 34984;
733734
pub const ETH_P_802_EX1: u32 = 34997;
735+
pub const ETH_P_MXLGSW: u32 = 35011;
734736
pub const ETH_P_PREAUTH: u32 = 35015;
735737
pub const ETH_P_TIPC: u32 = 35018;
736738
pub const ETH_P_LLDP: u32 = 35020;
@@ -753,6 +755,7 @@ pub const ETH_P_LOOPBACK: u32 = 36864;
753755
pub const ETH_P_QINQ1: u32 = 37120;
754756
pub const ETH_P_QINQ2: u32 = 37376;
755757
pub const ETH_P_QINQ3: u32 = 37632;
758+
pub const ETH_P_YT921X: u32 = 39304;
756759
pub const ETH_P_EDSA: u32 = 56026;
757760
pub const ETH_P_DSA_8021Q: u32 = 56027;
758761
pub const ETH_P_DSA_A5PSW: u32 = 57345;
@@ -1117,6 +1120,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M
11171120
pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN;
11181121
pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON;
11191122
pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE;
1123+
pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM;
1124+
pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM;
11201125
pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX;
11211126
pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC;
11221127
pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK;
@@ -1452,6 +1457,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL
14521457
pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE;
14531458
pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE;
14541459
pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO;
1460+
pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO;
14551461
pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX;
14561462
pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC;
14571463
pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO;
@@ -1812,7 +1818,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64,
18121818
IFLA_DPLL_PIN = 65,
18131819
IFLA_MAX_PACING_OFFLOAD_HORIZON = 66,
18141820
IFLA_NETNS_IMMUTABLE = 67,
1815-
__IFLA_MAX = 68,
1821+
IFLA_HEADROOM = 68,
1822+
IFLA_TAILROOM = 69,
1823+
__IFLA_MAX = 70,
18161824
}
18171825
#[repr(u32)]
18181826
#[non_exhaustive]
@@ -2392,7 +2400,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6,
23922400
IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7,
23932401
IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8,
23942402
IFLA_BOND_SLAVE_PRIO = 9,
2395-
__IFLA_BOND_SLAVE_MAX = 10,
2403+
IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10,
2404+
__IFLA_BOND_SLAVE_MAX = 11,
23962405
}
23972406
#[repr(u32)]
23982407
#[non_exhaustive]

src/aarch64/if_ether.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
3030
pub type __kernel_ptrdiff_t = __kernel_long_t;
3131
pub type __kernel_off_t = __kernel_long_t;
3232
pub type __kernel_loff_t = crate::ctypes::c_longlong;
33+
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
3334
pub type __kernel_old_time_t = __kernel_long_t;
3435
pub type __kernel_time_t = __kernel_long_t;
3536
pub type __kernel_time64_t = crate::ctypes::c_longlong;
@@ -112,6 +113,7 @@ pub const ETH_P_AOE: u32 = 34978;
112113
pub const ETH_P_ETHERCAT: u32 = 34980;
113114
pub const ETH_P_8021AD: u32 = 34984;
114115
pub const ETH_P_802_EX1: u32 = 34997;
116+
pub const ETH_P_MXLGSW: u32 = 35011;
115117
pub const ETH_P_PREAUTH: u32 = 35015;
116118
pub const ETH_P_TIPC: u32 = 35018;
117119
pub const ETH_P_LLDP: u32 = 35020;
@@ -134,6 +136,7 @@ pub const ETH_P_LOOPBACK: u32 = 36864;
134136
pub const ETH_P_QINQ1: u32 = 37120;
135137
pub const ETH_P_QINQ2: u32 = 37376;
136138
pub const ETH_P_QINQ3: u32 = 37632;
139+
pub const ETH_P_YT921X: u32 = 39304;
137140
pub const ETH_P_EDSA: u32 = 56026;
138141
pub const ETH_P_DSA_8021Q: u32 = 56027;
139142
pub const ETH_P_DSA_A5PSW: u32 = 57345;

src/aarch64/if_packet.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
3030
pub type __kernel_ptrdiff_t = __kernel_long_t;
3131
pub type __kernel_off_t = __kernel_long_t;
3232
pub type __kernel_loff_t = crate::ctypes::c_longlong;
33+
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
3334
pub type __kernel_old_time_t = __kernel_long_t;
3435
pub type __kernel_time_t = __kernel_long_t;
3536
pub type __kernel_time64_t = crate::ctypes::c_longlong;

src/aarch64/if_tun.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
3030
pub type __kernel_ptrdiff_t = __kernel_long_t;
3131
pub type __kernel_off_t = __kernel_long_t;
3232
pub type __kernel_loff_t = crate::ctypes::c_longlong;
33+
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
3334
pub type __kernel_old_time_t = __kernel_long_t;
3435
pub type __kernel_time_t = __kernel_long_t;
3536
pub type __kernel_time64_t = crate::ctypes::c_longlong;
@@ -142,6 +143,7 @@ pub const ETH_P_AOE: u32 = 34978;
142143
pub const ETH_P_ETHERCAT: u32 = 34980;
143144
pub const ETH_P_8021AD: u32 = 34984;
144145
pub const ETH_P_802_EX1: u32 = 34997;
146+
pub const ETH_P_MXLGSW: u32 = 35011;
145147
pub const ETH_P_PREAUTH: u32 = 35015;
146148
pub const ETH_P_TIPC: u32 = 35018;
147149
pub const ETH_P_LLDP: u32 = 35020;
@@ -164,6 +166,7 @@ pub const ETH_P_LOOPBACK: u32 = 36864;
164166
pub const ETH_P_QINQ1: u32 = 37120;
165167
pub const ETH_P_QINQ2: u32 = 37376;
166168
pub const ETH_P_QINQ3: u32 = 37632;
169+
pub const ETH_P_YT921X: u32 = 39304;
167170
pub const ETH_P_EDSA: u32 = 56026;
168171
pub const ETH_P_DSA_8021Q: u32 = 56027;
169172
pub const ETH_P_DSA_A5PSW: u32 = 57345;

src/aarch64/image.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
3030
pub type __kernel_ptrdiff_t = __kernel_long_t;
3131
pub type __kernel_off_t = __kernel_long_t;
3232
pub type __kernel_loff_t = crate::ctypes::c_longlong;
33+
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
3334
pub type __kernel_old_time_t = __kernel_long_t;
3435
pub type __kernel_time_t = __kernel_long_t;
3536
pub type __kernel_time64_t = crate::ctypes::c_longlong;

src/aarch64/io_uring.rs

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
3030
pub type __kernel_ptrdiff_t = __kernel_long_t;
3131
pub type __kernel_off_t = __kernel_long_t;
3232
pub type __kernel_loff_t = crate::ctypes::c_longlong;
33+
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
3334
pub type __kernel_old_time_t = __kernel_long_t;
3435
pub type __kernel_time_t = __kernel_long_t;
3536
pub type __kernel_time64_t = crate::ctypes::c_longlong;
@@ -178,7 +179,7 @@ pub str_: __IncompleteArrayField<crate::ctypes::c_char>,
178179
#[derive(Debug, Copy, Clone)]
179180
pub struct mnt_id_req {
180181
pub size: __u32,
181-
pub spare: __u32,
182+
pub mnt_ns_fd: __u32,
182183
pub mnt_id: __u64,
183184
pub param: __u64,
184185
pub mnt_ns_id: __u64,
@@ -723,6 +724,25 @@ pub zcrx_id: __u32,
723724
pub __resv2: __u32,
724725
pub __resv: [__u64; 3usize],
725726
}
727+
#[repr(C)]
728+
#[derive(Debug, Copy, Clone)]
729+
pub struct zcrx_ctrl_flush_rq {
730+
pub __resv: [__u64; 6usize],
731+
}
732+
#[repr(C)]
733+
#[derive(Debug, Copy, Clone)]
734+
pub struct zcrx_ctrl_export {
735+
pub zcrx_fd: __u32,
736+
pub __resv1: [__u32; 11usize],
737+
}
738+
#[repr(C)]
739+
#[derive(Copy, Clone)]
740+
pub struct zcrx_ctrl {
741+
pub zcrx_id: __u32,
742+
pub op: __u32,
743+
pub __resv: [__u64; 2usize],
744+
pub __bindgen_anon_1: zcrx_ctrl__bindgen_ty_1,
745+
}
726746
pub const NR_OPEN: u32 = 1024;
727747
pub const NGROUPS_MAX: u32 = 65536;
728748
pub const ARG_MAX: u32 = 131072;
@@ -1006,8 +1026,11 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384;
10061026
pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768;
10071027
pub const IORING_SETUP_NO_SQARRAY: u32 = 65536;
10081028
pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072;
1029+
pub const IORING_SETUP_CQE_MIXED: u32 = 262144;
1030+
pub const IORING_SETUP_SQE_MIXED: u32 = 524288;
10091031
pub const IORING_URING_CMD_FIXED: u32 = 1;
1010-
pub const IORING_URING_CMD_MASK: u32 = 1;
1032+
pub const IORING_URING_CMD_MULTISHOT: u32 = 2;
1033+
pub const IORING_URING_CMD_MASK: u32 = 3;
10111034
pub const IORING_FSYNC_DATASYNC: u32 = 1;
10121035
pub const IORING_TIMEOUT_ABS: u32 = 1;
10131036
pub const IORING_TIMEOUT_UPDATE: u32 = 2;
@@ -1047,11 +1070,14 @@ pub const IORING_NOP_FILE: u32 = 2;
10471070
pub const IORING_NOP_FIXED_FILE: u32 = 4;
10481071
pub const IORING_NOP_FIXED_BUFFER: u32 = 8;
10491072
pub const IORING_NOP_TW: u32 = 16;
1073+
pub const IORING_NOP_CQE32: u32 = 32;
10501074
pub const IORING_CQE_F_BUFFER: u32 = 1;
10511075
pub const IORING_CQE_F_MORE: u32 = 2;
10521076
pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4;
10531077
pub const IORING_CQE_F_NOTIF: u32 = 8;
10541078
pub const IORING_CQE_F_BUF_MORE: u32 = 16;
1079+
pub const IORING_CQE_F_SKIP: u32 = 32;
1080+
pub const IORING_CQE_F_32: u32 = 32768;
10551081
pub const IORING_CQE_BUFFER_SHIFT: u32 = 16;
10561082
pub const IORING_OFF_SQ_RING: u32 = 0;
10571083
pub const IORING_OFF_CQ_RING: u32 = 134217728;
@@ -1210,7 +1236,9 @@ IORING_OP_EPOLL_WAIT = 59,
12101236
IORING_OP_READV_FIXED = 60,
12111237
IORING_OP_WRITEV_FIXED = 61,
12121238
IORING_OP_PIPE = 62,
1213-
IORING_OP_LAST = 63,
1239+
IORING_OP_NOP128 = 63,
1240+
IORING_OP_URING_CMD128 = 64,
1241+
IORING_OP_LAST = 65,
12141242
}
12151243
#[repr(u32)]
12161244
#[non_exhaustive]
@@ -1258,7 +1286,9 @@ IORING_REGISTER_SEND_MSG_RING = 31,
12581286
IORING_REGISTER_ZCRX_IFQ = 32,
12591287
IORING_REGISTER_RESIZE_RINGS = 33,
12601288
IORING_REGISTER_MEM_REGION = 34,
1261-
IORING_REGISTER_LAST = 35,
1289+
IORING_REGISTER_QUERY = 35,
1290+
IORING_REGISTER_ZCRX_CTRL = 36,
1291+
IORING_REGISTER_LAST = 37,
12621292
IORING_REGISTER_USE_REGISTERED_RING = 2147483648,
12631293
}
12641294
#[repr(u32)]
@@ -1335,13 +1365,28 @@ SOCKET_URING_OP_SIOCOUTQ = 1,
13351365
SOCKET_URING_OP_GETSOCKOPT = 2,
13361366
SOCKET_URING_OP_SETSOCKOPT = 3,
13371367
SOCKET_URING_OP_TX_TIMESTAMP = 4,
1368+
SOCKET_URING_OP_GETSOCKNAME = 5,
13381369
}
13391370
#[repr(u32)]
13401371
#[non_exhaustive]
13411372
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
13421373
pub enum io_uring_zcrx_area_flags {
13431374
IORING_ZCRX_AREA_DMABUF = 1,
13441375
}
1376+
#[repr(u32)]
1377+
#[non_exhaustive]
1378+
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1379+
pub enum zcrx_reg_flags {
1380+
ZCRX_REG_IMPORT = 1,
1381+
}
1382+
#[repr(u32)]
1383+
#[non_exhaustive]
1384+
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1385+
pub enum zcrx_ctrl_op {
1386+
ZCRX_CTRL_FLUSH_RQ = 0,
1387+
ZCRX_CTRL_EXPORT = 1,
1388+
__ZCRX_CTRL_LAST = 2,
1389+
}
13451390
#[repr(C)]
13461391
#[derive(Copy, Clone)]
13471392
pub union fscrypt_get_policy_ex_arg__bindgen_ty_1 {
@@ -1421,6 +1466,12 @@ pub register_op: __u8,
14211466
pub sqe_op: __u8,
14221467
pub sqe_flags: __u8,
14231468
}
1469+
#[repr(C)]
1470+
#[derive(Copy, Clone)]
1471+
pub union zcrx_ctrl__bindgen_ty_1 {
1472+
pub zc_export: zcrx_ctrl_export,
1473+
pub zc_flush: zcrx_ctrl_flush_rq,
1474+
}
14241475
impl<T> __IncompleteArrayField<T> {
14251476
#[inline]
14261477
pub const fn new() -> Self {

0 commit comments

Comments
 (0)