Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dbuild_assert.rs6 pub use build_error::build_error;
8 /// Fails the build if the code path calling `build_error!` can possibly be executed.
10 /// If the macro is executed in const context, `build_error!` will panic.
11 /// If the compiler or optimizer cannot guarantee that `build_error!` can never
19 /// a.checked_add(1).unwrap_or_else(|| build_error!("overflow"))
26 macro_rules! build_error {
28 $crate::build_assert::build_error("")
31 $crate::build_assert::build_error($msg)
78 $crate::build_assert::build_error(conca
24 macro_rules! build_error { global() macro
[all...]
H A Dcpufreq.rs742 build_error!(VTABLE_DEFAULT_ERROR) in exit()
747 build_error!(VTABLE_DEFAULT_ERROR) in online()
752 build_error!(VTABLE_DEFAULT_ERROR) in offline()
757 build_error!(VTABLE_DEFAULT_ERROR) in suspend()
762 build_error!(VTABLE_DEFAULT_ERROR) in resume()
767 build_error!(VTABLE_DEFAULT_ERROR) in ready()
775 build_error!(VTABLE_DEFAULT_ERROR) in setpolicy()
780 build_error!(VTABLE_DEFAULT_ERROR) in target()
785 build_error!(VTABLE_DEFAULT_ERROR) in target_index()
790 build_error!(VTABLE_DEFAULT_ERROR) in fast_switch()
[all …]
H A Dfirmware.rs290 crate::build_error!("Must call next_entry() before push()."); in push()
334 crate::build_error!("Length mismatch.");
H A Dprelude.rs32 pub use super::{build_assert, build_error};
H A Ddma.rs124 build_error!("Invalid DMA Mask."); in new()
309 build_error!("C enum value is out of bounds for the target type `u32`."); in const_cast()
H A Dopp.rs297 build_error!(VTABLE_DEFAULT_ERROR) in config_clks()
309 build_error!(VTABLE_DEFAULT_ERROR) in config_regulators()
H A Dconfigfs.rs515 kernel::build_error!(kernel::error::VTABLE_DEFAULT_ERROR) in drop_item()
664 kernel::build_error!(kernel::error::VTABLE_DEFAULT_ERROR) in store()
/linux/rust/kernel/sync/
H A Datomic.rs28 use crate::build_error;
274 _ => build_error!("Wrong ordering"), in load()
306 _ => build_error!("Wrong ordering"), in store()
/linux/rust/
H A Dbuild_error.rs29 pub const fn build_error(msg: &'static str) -> ! { in build_error() function
H A DMakefile23 obj-$(CONFIG_RUST) += build_error.o
25 always-$(CONFIG_RUST) += build_error.o
/linux/drivers/scsi/
H A Dadvansys.c2205 unsigned int build_error; /* # asc/adv_build_req() ASC_ERROR returns. */ member
3495 s->callback, s->done, s->build_error, in asc_prt_board_stats()
8392 ASC_STATS(scp->device->host, build_error); in asc_execute_scsi_cmnd()
8419 ASC_STATS(scp->device->host, build_error); in asc_execute_scsi_cmnd()
/linux/lib/
H A DKconfig.debug3424 Controls how `build_error!` and `build_assert!` are handled during the build.