Home
last modified time | relevance | path

Searched refs:build_assert (Results 1 – 5 of 5) sorted by relevance

/rust/kernel/
Dioctl.rs9 use crate::build_assert;
14 build_assert!(dir <= uapi::_IOC_DIRMASK); in _IOC()
15 build_assert!(ty <= uapi::_IOC_TYPEMASK); in _IOC()
16 build_assert!(nr <= uapi::_IOC_NRMASK); in _IOC()
17 build_assert!(size <= (uapi::_IOC_SIZEMASK as usize)); in _IOC()
Dbuild_assert.rs73 macro_rules! build_assert { macro
Dprelude.rs23 pub use super::build_assert;
Dlib.rs33 mod build_assert; module
/rust/kernel/sync/
Dlocked_by.rs6 use crate::build_assert;
96 build_assert!( in new()
119 build_assert!( in access()
145 build_assert!( in access_mut()