Lines Matching refs:target_thread

1753 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,  in binder_pop_transaction_ilocked()  argument
1756 BUG_ON(!target_thread); in binder_pop_transaction_ilocked()
1757 assert_spin_locked(&target_thread->proc->inner_lock); in binder_pop_transaction_ilocked()
1758 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction_ilocked()
1759 BUG_ON(target_thread->transaction_stack->from != target_thread); in binder_pop_transaction_ilocked()
1760 target_thread->transaction_stack = in binder_pop_transaction_ilocked()
1761 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1917 struct binder_thread *target_thread; in binder_send_failed_reply() local
1922 target_thread = binder_get_txn_from_and_acq_inner(t); in binder_send_failed_reply()
1923 if (target_thread) { in binder_send_failed_reply()
1927 target_thread->proc->pid, in binder_send_failed_reply()
1928 target_thread->pid); in binder_send_failed_reply()
1930 binder_pop_transaction_ilocked(target_thread, t); in binder_send_failed_reply()
1931 if (target_thread->reply_error.cmd == BR_OK) { in binder_send_failed_reply()
1932 target_thread->reply_error.cmd = error_code; in binder_send_failed_reply()
1934 target_thread, in binder_send_failed_reply()
1935 &target_thread->reply_error.work); in binder_send_failed_reply()
1936 wake_up_interruptible(&target_thread->wait); in binder_send_failed_reply()
1945 target_thread->reply_error.cmd); in binder_send_failed_reply()
1947 binder_inner_proc_unlock(target_thread->proc); in binder_send_failed_reply()
1948 binder_thread_dec_tmpref(target_thread); in binder_send_failed_reply()
1952 __release(&target_thread->proc->inner_lock); in binder_send_failed_reply()
2828 struct binder_thread *target_thread = NULL; in binder_transaction() local
2883 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to); in binder_transaction()
2884 if (target_thread == NULL) { in binder_transaction()
2886 __release(&target_thread->proc->inner_lock); in binder_transaction()
2891 if (target_thread->transaction_stack != in_reply_to) { in binder_transaction()
2894 target_thread->transaction_stack ? in binder_transaction()
2895 target_thread->transaction_stack->debug_id : 0, in binder_transaction()
2897 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
2902 target_thread = NULL; in binder_transaction()
2905 target_proc = target_thread->proc; in binder_transaction()
2907 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3022 target_thread = from; in binder_transaction()
3032 if (target_thread) in binder_transaction()
3033 e->to_thread = target_thread->pid; in binder_transaction()
3063 target_proc->pid, target_thread->pid, in binder_transaction()
3084 t->to_thread = target_thread; in binder_transaction()
3405 if (target_thread->is_dead) { in binder_transaction()
3410 binder_pop_transaction_ilocked(target_thread, in_reply_to); in binder_transaction()
3411 binder_enqueue_thread_work_ilocked(target_thread, &t->work); in binder_transaction()
3413 wake_up_interruptible_sync(&target_thread->wait); in binder_transaction()
3430 if (!binder_proc_transaction(t, target_proc, target_thread)) { in binder_transaction()
3443 if (target_thread) in binder_transaction()
3444 binder_thread_dec_tmpref(target_thread); in binder_transaction()
3490 if (target_thread) in binder_transaction()
3491 binder_thread_dec_tmpref(target_thread); in binder_transaction()