1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 2 3 --opaque-type xregs_state 3 --opaque-type xregs_state 4 --opaque-type desc_struct 4 --opaque-type desc_struct 5 --opaque-type arch_lbr_state 5 --opaque-type arch_lbr_state 6 --opaque-type local_apic 6 --opaque-type local_apic 7 7 8 # Packed type cannot transitively contain a `# 8 # Packed type cannot transitively contain a `#[repr(align)]` type. 9 --opaque-type alt_instr 9 --opaque-type alt_instr 10 --opaque-type x86_msi_data 10 --opaque-type x86_msi_data 11 --opaque-type x86_msi_addr_lo 11 --opaque-type x86_msi_addr_lo 12 12 13 # `try` is a reserved keyword since Rust 2018; 13 # `try` is a reserved keyword since Rust 2018; solved in `bindgen` v0.59.2, 14 # commit 2aed6b021680 ("context: Escape the tr 14 # commit 2aed6b021680 ("context: Escape the try keyword properly"). 15 --opaque-type kunit_try_catch 15 --opaque-type kunit_try_catch 16 16 17 # If SMP is disabled, `arch_spinlock_t` is def 17 # If SMP is disabled, `arch_spinlock_t` is defined as a ZST which triggers a Rust 18 # warning. We don't need to peek into it anywa 18 # warning. We don't need to peek into it anyway. 19 --opaque-type spinlock 19 --opaque-type spinlock 20 20 21 # `seccomp`'s comment gets understood as a doc 21 # `seccomp`'s comment gets understood as a doctest 22 --no-doc-comments 22 --no-doc-comments 23 23 24 # These functions use the `__preserve_most` ca 24 # These functions use the `__preserve_most` calling convention, which neither bindgen 25 # nor Rust currently understand, and which Cla 25 # nor Rust currently understand, and which Clang currently declares to be unstable. 26 --blocklist-function __list_.*_report 26 --blocklist-function __list_.*_report 27 27 28 # These constants are sometimes not recognized 28 # These constants are sometimes not recognized by bindgen depending on config. 29 # We use const helpers to aid bindgen, to avoi 29 # We use const helpers to aid bindgen, to avoid conflicts when constants are 30 # recognized, block generation of the non-help 30 # recognized, block generation of the non-helper constants. 31 --blocklist-item ARCH_SLAB_MINALIGN 31 --blocklist-item ARCH_SLAB_MINALIGN
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.