Searched refs:build_error (Results 1 – 18 of 18) sorted by relevance
| /linux/rust/kernel/ |
| H A D | build_assert.rs | 6 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 { macro 28 $crate::build_assert::build_error("") 31 $crate::build_assert::build_error($msg) 83 $crate::build_assert::build_error(conca [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 | miscdevice.rs | 141 build_error!(VTABLE_DEFAULT_ERROR) in mmap() 146 build_error!(VTABLE_DEFAULT_ERROR) in read_iter() 151 build_error!(VTABLE_DEFAULT_ERROR) in write_iter() 165 build_error!(VTABLE_DEFAULT_ERROR) in ioctl() 182 build_error!(VTABLE_DEFAULT_ERROR) in compat_ioctl() 191 build_error!(VTABLE_DEFAULT_ERROR) in show_fdinfo()
|
| 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 | 32 pub use super::{build_assert, 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 | 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()
|
| H A D | opp.rs | 297 build_error!(VTABLE_DEFAULT_ERROR) in config_clks() 309 build_error!(VTABLE_DEFAULT_ERROR) in config_regulators()
|
| /linux/rust/kernel/net/ |
| H A D | phy.rs | 580 build_error!(VTABLE_DEFAULT_ERROR) in soft_reset() 585 build_error!(VTABLE_DEFAULT_ERROR) in probe() 590 build_error!(VTABLE_DEFAULT_ERROR) in get_features() 602 build_error!(VTABLE_DEFAULT_ERROR) in config_aneg() 607 build_error!(VTABLE_DEFAULT_ERROR) in read_status() 612 build_error!(VTABLE_DEFAULT_ERROR) in suspend() 617 build_error!(VTABLE_DEFAULT_ERROR) in resume() 622 build_error!(VTABLE_DEFAULT_ERROR) in read_mmd() 627 build_error!(VTABLE_DEFAULT_ERROR) in write_mmd()
|
| /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 | 23 obj-$(CONFIG_RUST) += build_error.o 25 always-$(CONFIG_RUST) += build_error.o
|
| /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/rust/kernel/block/mq/ |
| H A D | operations.rs | 52 build_error!(crate::error::VTABLE_DEFAULT_ERROR) in poll()
|
| /linux/drivers/gpu/nova-core/ |
| H A D | bitfield.rs | 260 _ => ::kernel::build_error!("Unsupported storage type size")
|
| /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 | 3555 Controls how `build_error!` and `build_assert!` are handled during the build.
|