Lines Matching refs:ti

79 		struct thread_info *ti = coprocessor_owner[i];  in local_coprocessors_flush_release_all()  local
81 if (ti) { in local_coprocessors_flush_release_all()
82 coprocessor_flush(ti, i); in local_coprocessors_flush_release_all()
85 if (unique_owner[j] == ti) in local_coprocessors_flush_release_all()
88 unique_owner[n++] = ti; in local_coprocessors_flush_release_all()
103 struct thread_info *ti = info; in local_coprocessor_release_all() local
112 if (coprocessor_owner[i] == ti) in local_coprocessor_release_all()
117 ti->cpenable = 0; in local_coprocessor_release_all()
118 if (ti == current_thread_info()) in local_coprocessor_release_all()
122 void coprocessor_release_all(struct thread_info *ti) in coprocessor_release_all() argument
124 if (ti->cpenable) { in coprocessor_release_all()
127 smp_call_function_single(ti->cp_owner_cpu, in coprocessor_release_all()
129 ti, true); in coprocessor_release_all()
135 struct thread_info *ti = info; in local_coprocessor_flush_all() local
141 old_cpenable = xtensa_xsr(ti->cpenable, cpenable); in local_coprocessor_flush_all()
144 if (coprocessor_owner[i] == ti) in local_coprocessor_flush_all()
145 coprocessor_flush(ti, i); in local_coprocessor_flush_all()
150 void coprocessor_flush_all(struct thread_info *ti) in coprocessor_flush_all() argument
152 if (ti->cpenable) { in coprocessor_flush_all()
155 smp_call_function_single(ti->cp_owner_cpu, in coprocessor_flush_all()
157 ti, true); in coprocessor_flush_all()
167 void coprocessor_flush_release_all(struct thread_info *ti) in coprocessor_flush_release_all() argument
169 if (ti->cpenable) { in coprocessor_flush_release_all()
172 smp_call_function_single(ti->cp_owner_cpu, in coprocessor_flush_release_all()
174 ti, true); in coprocessor_flush_release_all()
207 struct thread_info *ti = current_thread_info(); in flush_thread() local
208 coprocessor_flush_release_all(ti); in flush_thread()
276 struct thread_info *ti; in copy_thread() local
363 ti = task_thread_info(p); in copy_thread()
364 ti->cpenable = 0; in copy_thread()