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 << 10 --opaque-type x86_msi_data 9 --opaque-type x86_msi_data 11 --opaque-type x86_msi_addr_lo 10 --opaque-type x86_msi_addr_lo 12 11 13 # `try` is a reserved keyword since Rust 2018; 12 # `try` is a reserved keyword since Rust 2018; solved in `bindgen` v0.59.2, 14 # commit 2aed6b021680 ("context: Escape the tr 13 # commit 2aed6b021680 ("context: Escape the try keyword properly"). 15 --opaque-type kunit_try_catch 14 --opaque-type kunit_try_catch 16 15 17 # If SMP is disabled, `arch_spinlock_t` is def 16 # 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 17 # warning. We don't need to peek into it anyway. 19 --opaque-type spinlock 18 --opaque-type spinlock 20 19 21 # `seccomp`'s comment gets understood as a doc 20 # `seccomp`'s comment gets understood as a doctest 22 --no-doc-comments 21 --no-doc-comments 23 << 24 # These functions use the `__preserve_most` ca << 25 # nor Rust currently understand, and which Cla << 26 --blocklist-function __list_.*_report << 27 << 28 # These constants are sometimes not recognized << 29 # We use const helpers to aid bindgen, to avoi << 30 # recognized, block generation of the non-help << 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.