Home
last modified time | relevance | path

Searched refs:build_error (Results 1 – 11 of 11) sorted by relevance

/linux/rust/kernel/
H A Dbuild_assert.rs67 build_error,
73 pub use build_error::build_error as build_error_fn;
145 /// Fails the build if the code path calling `build_error!` can possibly be executed.
147 /// If the macro is executed in const context, `build_error!` will panic.
148 /// If the compiler or optimizer cannot guarantee that `build_error!` can never
156 /// a.checked_add(1).unwrap_or_else(|| build_error!("overflow"))
164 macro_rules! build_error {
24 macro_rules! build_error { global() macro
H A Dcpufreq.rs748 build_error!(VTABLE_DEFAULT_ERROR) in online()
753 build_error!(VTABLE_DEFAULT_ERROR) in offline()
758 build_error!(VTABLE_DEFAULT_ERROR) in suspend()
763 build_error!(VTABLE_DEFAULT_ERROR) in resume()
768 build_error!(VTABLE_DEFAULT_ERROR) in ready()
773 build_error!(VTABLE_DEFAULT_ERROR)
781 build_error!(VTABLE_DEFAULT_ERROR) in target()
786 build_error!(VTABLE_DEFAULT_ERROR) in target_index()
791 build_error!(VTABLE_DEFAULT_ERROR) in fast_switch()
796 build_error!(VTABLE_DEFAULT_ERRO in adjust_perf()
[all...]
H A Dfirmware.rs328 crate::build_error!("Must call next_entry() before push().");
372 crate::build_error!("Length mismatch.");
H A Dprelude.rs90 build_error,
H A Dopp.rs297 build_error!(VTABLE_DEFAULT_ERROR) in config_clks()
309 build_error!(VTABLE_DEFAULT_ERROR) in config_regulators()
H A Dconfigfs.rs514 kernel::build_error!(kernel::error::VTABLE_DEFAULT_ERROR) in drop_item()
663 kernel::build_error!(kernel::error::VTABLE_DEFAULT_ERROR) in store()
H A Ddma.rs167 build_error!("Invalid DMA Mask.");
349 build_error!("C enum value is out of bounds for the target type `u32`.");
/linux/rust/kernel/sync/
H A Datomic.rs28 use crate::build_error;
292 _ => build_error!("Wrong ordering"),
324 _ => build_error!("Wrong ordering"),
/linux/rust/
H A Dbuild_error.rs29 pub const fn build_error(msg: &'static str) -> ! { in build_error() function
H A DMakefile32 obj-$(CONFIG_RUST) += build_error.o
34 always-$(CONFIG_RUST) += build_error.o
/linux/rust/kernel/ptr/
H A Dprojection.rs53 None => build_error!(),
235 build_error!("this function is a guard against `Deref` impl and is never invoked");