Lines Matching refs:tinfo
126 struct tinfo { struct
138 struct tinfo *tinfo = (struct tinfo *)arg; in thread_start() argument
140 void *(*start_routine)(void *) = tinfo->start_routine; in thread_start()
141 void *start_routine_arg = tinfo->start_routine_arg; in thread_start()
144 unsafe_stack_setup(tinfo->unsafe_stack_start, tinfo->unsafe_stack_size, in thread_start()
145 tinfo->unsafe_stack_guard); in thread_start()
195 struct tinfo *tinfo = in INTERCEPTOR() local
196 (struct tinfo *)(((char *)addr) + size - sizeof(struct tinfo)); in INTERCEPTOR()
197 tinfo->start_routine = start_routine; in INTERCEPTOR()
198 tinfo->start_routine_arg = arg; in INTERCEPTOR()
199 tinfo->unsafe_stack_start = addr; in INTERCEPTOR()
200 tinfo->unsafe_stack_size = size; in INTERCEPTOR()
201 tinfo->unsafe_stack_guard = guard; in INTERCEPTOR()
203 return REAL(pthread_create)(thread, attr, thread_start, tinfo); in INTERCEPTOR()