Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dcpu.rs80 pub unsafe fn from_u32_unchecked(id: u32) -> Self { in from_u32_unchecked() method
114 unsafe { Self::from_u32_unchecked(bindings::raw_smp_processor_id()) } in current()
H A Dcpufreq.rs471 unsafe { CpuId::from_u32_unchecked(self.as_ref().cpu) } in cpu()
1267 let cpu_id = unsafe { CpuId::from_u32_unchecked(cpu) }; in adjust_perf_callback()
1325 let cpu_id = unsafe { CpuId::from_u32_unchecked(cpu) }; in get_callback()