Home
last modified time | relevance | path

Searched refs:into_raw (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/rust/kernel/alloc/
H A Dkbox.rs162 pub fn into_raw(b: Self) -> *mut T { in into_raw() function
173 unsafe { &mut *Box::into_raw(b) } in leak()
190 let raw = Self::into_raw(self); in assume_init()
261 let ptr = Self::into_raw(this); in forget_contents()
371 Box::into_raw(self).cast() in into_foreign()
403 Box::into_raw(unsafe { Pin::into_inner_unchecked(self) }).cast() in into_foreign()
H A Dkvec.rs552 let ptr = Box::into_raw(b);
/linux-6.15/rust/kernel/
H A Dmiscdevice.rs33 pub const fn into_raw<T: MiscDevice>(self) -> bindings::miscdevice { in into_raw() method
69 unsafe { slot.write(opts.into_raw::<T>()) }; in register()
H A Dworkqueue.rs570 let ptr = Arc::into_raw(self).cast_mut(); in __enqueue()
621 let ptr = KBox::into_raw(boxed); in __enqueue()
H A Ddevres.rs114 let data = inner.clone().into_raw(); in new()
H A Dtask.rs360 pub fn into_raw(self) -> bindings::kuid_t { in into_raw() method
H A Dtypes.rs505 pub fn into_raw(me: Self) -> NonNull<T> { in into_raw() method
H A Drbtree.rs1169 let node = KBox::into_raw(node.node); in insert()
1260 let node = KBox::into_raw(node.node); in replace()
H A Dlist.rs265 let raw_item = ListArc::into_raw(item); in insert_inner()
/linux-6.15/rust/kernel/time/hrtimer/
H A Dtbox.rs75 unsafe { NonNull::new_unchecked(Box::into_raw(Pin::into_inner_unchecked(self))) }; in start()
/linux-6.15/rust/kernel/list/
H A Darc.rs349 pub fn into_raw(self) -> *const T { in into_raw() function
350 Arc::into_raw(Self::transmute_to_arc(self)) in into_raw()
/linux-6.15/rust/kernel/fs/
H A Dfile.rs303 unsafe { ARef::from_raw(ARef::into_raw(me).cast()) } in assume_no_fdget_pos()
/linux-6.15/rust/kernel/sync/
H A Darc.rs262 pub fn into_raw(self) -> *const T { in into_raw() method