Searched refs:thread_data (Results 1 – 6 of 6) sorted by relevance
| /xnu-11215/tests/sched/ |
| H A D | thread_group_flags.c | 99 struct thread_data { struct 108 struct thread_data *data = (struct thread_data *)arg; in join_workload_fn() argument 123 start_threads(void *(*func)(void *), struct thread_data *datas, int num_threads) in start_threads() 201 tg_id_to_index(struct thread_data *datas, int num_datas, uint64_t tg_id) in tg_id_to_index() 214 …workload_id_tg_flags_tracepoints(char *trace_path, int num_workload_ids, struct thread_data *datas) in search_for_workload_id_tg_flags_tracepoints() 291 …__block struct thread_data *datas = (struct thread_data *)calloc(num_workload_ids, sizeof(struct t… 315 struct thread_data *data = (struct thread_data *)arg; in join_leave_pid_based() 335 search_for_pid_based_tg_flags_tracepoints(char *trace_path, int num_threads, struct thread_data *da… in search_for_pid_based_tg_flags_tracepoints() 401 …__block struct thread_data *datas = (struct thread_data *)calloc(num_threads, sizeof(struct thread…
|
| H A D | thread_group_fairness.c | 107 struct thread_data { struct 115 struct thread_data *info = (struct thread_data *)arg; in spin_thread_fn() argument 131 start_threads(pthread_t *threads, struct thread_data *thread_datas, work_interval_t *handle, uint32… in start_threads() 178 struct thread_data lower_thread_datas[num_cores]; 183 struct thread_data higher_thread_datas[num_cores];
|
| /xnu-11215/tests/ |
| H A D | work_interval_data_test.c | 136 struct thread_data { struct 169 struct thread_data *info = (struct thread_data *)arg; in coreaudio_workload_fn() 187 start_helper_threads(unsigned int num_threads, pthread_t *threads, struct thread_data *thread_datas, in start_helper_threads() 308 struct thread_data wi_thread_datas[num_helper_threads]; in run_work_interval_data_test()
|
| H A D | turnstiles_test.c | 103 struct thread_data { struct 115 struct thread_data* data = (struct thread_data*) args; in chain_locking() argument 340 struct thread_data data[5] = {}; in test4() 413 struct thread_data data[5] = {}; in test5()
|
| /xnu-11215/bsd/tests/ |
| H A D | copyio_tests.c | 67 uint64_t thread_data; member 359 return copyout_atomic32((uint32_t)data->thread_data, (user_addr_t)data->kern_addr); in copyout_atomic32_to_kernel() 365 return copyout_atomic64(data->thread_data, (user_addr_t)data->kern_addr); in copyout_atomic64_to_kernel() 432 …data->thread_data = word_out; … 457 return copyin_atomic32_wait_if_equals((uintptr_t)data->kern_addr, (uint32_t)data->thread_data); in copyin_atomic32_wait_if_equals_from_kernel() 478 data->thread_data = 0; in copyin_atomic32_wait_if_equals_test()
|
| /xnu-11215/osfmk/arm/ |
| H A D | machine_routines_common.c | 386 struct perfcontrol_thread_data *thread_data, in sched_perfcontrol_thread_flags_update() argument 390 if (thread_data->thread_flags_mask & PERFCTL_THREAD_FLAGS_MASK_CLUSTER_SHARED_RSRC_RR) { in sched_perfcontrol_thread_flags_update() 391 if (thread_data->thread_flags & PERFCTL_THREAD_FLAGS_MASK_CLUSTER_SHARED_RSRC_RR) { in sched_perfcontrol_thread_flags_update() 397 if (thread_data->thread_flags_mask & PERFCTL_THREAD_FLAGS_MASK_CLUSTER_SHARED_RSRC_NATIVE_FIRST) { in sched_perfcontrol_thread_flags_update() 398 if (thread_data->thread_flags & PERFCTL_THREAD_FLAGS_MASK_CLUSTER_SHARED_RSRC_NATIVE_FIRST) { in sched_perfcontrol_thread_flags_update()
|