Home
last modified time | relevance | path

Searched refs:thread_data (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/crypto/external/cpl/trousers/dist/src/tcsd/
H A Dtcsd_threads.c47 if (tm->thread_data[i].thread_id != THREAD_NULL) { in tcsd_threads_final()
48 if ((rc = THREAD_JOIN(*(tm->thread_data[i].thread_id), NULL))) { in tcsd_threads_final()
54 free(tm->thread_data); in tcsd_threads_final()
76 tm->thread_data = calloc(tcsd_options.num_threads, sizeof(struct tcsd_thread_data)); in tcsd_threads_init()
77 if (tm->thread_data == NULL) { in tcsd_threads_init()
129 if (tm->thread_data[thread_num].thread_id == THREAD_NULL) in tcsd_thread_create()
135 tm->thread_data[thread_num].sock = socket; in tcsd_thread_create()
136 tm->thread_data[thread_num].context = NULL_TCS_HANDLE; in tcsd_thread_create()
138 tm->thread_data[thread_num].hostname = hostname; in tcsd_thread_create()
141 (void)tcsd_thread_run((void *)(&(tm->thread_data[thread_num]))); in tcsd_thread_create()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprofng/examples/mxv-pthreads/src/
H A Dmanage_data.c38 thread_data **thread_data_arguments, in allocate_data()
92 if ((*thread_data_arguments = (thread_data *) malloc ((active_threads) in allocate_data()
93 * sizeof (thread_data))) == NULL) in allocate_data()
H A Dmxv.c30 thread_data *local_data; in driver_mxv()
32 local_data = (thread_data *) thread_arguments; in driver_mxv()
H A Dmydefs.h49 typedef struct thread_arguments_data thread_data; typedef
83 thread_data **thread_data_arguments,
H A Dmain.c35 thread_data *thread_data_arguments; in main()
/netbsd-src/sys/external/bsd/vchiq/dist/interface/compat/
H A Dvchi_bsd.c277 struct thread_data { struct
282 static struct thread_data thread_slots[MAX_THREAD_DATA_SLOTS]; argument
287 struct thread_data *slot; in kthread_wrapper()
301 struct thread_data *slot; in vchiq_thread_create()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc.c520 access_control(struct tcsd_thread_data *thread_data) in access_control() argument
528 if (getpeername(thread_data->sock, (struct sockaddr *)&sas, in access_control()
558 if ((UINT32)tcsd_options.remote_ops[i] == thread_data->comm.hdr.u.ordinal) { in access_control()
560 tcs_func_table[thread_data->comm.hdr.u.ordinal].name, in access_control()
561 thread_data->hostname); in access_control()
/netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/src/
H A Dcore.c284 static unsigned __stdcall fill_segment_thr(void *thread_data) in fill_segment_thr() argument
286 static void *fill_segment_thr(void *thread_data) in fill_segment_thr()
289 argon2_thread_data *my_data = thread_data; in fill_segment_thr()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/
H A Dtcsd.h159 struct tcsd_thread_data *thread_data; member
/netbsd-src/external/gpl3/gcc/dist/libgomp/plugin/
H A Dplugin-gcn.c3726 struct gcn_thread *thread_data = gcn_thread (); in GOMP_OFFLOAD_dev2dev() local
3728 if (thread_data && !async_synchronous_p (thread_data->async)) in GOMP_OFFLOAD_dev2dev()
4059 struct gcn_thread *thread_data in GOMP_OFFLOAD_openacc_create_thread_data() local
4062 thread_data->async = GOMP_ASYNC_SYNC; in GOMP_OFFLOAD_openacc_create_thread_data()
4064 return (void *) thread_data; in GOMP_OFFLOAD_openacc_create_thread_data()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/plugin/
H A Dplugin-gcn.c3865 struct gcn_thread *thread_data = gcn_thread (); in GOMP_OFFLOAD_dev2dev() local
3867 if (thread_data && !async_synchronous_p (thread_data->async)) in GOMP_OFFLOAD_dev2dev()
4206 struct gcn_thread *thread_data in GOMP_OFFLOAD_openacc_create_thread_data() local
4209 thread_data->async = GOMP_ASYNC_SYNC; in GOMP_OFFLOAD_openacc_create_thread_data()
4211 return (void *) thread_data; in GOMP_OFFLOAD_openacc_create_thread_data()