Searched refs:cpumask (Results 1 – 5 of 5) sorted by relevance
| /rust/helpers/ |
| A D | cpumask.c | 5 void rust_helper_cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in rust_helper_cpumask_set_cpu() 10 void rust_helper___cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in rust_helper___cpumask_set_cpu() 15 void rust_helper_cpumask_clear_cpu(int cpu, struct cpumask *dstp) in rust_helper_cpumask_clear_cpu() 20 void rust_helper___cpumask_clear_cpu(int cpu, struct cpumask *dstp) in rust_helper___cpumask_clear_cpu() 25 bool rust_helper_cpumask_test_cpu(int cpu, struct cpumask *srcp) in rust_helper_cpumask_test_cpu() 30 void rust_helper_cpumask_setall(struct cpumask *dstp) in rust_helper_cpumask_setall() 35 bool rust_helper_cpumask_empty(struct cpumask *srcp) in rust_helper_cpumask_empty() 40 bool rust_helper_cpumask_full(struct cpumask *srcp) in rust_helper_cpumask_full() 45 unsigned int rust_helper_cpumask_weight(struct cpumask *srcp) in rust_helper_cpumask_weight() 50 void rust_helper_cpumask_copy(struct cpumask *dstp, const struct cpumask *srcp) in rust_helper_cpumask_copy()
|
| /rust/kernel/ |
| A D | cpumask.rs | 49 pub struct Cpumask(Opaque<bindings::cpumask>); 58 pub unsafe fn as_mut_ref<'a>(ptr: *mut bindings::cpumask) -> &'a mut Self { in as_mut_ref() 72 pub unsafe fn as_ref<'a>(ptr: *const bindings::cpumask) -> &'a Self { in as_ref() 81 pub fn as_raw(&self) -> *mut bindings::cpumask { in as_raw() argument 228 let mut ptr: *mut bindings::cpumask = ptr::null_mut(); in new_zero() 253 let mut ptr: *mut bindings::cpumask = ptr::null_mut(); in new() 296 pub fn try_clone(cpumask: &Cpumask) -> Result<Self> { in try_clone() 300 cpumask.copy(&mut cpumask_var); in try_clone()
|
| A D | opp.rs | 13 cpumask::{Cpumask, CpumaskVar}, 687 pub fn from_of_cpumask(dev: &Device, cpumask: &mut Cpumask) -> Result<Self> { in from_of_cpumask() 697 table.cpus = Some(CpumaskVar::try_clone(cpumask)?); in from_of_cpumask() 705 fn remove_of_cpumask(&self, cpumask: &Cpumask) { in remove_of_cpumask() 765 pub fn sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result { in sharing_cpus() 772 pub fn set_sharing_cpus(&mut self, cpumask: &mut Cpumask) -> Result { in set_sharing_cpus() 781 cpumask.copy(mask); in set_sharing_cpus() 790 pub fn of_sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result { in of_sharing_cpus() 957 pub fn of_register_em(&mut self, cpumask: &mut Cpumask) -> Result { in of_register_em() 993 } else if let Some(cpumask) = self.cpus.take() { in drop() [all …]
|
| A D | lib.rs | 77 pub mod cpumask; module
|
| A D | cpufreq.rs | 14 cpumask, 543 pub fn cpus(&mut self) -> &mut cpumask::Cpumask { in cpus() 546 unsafe { cpumask::CpumaskVar::as_mut_ref(&mut self.as_mut_ref().cpus) } in cpus()
|
Completed in 12 milliseconds