Lines Matching defs:tinfo
141 struct tinfo {
153 struct tinfo *tinfo = (struct tinfo *)arg;
155 void *(*start_routine)(void *) = tinfo->start_routine;
156 void *start_routine_arg = tinfo->start_routine_arg;
158 // Setup the unsafe stack; this will destroy tinfo content
159 unsafe_stack_setup(tinfo->unsafe_stack_start, tinfo->unsafe_stack_size,
160 tinfo->unsafe_stack_guard);
267 // Put tinfo at the end of the buffer. guard may be not page aligned.
269 struct tinfo *tinfo =
270 (struct tinfo *)(((char *)addr) + size - sizeof(struct tinfo));
271 tinfo->start_routine = start_routine;
272 tinfo->start_routine_arg = arg;
273 tinfo->unsafe_stack_start = addr;
274 tinfo->unsafe_stack_size = size;
275 tinfo->unsafe_stack_guard = guard;
277 return REAL(pthread_create)(thread, attr, thread_start, tinfo);