Lines Matching refs:ti
78 struct thread_info *ti = coprocessor_owner[i];
80 if (ti) {
81 coprocessor_flush(ti, i);
84 if (unique_owner[j] == ti)
87 unique_owner[n++] = ti;
102 struct thread_info *ti = info;
111 if (coprocessor_owner[i] == ti)
116 ti->cpenable = 0;
117 if (ti == current_thread_info())
121 void coprocessor_release_all(struct thread_info *ti)
123 if (ti->cpenable) {
126 smp_call_function_single(ti->cp_owner_cpu,
128 ti, true);
134 struct thread_info *ti = info;
140 old_cpenable = xtensa_xsr(ti->cpenable, cpenable);
143 if (coprocessor_owner[i] == ti)
144 coprocessor_flush(ti, i);
149 void coprocessor_flush_all(struct thread_info *ti)
151 if (ti->cpenable) {
154 smp_call_function_single(ti->cp_owner_cpu,
156 ti, true);
166 void coprocessor_flush_release_all(struct thread_info *ti)
168 if (ti->cpenable) {
171 smp_call_function_single(ti->cp_owner_cpu,
173 ti, true);
206 struct thread_info *ti = current_thread_info();
207 coprocessor_flush_release_all(ti);
275 struct thread_info *ti;
362 ti = task_thread_info(p);
363 ti->cpenable = 0;