Home
last modified time | relevance | path

Searched refs:cpu_set_t (Results 1 – 25 of 40) sorted by relevance

12

/glibc-2.36/posix/
Dsched.h92 # define CPU_SET(cpu, cpusetp) __CPU_SET_S (cpu, sizeof (cpu_set_t), cpusetp)
93 # define CPU_CLR(cpu, cpusetp) __CPU_CLR_S (cpu, sizeof (cpu_set_t), cpusetp)
94 # define CPU_ISSET(cpu, cpusetp) __CPU_ISSET_S (cpu, sizeof (cpu_set_t), \
96 # define CPU_ZERO(cpusetp) __CPU_ZERO_S (sizeof (cpu_set_t), cpusetp)
97 # define CPU_COUNT(cpusetp) __CPU_COUNT_S (sizeof (cpu_set_t), cpusetp)
107 __CPU_EQUAL_S (sizeof (cpu_set_t), cpusetp1, cpusetp2)
112 __CPU_OP_S (sizeof (cpu_set_t), destset, srcset1, srcset2, &)
114 __CPU_OP_S (sizeof (cpu_set_t), destset, srcset1, srcset2, |)
116 __CPU_OP_S (sizeof (cpu_set_t), destset, srcset1, srcset2, ^)
131 const cpu_set_t *__cpuset) __THROW;
[all …]
Dtst-cpuset.c9 cpu_set_t s1; in do_test()
10 cpu_set_t s2; in do_test()
11 cpu_set_t s3; in do_test()
41 cpu_set_t *vs1 = CPU_ALLOC (2048); in do_test()
42 cpu_set_t *vs2 = CPU_ALLOC (2048); in do_test()
43 cpu_set_t *vs3 = CPU_ALLOC (2048); in do_test()
Dsched_cpufree.c23 __sched_cpufree (cpu_set_t *set) in __sched_cpufree()
Dsched_cpualloc.c22 cpu_set_t *
Dsched_getaffinity.c25 sched_getaffinity (pid_t pid, size_t cpusetsize, cpu_set_t *cpuset) in sched_getaffinity()
Dsched_setaffinity.c25 sched_setaffinity (pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset) in sched_setaffinity()
/glibc-2.36/nptl/
Dtst-thread-affinity-pthread2.c31 cpu_set_t *set;
51 run_affinity_access_thread (cpu_set_t *set, size_t size, bool get) in run_affinity_access_thread()
84 setaffinity (size_t size, const cpu_set_t *set) in setaffinity()
86 return run_affinity_access_thread ((cpu_set_t *) set, size, false); in setaffinity()
90 getaffinity (size_t size, cpu_set_t *set) in getaffinity()
Dtst-thread-affinity-sched.c25 getaffinity (size_t size, cpu_set_t *set) in getaffinity()
31 setaffinity (size_t size, const cpu_set_t *set) in setaffinity()
Dtst-thread-affinity-pthread.c26 setaffinity (size_t size, const cpu_set_t *set) in setaffinity()
38 getaffinity (size_t size, cpu_set_t *set) in getaffinity()
Dpthread_setaffinity.c27 const cpu_set_t *cpuset) in __pthread_setaffinity_new()
49 __pthread_setaffinity_old (pthread_t th, cpu_set_t *cpuset) in __pthread_setaffinity_old()
Dpthread_getaffinity.c29 __pthread_getaffinity_np (pthread_t th, size_t cpusetsize, cpu_set_t *cpuset) in __pthread_getaffinity_np()
55 __pthread_getaffinity_old (pthread_t th, cpu_set_t *cpuset) in __pthread_getaffinity_old()
Dpthread_attr_getaffinity.c29 cpu_set_t *cpuset) in __pthread_attr_getaffinity_new()
68 __pthread_attr_getaffinity_old (const pthread_attr_t *attr, cpu_set_t *cpuset) in __pthread_attr_getaffinity_old()
Dpthread_attr_setaffinity.c28 const cpu_set_t *cpuset) in __pthread_attr_setaffinity_np()
78 __pthread_attr_setaffinity_old (pthread_attr_t *attr, cpu_set_t *cpuset) in __pthread_attr_setaffinity_old()
Dtst-pthread-defaultattr-free.c29 cpu_set_t *set = CPU_ALLOC (cpu_count); in do_test()
53 cpu_set_t *large_set = CPU_ALLOC (4 * cpu_count); in do_test()
Dpthread_getattr_np.c174 cpu_set_t *cpuset = NULL; in __pthread_getattr_np()
186 cpuset = (cpu_set_t *) newp; in __pthread_getattr_np()
Dtst-default-attr.c166 cpu_set_t cpuset; in verify_affinity_result()
188 cpu_set_t cpuset; in do_affinity_test()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-skeleton-affinity.c57 cpu_set_t *set = CPU_ALLOC (num_cpus); in find_set_size()
83 find_last_cpu (const cpu_set_t *set, size_t size) in find_last_cpu()
111 cpu_set_t *set = CPU_ALLOC (conf->set_size); in setup_conf()
141 cpu_set_t *initial_set = CPU_ALLOC (size); in test_size()
142 cpu_set_t *set2 = CPU_ALLOC (size); in test_size()
143 cpu_set_t *active_cpu_set = CPU_ALLOC (size); in test_size()
252 cpu_set_t set; in do_test()
Dsched_setaffinity.c27 extern int __sched_setaffinity_new (pid_t, size_t, const cpu_set_t *);
31 __sched_setaffinity_new (pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset) in libc_hidden_proto()
45 __sched_setaffinity_old (pid_t pid, const cpu_set_t *cpuset) in __sched_setaffinity_old()
Dsched_getaffinity.c28 extern int __sched_getaffinity_new (pid_t, size_t, cpu_set_t *);
33 __sched_getaffinity_new (pid_t pid, size_t cpusetsize, cpu_set_t *cpuset) in libc_hidden_proto()
55 __sched_getaffinity_old (pid_t pid, cpu_set_t *cpuset) in libc_hidden_def()
Dtst-skeleton-thread-affinity.c71 cpu_set_t *initial_set;
72 cpu_set_t *seen_set;
109 stop_and_join_threads (struct conf *conf, cpu_set_t *set, in stop_and_join_threads()
157 cpu_set_t *initial_set = CPU_ALLOC (conf->set_size); in early_test()
158 cpu_set_t *scratch_set = CPU_ALLOC (conf->set_size); in early_test()
Dtst-affinity-pid.c72 cpu_set_t *set, size_t size) in process_child_response()
127 getaffinity (size_t size, cpu_set_t *set) in getaffinity()
163 setaffinity (size_t size, const cpu_set_t *set) in setaffinity()
Dtst-affinity.c26 getaffinity (size_t size, cpu_set_t *set) in getaffinity()
32 setaffinity (size_t size, const cpu_set_t *set) in setaffinity()
/glibc-2.36/posix/bits/
Dcpu-set.h42 } cpu_set_t; typedef
101 ({ cpu_set_t *__dest = (destset); \
117 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
119 extern cpu_set_t *__sched_cpualloc (size_t __count) __THROW __wur;
120 extern void __sched_cpufree (cpu_set_t *__set) __THROW;
/glibc-2.36/include/bits/
Dcpu-set.h5 int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp);
/glibc-2.36/support/
Dxpthread_attr_setaffinity_np.c24 size_t cpusetsize, const cpu_set_t *cpuset) in xpthread_attr_setaffinity_np()

12