Searched refs:__pinned_init (Results 1 – 10 of 10) sorted by relevance
| /linux/rust/pin-init/src/ |
| H A D | lib.rs | 904 /// The [`PinInit::__pinned_init`] function: 932 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>; 963 // SAFETY: The `__pinned_init` function is implemented such that it 972 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { 973 // SAFETY: All requirements fulfilled since this function is `__pinned_init`. in __pinned_init() function 974 unsafe { self.0.__pinned_init(slot)? }; in __pinned_init() 1005 /// The `__pinned_init` function from the supertrait [`PinInit`] needs to execute the exact same 1081 unsafe { self.0.__pinned_init(slot)? }; in __init() 1089 // SAFETY: `__pinned_init` behaves exactly the same as `__init`. 1095 unsafe fn __pinned_init(sel 933 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>; __pinned_init() method 1096 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { __pinned_init() function 1361 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible> { __pinned_init() method 1383 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { __pinned_init() method [all...] |
| H A D | alloc.rs | 41 pin_init_from_closure(|slot| match init.__pinned_init(slot) { in pin_init() 112 unsafe { init.__pinned_init(slot)? }; in try_pin_init() 152 unsafe { init.__pinned_init(slot)? }; in write_pin_init()
|
| H A D | __internal.rs | 44 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init() function 202 unsafe { init.__pinned_init(this.value.as_mut_ptr())? }; in init() 320 unsafe fn __pinned_init(self, _slot: *mut T) -> Result<(), ()> { in __pinned_init() method
|
| H A D | macros.rs | |
| /linux/rust/pin-init/examples/ |
| H A D | static_init.rs | 64 Some(f) => unsafe { f.__pinned_init(ptr).unwrap() }, in deref() 76 unsafe fn __pinned_init( in __pinned_init() 82 unsafe { init.__pinned_init(slot) } in __pinned_init() 75 unsafe fn __pinned_init( __pinned_init() method
|
| H A D | mutex.rs | 86 val.__pinned_init(slot.cast::<T>()) in new()
|
| /linux/rust/kernel/ |
| H A D | init.rs | 160 pin_init_from_closure(|slot| init.__pinned_init(slot).map_err(|e| Error::from(e))) in pin_init() 177 init_from_closure(|slot| init.__pinned_init(slot).map_err(|e| Error::from(e))) in init()
|
| H A D | types.rs | 418 unsafe { PinInit::<T, E>::__pinned_init(slot, ptr) } in pin_init()
|
| /linux/rust/kernel/alloc/ |
| H A D | kbox.rs | 328 unsafe { init(i).__pinned_init(ptr)? }; 334 // it has been initialized above by `init(i).__pinned_init(ptr)`. 427 unsafe { init.__pinned_init(slot)? }; in from()
|
| /linux/rust/kernel/drm/ |
| H A D | device.rs | 153 unsafe { data.__pinned_init(raw_data) }.inspect_err(|_| { in new()
|