Home
last modified time | relevance | path

Searched refs:cpuset (Results 26 - 33 of 33) sorted by relevance

12

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
H A Dcpuset_cpu_hog.c44 #include "../cpuset_lib/cpuset.h"
154 * cpus of the cpuset or not.
158 * of the cpuset.
165 struct cpuset *cp = NULL; in cpu_hog()
211 " by cpuset(cpus: %s)\n", getpid(), cpu, str); in cpu_hog()
/third_party/musl/porting/liteos_a/kernel/include/bits/
H A Dalltypes.h109 cpu_set_t cpuset; member
/third_party/ninja/src/
H A Dutil.cc58 #include <sys/cpuset.h>
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips32/
H A Dmod.rs648 cpuset: *mut ::cpu_set_t, in pthread_attr_getaffinity_np()
653 cpuset: *const ::cpu_set_t, in pthread_attr_setaffinity_np()
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs3192 pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { in CPU_ZERO()
3193 for slot in cpuset.bits.iter_mut() { in CPU_ZERO()
3198 pub fn CPU_SET(cpu: usize, cpuset: &mut cpu_set_t) -> () { in CPU_SET()
3200 = 8 * ::mem::size_of_val(&cpuset.bits[0]); // 32, 64 etc in CPU_SET()
3202 cpuset.bits[idx] |= 1 << offset; in CPU_SET()
3206 pub fn CPU_CLR(cpu: usize, cpuset: &mut cpu_set_t) -> () { in CPU_CLR()
3208 = 8 * ::mem::size_of_val(&cpuset.bits[0]); // 32, 64 etc in CPU_CLR()
3210 cpuset.bits[idx] &= !(1 << offset); in CPU_CLR()
3214 pub fn CPU_ISSET(cpu: usize, cpuset: &cpu_set_t) -> bool { in CPU_ISSET()
3215 let size_in_bits = 8 * ::mem::size_of_val(&cpuset in CPU_ISSET()
[all...]
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/
H A Dmod.rs1282 cpuset: *mut ::cpu_set_t, in pthread_attr_getaffinity_np()
1287 cpuset: *const ::cpu_set_t, in pthread_attr_setaffinity_np()
/third_party/ltp/lib/
H A Dtst_cgroup.c76 /* cpuset is in compatability mode */
202 { "cpuset.cpus", "cpuset.cpus", CTRL_CPUSET },
203 { "cpuset.mems", "cpuset.mems", CTRL_CPUSET },
204 { "cpuset.memory_migrate", "cpuset.memory_migrate", CTRL_CPUSET },
276 CGROUP_CTRL_MEMBER(cpuset, CTRL_CPUSET),
767 const char *const n1[] = {"cpuset.mems", "cpuset in cgroup_copy_cpuset()
[all...]
/third_party/libuv/src/unix/
H A Dcore.c78 # include <sys/cpuset.h>

Completed in 24 milliseconds

12