/glibc-2.36/posix/ |
D | sched.h | 92 # 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 …]
|
D | tst-cpuset.c | 9 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()
|
D | sched_cpufree.c | 23 __sched_cpufree (cpu_set_t *set) in __sched_cpufree()
|
D | sched_cpualloc.c | 22 cpu_set_t *
|
D | sched_getaffinity.c | 25 sched_getaffinity (pid_t pid, size_t cpusetsize, cpu_set_t *cpuset) in sched_getaffinity()
|
D | sched_setaffinity.c | 25 sched_setaffinity (pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset) in sched_setaffinity()
|
/glibc-2.36/nptl/ |
D | tst-thread-affinity-pthread2.c | 31 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()
|
D | tst-thread-affinity-sched.c | 25 getaffinity (size_t size, cpu_set_t *set) in getaffinity() 31 setaffinity (size_t size, const cpu_set_t *set) in setaffinity()
|
D | tst-thread-affinity-pthread.c | 26 setaffinity (size_t size, const cpu_set_t *set) in setaffinity() 38 getaffinity (size_t size, cpu_set_t *set) in getaffinity()
|
D | pthread_setaffinity.c | 27 const cpu_set_t *cpuset) in __pthread_setaffinity_new() 49 __pthread_setaffinity_old (pthread_t th, cpu_set_t *cpuset) in __pthread_setaffinity_old()
|
D | pthread_getaffinity.c | 29 __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()
|
D | pthread_attr_getaffinity.c | 29 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()
|
D | pthread_attr_setaffinity.c | 28 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()
|
D | tst-pthread-defaultattr-free.c | 29 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()
|
D | pthread_getattr_np.c | 174 cpu_set_t *cpuset = NULL; in __pthread_getattr_np() 186 cpuset = (cpu_set_t *) newp; in __pthread_getattr_np()
|
D | tst-default-attr.c | 166 cpu_set_t cpuset; in verify_affinity_result() 188 cpu_set_t cpuset; in do_affinity_test()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-skeleton-affinity.c | 57 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()
|
D | sched_setaffinity.c | 27 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()
|
D | sched_getaffinity.c | 28 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()
|
D | tst-skeleton-thread-affinity.c | 71 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()
|
D | tst-affinity-pid.c | 72 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()
|
D | tst-affinity.c | 26 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/ |
D | cpu-set.h | 42 } 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/ |
D | cpu-set.h | 5 int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp);
|
/glibc-2.36/support/ |
D | xpthread_attr_setaffinity_np.c | 24 size_t cpusetsize, const cpu_set_t *cpuset) in xpthread_attr_setaffinity_np()
|