Lines Matching refs:target_thread

1844 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,  in binder_pop_transaction_ilocked()  argument
1847 BUG_ON(!target_thread); in binder_pop_transaction_ilocked()
1848 assert_spin_locked(&target_thread->proc->inner_lock); in binder_pop_transaction_ilocked()
1849 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction_ilocked()
1850 BUG_ON(target_thread->transaction_stack->from != target_thread); in binder_pop_transaction_ilocked()
1851 target_thread->transaction_stack = in binder_pop_transaction_ilocked()
1852 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1972 struct binder_thread *target_thread; in binder_send_failed_reply() local
1977 target_thread = binder_get_txn_from_and_acq_inner(t); in binder_send_failed_reply()
1978 if (target_thread) { in binder_send_failed_reply()
1982 target_thread->proc->pid, in binder_send_failed_reply()
1983 target_thread->pid); in binder_send_failed_reply()
1985 binder_pop_transaction_ilocked(target_thread, t); in binder_send_failed_reply()
1986 if (target_thread->reply_error.cmd == BR_OK) { in binder_send_failed_reply()
1987 target_thread->reply_error.cmd = error_code; in binder_send_failed_reply()
1989 target_thread, in binder_send_failed_reply()
1990 &target_thread->reply_error.work); in binder_send_failed_reply()
1991 wake_up_interruptible(&target_thread->wait); in binder_send_failed_reply()
2000 target_thread->reply_error.cmd); in binder_send_failed_reply()
2002 binder_inner_proc_unlock(target_thread->proc); in binder_send_failed_reply()
2003 binder_thread_dec_tmpref(target_thread); in binder_send_failed_reply()
2731 struct binder_thread *target_thread = NULL; in binder_transaction() local
2784 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to); in binder_transaction()
2785 if (target_thread == NULL) { in binder_transaction()
2790 if (target_thread->transaction_stack != in_reply_to) { in binder_transaction()
2793 target_thread->transaction_stack ? in binder_transaction()
2794 target_thread->transaction_stack->debug_id : 0, in binder_transaction()
2796 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
2801 target_thread = NULL; in binder_transaction()
2804 target_proc = target_thread->proc; in binder_transaction()
2806 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
2892 target_thread = from; in binder_transaction()
2902 if (target_thread) in binder_transaction()
2903 e->to_thread = target_thread->pid; in binder_transaction()
2932 target_proc->pid, target_thread->pid, in binder_transaction()
2953 t->to_thread = target_thread; in binder_transaction()
3176 if (target_thread->is_dead) { in binder_transaction()
3181 binder_pop_transaction_ilocked(target_thread, in_reply_to); in binder_transaction()
3182 binder_enqueue_thread_work_ilocked(target_thread, &t->work); in binder_transaction()
3184 wake_up_interruptible_sync(&target_thread->wait); in binder_transaction()
3201 if (!binder_proc_transaction(t, target_proc, target_thread)) { in binder_transaction()
3214 if (target_thread) in binder_transaction()
3215 binder_thread_dec_tmpref(target_thread); in binder_transaction()
3254 if (target_thread) in binder_transaction()
3255 binder_thread_dec_tmpref(target_thread); in binder_transaction()