Lines Matching refs:ti
74 struct thread_info *ti; in current_thread_info() local
76 __asm__ __volatile__ ("getcon cr17, %0" : "=r" (ti)); in current_thread_info()
78 __asm__ __volatile__ ("stc r7_bank, %0" : "=r" (ti)); in current_thread_info()
85 : "=&r" (ti), "=r" (__dummy) in current_thread_info()
90 return ti; in current_thread_info()
162 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() local
163 ti->status |= TS_RESTORE_SIGMASK; in set_restore_sigmask()
164 WARN_ON(!test_bit(TIF_SIGPENDING, (unsigned long *)&ti->flags)); in set_restore_sigmask()
174 struct thread_info *ti = current_thread_info(); in set_thread_fault_code() local
175 ti->flags = (ti->flags & (~0 >> (32 - TI_FLAG_FAULT_CODE_SHIFT))) in set_thread_fault_code()
181 struct thread_info *ti = current_thread_info(); in get_thread_fault_code() local
182 return ti->flags >> TI_FLAG_FAULT_CODE_SHIFT; in get_thread_fault_code()
195 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask() local
196 if (!(ti->status & TS_RESTORE_SIGMASK)) in test_and_clear_restore_sigmask()
198 ti->status &= ~TS_RESTORE_SIGMASK; in test_and_clear_restore_sigmask()