Home
last modified time | relevance | path

Searched defs:unsafe (Results 1 – 16 of 16) 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/sync/lock/
H A Dglobal.rs47 pub const unsafe fn new(data: B::Item) -> Self { in new() constant
[all...]
/linux/rust/kernel/
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 { in build() constant
H A Dlib.rs203 pub const unsafe fn from_ptr(ptr: *mut bindings::module) -> ThisModule { from_ptr() constant
/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/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/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.c872 handle_onexec(const struct cred * subj_cred,struct aa_label * label,struct aa_label * onexec,bool stack,const struct linux_binprm * bprm,char * buffer,struct path_cond * cond,bool * unsafe) handle_onexec() argument
928 bool unsafe = false; apparmor_bprm_creds_for_exec() local
[all...]
/linux/rust/kernel/num/
H A Dbounded.rs288 const unsafe fn __new(value: T) -> Self { __new() constant
[all...]
/linux/rust/syn/
H A Ditem.rs2218 unsafety: Option<Token![unsafe]>, in parse_rest_of_trait()