Searched refs:build_error (Results 1 – 14 of 14) sorted by relevance
| /linux/rust/kernel/ |
| H A D | build_assert.rs | 66 build_error, 72 pub use build_error::build_error; 142 /// Fails the build if the code path calling `build_error!` can possibly be executed. 144 /// If the macro is executed in const context, `build_error!` will panic. 145 /// If the compiler or optimizer cannot guarantee that `build_error!` can never 153 /// a.checked_add(1).unwrap_or_else(|| build_error!("overflow")) 160 macro_rules! build_error { 162 $crate::build_assert::build_error("") 165 $crate::build_assert::build_error( 24 macro_rules! build_error { global() macro [all...] |
| H A D | io.rs | 376 build_error!("Backend does not support fallible 8-bit read") in try_read8() 385 build_error!("Backend does not support fallible 16-bit read") in try_read16() 394 build_error!("Backend does not support fallible 32-bit read") in try_read32() 403 build_error!("Backend does not support fallible 64-bit read") in try_read64() 412 build_error!("Backend does not support fallible 8-bit write") in try_write8() 421 build_error!("Backend does not support fallible 16-bit write") in try_write16() 430 build_error!("Backend does not support fallible 32-bit write") in try_write32() 439 build_error!("Backend does not support fallible 64-bit write") in try_write64() 448 build_error!("Backend does not support infallible 8-bit read") in read8() 457 build_error!("Backend does not support infallible 16-bit read") in read16() [all …]
|
| H A D | cpufreq.rs | 743 build_error!(VTABLE_DEFAULT_ERROR) in exit() 748 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() 776 build_error!(VTABLE_DEFAULT_ERROR) in setpolicy() 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() [all …]
|
| H A D | firmware.rs | 290 crate::build_error!("Must call next_entry() before push()."); in push() 334 crate::build_error!("Length mismatch.");
|
| H A D | prelude.rs | 74 build_error,
|
| H A D | dma.rs | 142 build_error!("Invalid DMA Mask."); in new() 327 build_error!("C enum value is out of bounds for the target type `u32`."); in const_cast()
|
| H A D | opp.rs | 297 build_error!(VTABLE_DEFAULT_ERROR) in config_clks() 309 build_error!(VTABLE_DEFAULT_ERROR) in config_regulators()
|
| H A D | configfs.rs | 514 kernel::build_error!(kernel::error::VTABLE_DEFAULT_ERROR) in drop_item() 663 kernel::build_error!(kernel::error::VTABLE_DEFAULT_ERROR) in store()
|
| /linux/rust/kernel/sync/ |
| H A D | atomic.rs | 28 use crate::build_error; 274 _ => build_error!("Wrong ordering"), in load() 306 _ => build_error!("Wrong ordering"), in store()
|
| /linux/rust/ |
| H A D | build_error.rs | 29 pub const fn build_error(msg: &'static str) -> ! { in build_error() function
|
| H A D | Makefile | 27 obj-$(CONFIG_RUST) += build_error.o 29 always-$(CONFIG_RUST) += build_error.o 241 --extern build_error --extern macros \ 261 rusttestlib-build_error: $(src)/build_error.rs FORCE 300 --extern build_error --extern macros --extern pin_init \ 303 rusttestlib-build_error rusttestlib-pin_init $(obj)/$(libmacros_name) \ 334 --extern kernel --extern build_error --extern macros \ 669 # Even if normally `build_error` is not a kernel object, it should still be 672 $(obj)/build_error [all...] |
| /linux/rust/kernel/ptr/ |
| H A D | projection.rs | 48 Self::get(self, slice).unwrap_or_else(|| build_error!()) in index() 187 build_error!("this function is a guard against `Deref` impl and is never invoked"); in proj()
|
| /linux/drivers/scsi/ |
| H A D | advansys.c | 2205 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 D | Kconfig.debug | 3557 Controls how `build_error!` and `build_assert!` are handled during the build.
|