Searched full:generics (Results 1 – 15 of 15) sorted by relevance
/linux/rust/kernel/list/ |
H A D | impl_list_item_mod.rs | 33 ($(impl$({$($generics:tt)*})? 40 unsafe impl$(<$($generics)*>)? $crate::list::HasListLinks$(<$id>)? for $self { 45 // Cannot be `const` because `$self` may contain generics and E0401 says constants 78 ($(impl$({$($generics:tt)*})? 85 unsafe impl$(<$($generics)*>)? $crate::list::HasSelfPtr<$item_type $(, $id)?> for $self {} 87 unsafe impl$(<$($generics)*>)? $crate::list::HasListLinks$(<$id>)? for $self { 185 $(impl$({$($generics:tt)*})? ListItem<$num:tt> for $self:ty { 190 impl$({$($generics)*})? HasListLinks<$num> for $self { self$(.$field)* } 194 unsafe impl$(<$($generics)*>)? $crate::list::ListItem<$num> for $self { 251 $(impl$({$($generics:tt)*})? ListItem<$num:tt> for $self:ty { [all …]
|
H A D | arc.rs | 86 (impl$({$($generics:tt)*})? ListArcSafe<$num:tt> for $t:ty { untracked; } $($rest:tt)*) => { 87 impl$(<$($generics)*>)? $crate::list::ListArcSafe<$num> for $t { 94 (impl$({$($generics:tt)*})? ListArcSafe<$num:tt> for $t:ty { 97 impl$(<$($generics)*>)? $crate::list::ListArcSafe<$num> for $t { 116 unsafe impl$(<$($generics)*>)? $crate::list::TryNewListArc<$num> for $t
|
/linux/rust/kernel/ |
H A D | init.rs | 223 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? { 226 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),*>)? { 230 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? { 233 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),*>)? { 283 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? { 286 ::pin_init::try_pin_init!($(&$this in)? $t $(::<$($generics),*>)? { 290 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? { 293 ::pin_init::try_pin_init!($(&$this in)? $t $(::<$($generics),*>)? {
|
H A D | workqueue.rs | 601 ($(impl$({$($generics:tt)*})? 608 unsafe impl$(<$($generics)+>)? $crate::workqueue::HasWork<$work_type $(, $id)?> for $self { 754 ($(impl$({$($generics:tt)*})? 761 unsafe impl$(<$($generics)+>)? 766 unsafe impl$(<$($generics)+>)? $crate::workqueue::HasWork<$work_type $(, $id)?> for $self {
|
/linux/rust/macros/ |
H A D | pin_data.rs |
|
H A D | zeroable.rs |
|
H A D | pinned_drop.rs |
|
/linux/rust/pin-init/internal/src/ |
H A D | zeroable.rs | 6 use crate::helpers::{parse_generics, Generics}; 18 Generics { in parse_zeroable_derive_input()
|
H A D | pinned_drop.rs | 28 // Found the end of the generics, this should be `PinnedDrop`. in pinned_drop()
|
/linux/drivers/mmc/host/ |
H A D | sdhci-esdhc.h | 3 * Freescale eSDHC controller driver generics for OF and pltfm.
|
/linux/Documentation/scsi/ |
H A D | scsi.rst | 30 tape driver [1]_ (st.o) and SCSI generics driver (sg.o) represent the upper
|
/linux/rust/pin-init/src/ |
H A D | lib.rs | 783 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? { 786 $crate::try_pin_init!($(&$this in)? $t $(::<$($generics),*>)? { 834 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? { 839 @typ($t $(::<$($generics),*>)? ), 890 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? { 893 $crate::try_init!($(&$this in)? $t $(::<$($generics),*>)? { 939 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? { 944 @typ($t $(::<$($generics),*>)?), 1602 ($($({$($generics:tt)*})? $t:ty, )*) => { 1604 $(unsafe impl$($($generics)*) [all...] |
H A D | macros.rs | 100 //! // We define the pin-data carrying struct, it is a ZST and needs to have the same generics, 158 //! // - `__phantom`: every generic must be used, since we cannot really know which generics 565 // The 'impl generics', the generics that will need to be specified on the struct inside 568 // The 'ty generics', the generics that will need to be specified on the impl blocks. 570 // The 'decl generics', the generics that need to be specified on the struct 880 // we also use the least restrictive generics possible.
|
/linux/rust/kernel/time/ |
H A D | hrtimer.rs | 742 impl$({$($generics:tt)*})? 753 unsafe impl$(<$($generics)*>)? $crate::time::hrtimer::HasHrTimer<$timer_type> for $self {
|
/linux/rust/ |
H A D | Makefile | 397 # because Rust generics and inlined functions may not get their code generated
|