Lines Matching refs:as_raw
81 pub fn as_raw(&self) -> *mut bindings::cpumask { in as_raw() method
94 unsafe { bindings::__cpumask_set_cpu(u32::from(cpu), self.as_raw()) }; in set()
106 unsafe { bindings::__cpumask_clear_cpu(i32::from(cpu), self.as_raw()) }; in clear()
115 unsafe { bindings::cpumask_test_cpu(i32::from(cpu), self.as_raw()) } in test()
124 unsafe { bindings::cpumask_setall(self.as_raw()) }; in setall()
133 unsafe { bindings::cpumask_empty(self.as_raw()) } in empty()
142 unsafe { bindings::cpumask_full(self.as_raw()) } in full()
151 unsafe { bindings::cpumask_weight(self.as_raw()) } in weight()
160 unsafe { bindings::cpumask_copy(dstp.as_raw(), self.as_raw()) }; in copy()
234 unsafe { bindings::zalloc_cpumask_var(&mut ptr, _flags.as_raw()) }; in new_zero()
259 unsafe { bindings::alloc_cpumask_var(&mut ptr, _flags.as_raw()) }; in new()
339 bindings::free_cpumask_var(self.as_raw()) in drop()