Lines Matching refs:target_thread

1502 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,  in binder_pop_transaction_ilocked()  argument
1505 BUG_ON(!target_thread); in binder_pop_transaction_ilocked()
1506 assert_spin_locked(&target_thread->proc->inner_lock); in binder_pop_transaction_ilocked()
1507 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction_ilocked()
1508 BUG_ON(target_thread->transaction_stack->from != target_thread); in binder_pop_transaction_ilocked()
1509 target_thread->transaction_stack = in binder_pop_transaction_ilocked()
1510 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1689 struct binder_thread *target_thread; in binder_send_failed_reply() local
1694 target_thread = binder_get_txn_from_and_acq_inner(t); in binder_send_failed_reply()
1695 if (target_thread) { in binder_send_failed_reply()
1699 target_thread->proc->pid, in binder_send_failed_reply()
1700 target_thread->pid); in binder_send_failed_reply()
1702 binder_pop_transaction_ilocked(target_thread, t); in binder_send_failed_reply()
1703 if (target_thread->reply_error.cmd == BR_OK) { in binder_send_failed_reply()
1704 target_thread->reply_error.cmd = error_code; in binder_send_failed_reply()
1706 target_thread, in binder_send_failed_reply()
1707 &target_thread->reply_error.work); in binder_send_failed_reply()
1708 wake_up_interruptible(&target_thread->wait); in binder_send_failed_reply()
1717 target_thread->reply_error.cmd); in binder_send_failed_reply()
1719 binder_inner_proc_unlock(target_thread->proc); in binder_send_failed_reply()
1720 binder_thread_dec_tmpref(target_thread); in binder_send_failed_reply()
1724 __release(&target_thread->proc->inner_lock); in binder_send_failed_reply()
3070 struct binder_thread *target_thread = NULL; in binder_transaction() local
3161 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to); in binder_transaction()
3162 if (target_thread == NULL) { in binder_transaction()
3164 __release(&target_thread->proc->inner_lock); in binder_transaction()
3171 if (target_thread->transaction_stack != in_reply_to) { in binder_transaction()
3174 target_thread->transaction_stack ? in binder_transaction()
3175 target_thread->transaction_stack->debug_id : 0, in binder_transaction()
3177 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3182 target_thread = NULL; in binder_transaction()
3185 target_proc = target_thread->proc; in binder_transaction()
3187 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3306 target_thread = from; in binder_transaction()
3318 t->to_thread = target_thread; in binder_transaction()
3319 if (target_thread) in binder_transaction()
3320 e->to_thread = target_thread->pid; in binder_transaction()
3338 target_proc->pid, target_thread->pid, in binder_transaction()
3752 if (target_thread->is_dead) { in binder_transaction()
3758 binder_pop_transaction_ilocked(target_thread, in_reply_to); in binder_transaction()
3759 binder_enqueue_thread_work_ilocked(target_thread, &t->work); in binder_transaction()
3762 wake_up_interruptible_sync(&target_thread->wait); in binder_transaction()
3779 target_proc, target_thread); in binder_transaction()
3813 if (target_thread) in binder_transaction()
3814 binder_thread_dec_tmpref(target_thread); in binder_transaction()
3877 target_thread ? target_thread->pid : 0, in binder_transaction()
3882 if (target_thread) in binder_transaction()
3883 binder_thread_dec_tmpref(target_thread); in binder_transaction()