Searched refs:cpuset (Results 1 - 25 of 75) sorted by relevance

123

/freebsd-10-stable/usr.bin/cpuset/
H A DMakefile1 # $FreeBSD: stable/10/usr.bin/cpuset/Makefile 336039 2018-07-06 19:10:07Z jamie $
3 PROG= cpuset
H A Dcpuset.c31 __FBSDID("$FreeBSD: stable/10/usr.bin/cpuset/cpuset.c 336039 2018-07-06 19:10:07Z jamie $");
37 #include <sys/cpuset.h>
165 static const char *whichnames[] = { NULL, "tid", "pid", "cpuset", "irq", "jail" };
166 static const char *levelnames[] = { NULL, " root", " cpuset", "" };
294 if (cpuset(&setid))
323 * Create a new cpuset and move the specified process
326 if (cpuset(&setid) < 0)
354 "usage: cpuset [-l cpu-list] [-s setid] cmd ...\n");
356 " cpuset [
[all...]
/freebsd-10-stable/contrib/gcclibs/libgomp/config/linux/
H A Daffinity.c48 cpu_set_t cpuset; local
51 if (pthread_getaffinity_np (pthread_self (), sizeof (cpuset), &cpuset))
62 && CPU_ISSET (gomp_cpu_affinity[idx], &cpuset))
75 CPU_ZERO (&cpuset);
76 CPU_SET (gomp_cpu_affinity[0], &cpuset);
77 pthread_setaffinity_np (pthread_self (), sizeof (cpuset), &cpuset); local
88 cpu_set_t cpuset; local
98 CPU_ZERO (&cpuset);
[all...]
H A Dproc.c76 cpu_set_t cpuset; local
78 if (pthread_getaffinity_np (pthread_self (), sizeof (cpuset), &cpuset) == 0)
81 gomp_nthreads_var = cpuset_popcount (&cpuset);
96 cpu_set_t cpuset; local
101 if (pthread_getaffinity_np (pthread_self (), sizeof (cpuset),
102 &cpuset) == 0)
104 int ret = cpuset_popcount (&cpuset);
117 CPU_ZERO (&cpuset);
122 if (! CPU_ISSET (gomp_cpu_affinity[idx], &cpuset))
[all...]
/freebsd-10-stable/sys/sys/
H A Dcpuset.h82 * Reserved cpuset identifiers.
88 LIST_HEAD(setlist, cpuset);
95 * c - Locked internally by a cpuset lock.
97 * The bitmask is only modified while holding the cpuset lock. It may be
101 struct cpuset { struct
106 struct cpuset *cs_parent; /* (s) Pointer to our parent. */
107 LIST_ENTRY(cpuset) cs_link; /* (c) All identified sets. */
108 LIST_ENTRY(cpuset) cs_siblings; /* (c) Sibling set link. */
119 struct cpuset *cpuset_thread0(void);
120 struct cpuset *cpuset_re
[all...]
H A Dsmp.h19 #include <sys/cpuset.h>
H A Dsyscall.mk355 cpuset.o \
/freebsd-10-stable/usr.bin/sed/tests/
H A Dinplace_race_test.sh34 if command -v cpuset >/dev/null; then
35 case `cpuset -g -p $$` in
/freebsd-10-stable/sys/kern/
H A Dkern_cpuset.c50 #include <sys/cpuset.h>
109 static struct cpuset *cpuset_zero;
118 * Acquire a reference to a cpuset, all pointers must be tracked with refs.
120 struct cpuset *
121 cpuset_ref(struct cpuset *set)
132 static struct cpuset *
133 cpuset_refroot(struct cpuset *set)
149 static struct cpuset *
150 cpuset_refbase(struct cpuset *set)
164 cpuset_rel(struct cpuset *se
[all...]
/freebsd-10-stable/lib/libthr/thread/
H A Dthr_attr.c121 if ((*attr)->cpuset != NULL)
122 free((*attr)->cpuset);
149 if (dst->cpuset == NULL) {
150 dst->cpuset = calloc(1, kern_size);
160 dst->cpusetsize, dst->cpuset);
594 if (attr->cpuset != NULL) {
595 free(attr->cpuset);
596 attr->cpuset = NULL;
613 if (attr->cpuset == NULL) {
614 attr->cpuset
[all...]
H A Dthr_affinity.c33 #include <sys/cpuset.h>
H A Dthr_create.c87 cpusetp = new_thread->attr.cpuset;
89 new_thread->attr.cpuset = NULL;
H A Dthr_private.h43 #include <sys/cpuset.h>
250 #define pthread_attr_end_copy cpuset
251 cpuset_t *cpuset; member in struct:pthread_attr
/freebsd-10-stable/include/
H A Dpthread_np.h35 #include <sys/cpuset.h>
/freebsd-10-stable/contrib/xz/src/common/
H A Dtuklib_cpucores.c28 # include <sys/cpuset.h>
/freebsd-10-stable/tools/tools/vimage/
H A Dvimage.c63 int cpuset; member in struct:vimage_status
205 printf(" CPUsetID: %d\n", vst[i].cpuset);
367 jailparam_init(&params[psize], "cpuset.id");
368 jailparam_import_raw(&params[psize++], &vs->cpuset,
369 sizeof(vs->cpuset));
/freebsd-10-stable/usr.bin/procstat/
H A Dprocstat_cs.c30 #include <sys/cpuset.h>
/freebsd-10-stable/sys/arm/freescale/imx/
H A Dtzic.c42 #include <sys/cpuset.h>
/freebsd-10-stable/sys/i386/ibcs2/
H A Dibcs2_xenix.h14 #include <sys/cpuset.h>
/freebsd-10-stable/lib/libc/sys/
H A DMakefile.inc168 cpuset.2 \
355 MLINKS+=cpuset.2 cpuset_getid.2 \
356 cpuset.2 cpuset_setid.2
/freebsd-10-stable/sys/amd64/vmm/
H A Dvmm_dev.c287 cpuset_t *cpuset; local
601 cpuset = malloc(size, M_TEMP, M_WAITOK | M_ZERO);
603 *cpuset = vm_active_cpus(sc->vm);
605 *cpuset = vm_suspended_cpus(sc->vm);
609 error = copyout(cpuset, vm_cpuset->cpus, size);
610 free(cpuset, M_TEMP);
/freebsd-10-stable/lib/libutil/
H A Dlogin_class.c29 #include <sys/cpuset.h>
338 if (cpuset(&setid) != 0) {
339 syslog(LOG_ERR, "cpuset(): %s", strerror(errno));
/freebsd-10-stable/gnu/usr.bin/gdb/kgdb/
H A Dkthr.c31 #include <sys/cpuset.h>
/freebsd-10-stable/sys/mips/mips/
H A Dmp_machdep.c32 #include <sys/cpuset.h>
/freebsd-10-stable/sys/mips/sibyte/
H A Dsb_scd.c35 #include <sys/cpuset.h>

Completed in 246 milliseconds

123