Home
last modified time | relevance | path

Searched defs:unsafe (Results 1 – 22 of 22) sorted by relevance

/linux/rust/pin-init/src/
H A Dlib.rs1115 pub const unsafe fn pin_init_from_closure<T: ?Sized, E>( pin_init_from_closure() constant
1134 pub const unsafe fn init_from_closure<T: ?Sized, E>( init_from_closure() constant
1146 pub const unsafe fn cast_pin_init<T, U, E>(init: impl PinInit<T, E>) -> impl PinInit<U, E> { cast_pin_init() constant
1162 pub const unsafe fn cast_init<T, U, E>(init: impl Init<T, E>) -> impl Init<U, E> { cast_init() constant
[all...]
/linux/rust/kernel/
H A Dsync.rs72 pub const unsafe fn new_static() -> Self { in new_static() constant
H A Dconfigfs.rs700 pub const unsafe fn new() -> Self { new() constant
709 pub const unsafe fn add<const I: usize, const ID: u64, O>( add() constant
[all...]
H A Derror.rs153 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { from_errno_unchecked() constant
[all...]
H A Ddevice_id.rs88 const unsafe fn build(ids: [(T, U); N], data_offset: Option<usize>) -> Self { build() constant
[all...]
H A Dlib.rs203 pub const unsafe fn from_ptr(ptr: *mut bindings::module) -> ThisModule { from_ptr() constant
/linux/rust/kernel/sync/lock/
H A Dglobal.rs47 pub const unsafe fn new(data: B::Item) -> Self { in new() constant
[all...]
/linux/rust/kernel/sync/
H A Datomic.rs140 const unsafe fn from_repr<T: AtomicType>(r: T::Repr) -> T { from_repr() constant
[all...]
/linux/arch/x86/boot/
H A Dvideo-mode.c31 void probe_cards(int unsafe) in probe_cards()
H A Dvideo.h76 int unsafe; /* Probing is unsafe, only do after "scan" */ member
/linux/rust/kernel/debugfs/
H A Dfile_ops.rs35 const unsafe fn new(operations: bindings::file_operations, mode: u16) -> Self { new() constant
[all...]
/linux/rust/zerocopy/src/
H A Dwrappers.rs239 pub const unsafe fn deref_unchecked(&self) -> &T { in deref_unchecked() constant
652 pub(crate) const unsafe fn as_ref_unchecked(r: &ReadOnly<T>) -> &T { in as_ref_unchecked() constant
/linux/rust/zerocopy/src/pointer/
H A Dinner.rs98 pub const unsafe fn new(ptr: NonNull<T>) -> PtrInner<'a, T> { in new() constant
/linux/rust/kernel/alloc/
H A Dkbox.rs179 pub const unsafe fn from_raw(raw: *mut T) -> Self { from_raw() constant
[all...]
H A Dkvec.rs205 pub const unsafe fn inc_len(&mut self, additional: usize) { inc_len() constant
[all...]
/linux/rust/zerocopy/src/util/
H A Dmacros.rs840 pub(crate) const unsafe fn __unsafe() {} in __unsafe() constant
H A Dmacro_util.rs727 pub const unsafe fn transmute_ref(self) -> &'a Dst { in transmute_ref() constant
H A Dmod.rs305 pub(crate) const unsafe fn transmute_unchecked<Src, Dst>(src: Src) -> Dst { in transmute_unchecked() constant
/linux/rust/kernel/io/
H A Dresource.rs91 pub(crate) const unsafe fn from_raw<'a>(ptr: *mut bindings::resource) -> &'a Self { in from_raw() constant
[all...]
/linux/security/apparmor/
H A Ddomain.c933 bool *unsafe) in handle_onexec()
994 bool unsafe = false; in apparmor_bprm_creds_for_exec() local
/linux/rust/kernel/num/
H A Dbounded.rs296 const unsafe fn __new(value: T) -> Self { in __new() constant
/linux/rust/syn/
H A Ditem.rs2218 unsafety: Option<Token![unsafe]>, in parse_rest_of_trait()