Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dcpufreq.rs734 /// Require that `PData` implements `ForeignOwnable`. We guarantee to never move the underlying
736 type PData: ForeignOwnable; typedef
739 fn init(policy: &mut Policy) -> Result<Self::PData>; in init() argument
742 fn exit(_policy: &mut Policy, _data: Option<Self::PData>) -> Result { in exit()
860 /// type PData = Arc<SampleDevice>;
862 /// fn init(policy: &mut cpufreq::Policy) -> Result<Self::PData> {
867 /// fn exit(_policy: &mut cpufreq::Policy, _data: Option<Self::PData>) -> Result {