Skip to content

Commit 58f8d07

Browse files
committed
Update kernel version and bindgen
Signed-off-by: Federico Maria Morrone <contact@morrone.dev>
1 parent cba1a84 commit 58f8d07

File tree

344 files changed

+14266
-895
lines changed

Some content is hidden

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

344 files changed

+14266
-895
lines changed

gen/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ edition = "2021"
55
publish = false
66

77
[dependencies]
8-
bindgen = { version = "0.70.1", default-features = false }
9-
tempfile = "3.12.0"
8+
bindgen = { version = "0.71.1", default-features = false }
9+
tempfile = "3.16.0"

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.12";
13+
const LINUX_VERSION: &str = "v6.13";
1414

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

src/aarch64/bootparam.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/* automatically generated by rust-bindgen 0.70.1 */
1+
/* automatically generated by rust-bindgen 0.71.1 */
22

33

src/aarch64/btrfs.rs

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.70.1 */
1+
/* automatically generated by rust-bindgen 0.71.1 */
22

33
pub type __s8 = crate::ctypes::c_schar;
44
pub type __u8 = crate::ctypes::c_uchar;
@@ -157,7 +157,13 @@ pub propagate_from: __u64,
157157
pub mnt_root: __u32,
158158
pub mnt_point: __u32,
159159
pub mnt_ns_id: __u64,
160-
pub __spare2: [__u64; 49usize],
160+
pub fs_subtype: __u32,
161+
pub sb_source: __u32,
162+
pub opt_num: __u32,
163+
pub opt_array: __u32,
164+
pub opt_sec_num: __u32,
165+
pub opt_sec_array: __u32,
166+
pub __spare2: [__u64; 46usize],
161167
pub str_: __IncompleteArrayField<crate::ctypes::c_char>,
162168
}
163169
#[repr(C)]
@@ -709,6 +715,13 @@ pub compression: __u32,
709715
pub encryption: __u32,
710716
pub reserved: [__u8; 64usize],
711717
}
718+
#[repr(C)]
719+
#[derive(Debug, Copy, Clone)]
720+
pub struct btrfs_ioctl_subvol_wait {
721+
pub subvolid: __u64,
722+
pub mode: __u32,
723+
pub count: __u32,
724+
}
712725
#[repr(C, packed)]
713726
#[derive(Debug, Copy, Clone)]
714727
pub struct btrfs_disk_key {
@@ -1326,6 +1339,10 @@ pub const STATMOUNT_MNT_POINT: u32 = 16;
13261339
pub const STATMOUNT_FS_TYPE: u32 = 32;
13271340
pub const STATMOUNT_MNT_NS_ID: u32 = 64;
13281341
pub const STATMOUNT_MNT_OPTS: u32 = 128;
1342+
pub const STATMOUNT_FS_SUBTYPE: u32 = 256;
1343+
pub const STATMOUNT_SB_SOURCE: u32 = 512;
1344+
pub const STATMOUNT_OPT_ARRAY: u32 = 1024;
1345+
pub const STATMOUNT_OPT_SEC_ARRAY: u32 = 2048;
13291346
pub const LSMT_ROOT: i32 = -1;
13301347
pub const LISTMOUNT_REVERSE: u32 = 1;
13311348
pub const INR_OPEN_CUR: u32 = 1024;
@@ -1528,6 +1545,11 @@ pub const BTRFS_ENCODED_IO_COMPRESSION_LZO_64K: u32 = 7;
15281545
pub const BTRFS_ENCODED_IO_COMPRESSION_TYPES: u32 = 8;
15291546
pub const BTRFS_ENCODED_IO_ENCRYPTION_NONE: u32 = 0;
15301547
pub const BTRFS_ENCODED_IO_ENCRYPTION_TYPES: u32 = 1;
1548+
pub const BTRFS_SUBVOL_SYNC_WAIT_FOR_ONE: u32 = 0;
1549+
pub const BTRFS_SUBVOL_SYNC_WAIT_FOR_QUEUED: u32 = 1;
1550+
pub const BTRFS_SUBVOL_SYNC_COUNT: u32 = 2;
1551+
pub const BTRFS_SUBVOL_SYNC_PEEK_FIRST: u32 = 3;
1552+
pub const BTRFS_SUBVOL_SYNC_PEEK_LAST: u32 = 4;
15311553
pub const BTRFS_MAGIC: u64 = 5575266562640200287;
15321554
pub const BTRFS_MAX_LEVEL: u32 = 8;
15331555
pub const BTRFS_NAME_LEN: u32 = 255;

src/aarch64/elf_uapi.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.70.1 */
1+
/* automatically generated by rust-bindgen 0.71.1 */
22

33
pub type __s8 = crate::ctypes::c_schar;
44
pub type __u8 = crate::ctypes::c_uchar;
@@ -491,13 +491,15 @@ pub const NT_ARM_ZA: u32 = 1036;
491491
pub const NT_ARM_ZT: u32 = 1037;
492492
pub const NT_ARM_FPMR: u32 = 1038;
493493
pub const NT_ARM_POE: u32 = 1039;
494+
pub const NT_ARM_GCS: u32 = 1040;
494495
pub const NT_ARC_V2: u32 = 1536;
495496
pub const NT_VMCOREDD: u32 = 1792;
496497
pub const NT_MIPS_DSP: u32 = 2048;
497498
pub const NT_MIPS_FP_MODE: u32 = 2049;
498499
pub const NT_MIPS_MSA: u32 = 2050;
499500
pub const NT_RISCV_CSR: u32 = 2304;
500501
pub const NT_RISCV_VECTOR: u32 = 2305;
502+
pub const NT_RISCV_TAGGED_ADDR_CTRL: u32 = 2306;
501503
pub const NT_LOONGARCH_CPUCFG: u32 = 2560;
502504
pub const NT_LOONGARCH_CSR: u32 = 2561;
503505
pub const NT_LOONGARCH_LSX: u32 = 2562;

src/aarch64/errno.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.70.1 */
1+
/* automatically generated by rust-bindgen 0.71.1 */
22

33
pub const EPERM: u32 = 1;
44
pub const ENOENT: u32 = 2;

0 commit comments

Comments
 (0)