Home
last modified time | relevance | path

Searched refs:build_error (Results 1 – 6 of 6) 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...]
/linux/rust/
H A DMakefile23 obj-$(CONFIG_RUST) += build_error.o
25 always-$(CONFIG_RUST) += build_error.o
114 --extern build_error --extern macros \
131 rusttestlib-build_error: $(src)/build_error.rs FORCE
143 --extern build_error --extern macros \
146 rusttestlib-bindings rusttestlib-uapi rusttestlib-build_error \
176 --extern build_error --extern macros \
214 --extern build_error --extern macros --extern bindings --extern uapi
216 rusttestlib-build_error rusttestlib-macros rusttestlib-bindings \
454 $(obj)/build_error.o: private skip_gendwarfksyms = 1
[all …]
H A Dbuild_error.rs29 pub const fn build_error(msg: &'static str) -> ! { in build_error() function
/linux/rust/kernel/net/
H A Dphy.rs590 build_error!(VTABLE_DEFAULT_ERROR) in soft_reset()
595 build_error!(VTABLE_DEFAULT_ERROR) in probe()
600 build_error!(VTABLE_DEFAULT_ERROR) in get_features()
612 build_error!(VTABLE_DEFAULT_ERROR) in config_aneg()
617 build_error!(VTABLE_DEFAULT_ERROR) in read_status()
622 build_error!(VTABLE_DEFAULT_ERROR) in suspend()
627 build_error!(VTABLE_DEFAULT_ERROR) in resume()
632 build_error!(VTABLE_DEFAULT_ERROR) in read_mmd()
637 build_error!(VTABLE_DEFAULT_ERROR) in write_mmd()
/linux/drivers/scsi/
H A Dadvansys.c2205 unsigned int build_error; /* # asc/adv_build_req() ASC_ERROR returns. */ member
3496 s->callback, s->done, s->build_error, in asc_prt_board_stats()
8393 ASC_STATS(scp->device->host, build_error); in asc_execute_scsi_cmnd()
8420 ASC_STATS(scp->device->host, build_error); in asc_execute_scsi_cmnd()
/linux/lib/
H A DKconfig.debug3267 Controls how `build_error!` and `build_assert!` are handled during the build.