Searched defs:Self (Results 1 – 7 of 7) sorted by relevance
/linux/scripts/ |
H A D | generate_rust_target.rs | 69 fn from(value: bool) -> Self { in from() 75 fn from(value: i32) -> Self { in from() 81 fn from(value: String) -> Self { in from() 87 fn from(value: &str) -> Self { in from() 93 fn from(object: Object) -> Self { in from() 99 fn from(i: [T; N]) -> Self { in from()
|
/linux/drivers/block/ |
H A D | rnull.rs | 42 fn init(_module: &'static ThisModule) -> impl PinInit<Self, Error> { in init() 68 fn queue_rq(rq: ARef<mq::Request<Self>>, _is_last: bool) -> Result { in queue_rq()
|
/linux/rust/kernel/ |
H A D | init.rs | 901 fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E> in pin_chain() 1000 fn chain<F>(self, f: F) -> ChainInit<Self, F, T, E> in chain() 1227 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() 1256 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() 1276 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() 1358 fn drop(self: Pin<&mut Self>, only_call_from_drop: __internal::OnlyCallFromDrop); in drop()
|
H A D | rbtree.rs | 759 pub fn remove_current(self) -> (Option<Self>, RBTreeNode<K, V>) { in remove_current() 818 pub fn move_prev(self) -> Option<Self> { in move_prev() 823 pub fn move_next(self) -> Option<Self> { in move_next() 827 fn mv(self, direction: Direction) -> Option<Self> { in mv()
|
H A D | workqueue.rs | 247 fn run(mut this: Pin<KBox<Self>>) { in run()
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 86 unsafe fn from_raw<'a>(ptr: *mut bindings::phy_device) -> &'a mut Self { in from_raw() 664 ) -> Result<Self> { in register() 700 pub const fn new_with_exact_mask(id: u32) -> Self { in new_with_exact_mask() 708 pub const fn new_with_model_mask(id: u32) -> Self { in new_with_model_mask() 716 pub const fn new_with_vendor_mask(id: u32) -> Self { in new_with_vendor_mask() 724 pub const fn new_with_custom_mask(id: u32, mask: u32) -> Self { in new_with_custom_mask() 732 pub const fn new_with_driver<T: Driver>() -> Self { in new_with_driver()
|
/linux/rust/kernel/net/phy/ |
H A D | reg.rs | 93 pub const fn vendor_specific<const N: u8>() -> Self { in vendor_specific() 189 pub fn new(devad: Mmd, regnum: u16) -> Self { in new()
|