Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dthread.cpp163 cpuset_t cpuset; in all()
165 if (pthread_getaffinity_np(thread, sizeof(cpuset_t), &cpuset) == 0) { in all()
387 cpuset_t cpuset; in setAffinity()
393 pthread_setaffinity_np(thread, sizeof(cpuset_t), &cpuset); in setAffinity()
/third_party/rust/crates/nix/src/
Dsched.rs177 cpu_set: libc::cpuset_t,
229 let bytes = mem::size_of::<libc::cpuset_t>(); in count()
/third_party/pulseaudio/src/tests/
Drtstutter.c63 cpuset_t mask; in work()
Datomic-test.c62 cpuset_t cpuset;
Donce-test.c65 cpuset_t mask; in thread_func()
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
Dmod.rs14 pub type cpuset_t = _cpuset; typedef
2662 set: *mut cpuset_t, in pthread_getaffinity_np() argument
2667 set: *mut cpuset_t, in pthread_setaffinity_np() argument
2670 pub fn _cpuset_create() -> *mut cpuset_t; in _cpuset_create()
2671 pub fn _cpuset_destroy(set: *mut cpuset_t); in _cpuset_destroy() argument
2672 pub fn _cpuset_clr(cpu: cpuid_t, set: *mut cpuset_t) -> ::c_int; in _cpuset_clr()
2673 pub fn _cpuset_set(cpu: cpuid_t, set: *mut cpuset_t) -> ::c_int; in _cpuset_set()
2674 pub fn _cpuset_isset(cpu: cpuid_t, set: *const cpuset_t) -> ::c_int; in _cpuset_isset()
2675 pub fn _cpuset_size(set: *const cpuset_t) -> ::size_t; in _cpuset_size()
2676 pub fn _cpuset_zero(set: *mut cpuset_t); in _cpuset_zero() argument
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs358 pub struct cpuset_t {
3859 pub fn CPU_ZERO(cpuset: &mut cpuset_t) -> () {
3865 pub fn CPU_FILL(cpuset: &mut cpuset_t) -> () {
3871 pub fn CPU_SET(cpu: usize, cpuset: &mut cpuset_t) -> () {
3878 pub fn CPU_CLR(cpu: usize, cpuset: &mut cpuset_t) -> () {
3885 pub fn CPU_ISSET(cpu: usize, cpuset: &cpuset_t) -> bool {
3891 pub fn CPU_COUNT(cpuset: &cpuset_t) -> ::c_int {
3893 let cpuset_size = ::mem::size_of::<cpuset_t>();
4197 cpusetp: *mut cpuset_t, in pthread_getaffinity_np() argument
4202 cpusetp: *const cpuset_t, in pthread_setaffinity_np() argument
[all …]
/third_party/mesa3d/src/util/
Du_thread.h64 #define cpu_set_t cpuset_t
/third_party/ninja/src/
Dutil.cc710 cpuset_t mask; in GetProcessorCount()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/
Dmod.rs26 pub type cpuset_t = cpumask_t; typedef
/third_party/rust/crates/libc/src/vxworks/
Dmod.rs37 pub type cpuset_t = u32; typedef