Lines Matching refs:ti
120 struct thread_info *ti = task_thread_info(p); in copy_thread() local
125 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) - in copy_thread()
129 ti->regs = childregs; in copy_thread()
175 childregs->THREADINFO_REG = (unsigned long) ti; in copy_thread()
182 p->stack = (void *)ti; in copy_thread()
246 struct thread_info *ti; in alloc_thread_info_node() local
248 ti = kmem_cache_alloc_node(thread_info_cache, GFP_KERNEL, node); in alloc_thread_info_node()
249 if (unlikely(ti == NULL)) in alloc_thread_info_node()
252 memset(ti, 0, THREAD_SIZE); in alloc_thread_info_node()
254 return ti; in alloc_thread_info_node()
257 void free_thread_info(struct thread_info *ti) in free_thread_info() argument
259 kmem_cache_free(thread_info_cache, ti); in free_thread_info()