Lines Matching refs:target_thread

1778 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,  in binder_pop_transaction_ilocked()  argument
1781 BUG_ON(!target_thread); in binder_pop_transaction_ilocked()
1782 assert_spin_locked(&target_thread->proc->inner_lock); in binder_pop_transaction_ilocked()
1783 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction_ilocked()
1784 BUG_ON(target_thread->transaction_stack->from != target_thread); in binder_pop_transaction_ilocked()
1785 target_thread->transaction_stack = in binder_pop_transaction_ilocked()
1786 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1942 struct binder_thread *target_thread; in binder_send_failed_reply() local
1947 target_thread = binder_get_txn_from_and_acq_inner(t); in binder_send_failed_reply()
1948 if (target_thread) { in binder_send_failed_reply()
1952 target_thread->proc->pid, in binder_send_failed_reply()
1953 target_thread->pid); in binder_send_failed_reply()
1955 binder_pop_transaction_ilocked(target_thread, t); in binder_send_failed_reply()
1956 if (target_thread->reply_error.cmd == BR_OK) { in binder_send_failed_reply()
1957 target_thread->reply_error.cmd = error_code; in binder_send_failed_reply()
1959 target_thread, in binder_send_failed_reply()
1960 &target_thread->reply_error.work); in binder_send_failed_reply()
1961 wake_up_interruptible(&target_thread->wait); in binder_send_failed_reply()
1970 target_thread->reply_error.cmd); in binder_send_failed_reply()
1972 binder_inner_proc_unlock(target_thread->proc); in binder_send_failed_reply()
1973 binder_thread_dec_tmpref(target_thread); in binder_send_failed_reply()
1977 __release(&target_thread->proc->inner_lock); in binder_send_failed_reply()
2855 struct binder_thread *target_thread = NULL; in binder_transaction() local
2910 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to); in binder_transaction()
2911 if (target_thread == NULL) { in binder_transaction()
2913 __release(&target_thread->proc->inner_lock); in binder_transaction()
2918 if (target_thread->transaction_stack != in_reply_to) { in binder_transaction()
2921 target_thread->transaction_stack ? in binder_transaction()
2922 target_thread->transaction_stack->debug_id : 0, in binder_transaction()
2924 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
2929 target_thread = NULL; in binder_transaction()
2932 target_proc = target_thread->proc; in binder_transaction()
2934 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3043 target_thread = from; in binder_transaction()
3053 if (target_thread) in binder_transaction()
3054 e->to_thread = target_thread->pid; in binder_transaction()
3084 target_proc->pid, target_thread->pid, in binder_transaction()
3105 t->to_thread = target_thread; in binder_transaction()
3426 if (target_thread->is_dead) { in binder_transaction()
3431 binder_pop_transaction_ilocked(target_thread, in_reply_to); in binder_transaction()
3432 binder_enqueue_thread_work_ilocked(target_thread, &t->work); in binder_transaction()
3434 wake_up_interruptible_sync(&target_thread->wait); in binder_transaction()
3451 if (!binder_proc_transaction(t, target_proc, target_thread)) { in binder_transaction()
3464 if (target_thread) in binder_transaction()
3465 binder_thread_dec_tmpref(target_thread); in binder_transaction()
3511 if (target_thread) in binder_transaction()
3512 binder_thread_dec_tmpref(target_thread); in binder_transaction()