Lines Matching refs:target_thread

1529 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,  in binder_pop_transaction_ilocked()  argument
1532 BUG_ON(!target_thread); in binder_pop_transaction_ilocked()
1533 assert_spin_locked(&target_thread->proc->inner_lock); in binder_pop_transaction_ilocked()
1534 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction_ilocked()
1535 BUG_ON(target_thread->transaction_stack->from != target_thread); in binder_pop_transaction_ilocked()
1536 target_thread->transaction_stack = in binder_pop_transaction_ilocked()
1537 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1699 struct binder_thread *target_thread; in binder_send_failed_reply() local
1704 target_thread = binder_get_txn_from_and_acq_inner(t); in binder_send_failed_reply()
1705 if (target_thread) { in binder_send_failed_reply()
1709 target_thread->proc->pid, in binder_send_failed_reply()
1710 target_thread->pid); in binder_send_failed_reply()
1712 binder_pop_transaction_ilocked(target_thread, t); in binder_send_failed_reply()
1713 if (target_thread->reply_error.cmd == BR_OK) { in binder_send_failed_reply()
1714 target_thread->reply_error.cmd = error_code; in binder_send_failed_reply()
1716 target_thread, in binder_send_failed_reply()
1717 &target_thread->reply_error.work); in binder_send_failed_reply()
1718 wake_up_interruptible(&target_thread->wait); in binder_send_failed_reply()
1727 target_thread->reply_error.cmd); in binder_send_failed_reply()
1729 binder_inner_proc_unlock(target_thread->proc); in binder_send_failed_reply()
1730 binder_thread_dec_tmpref(target_thread); in binder_send_failed_reply()
1734 __release(&target_thread->proc->inner_lock); in binder_send_failed_reply()
2983 struct binder_thread *target_thread = NULL; in binder_transaction() local
3043 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to); in binder_transaction()
3044 if (target_thread == NULL) { in binder_transaction()
3046 __release(&target_thread->proc->inner_lock); in binder_transaction()
3051 if (target_thread->transaction_stack != in_reply_to) { in binder_transaction()
3054 target_thread->transaction_stack ? in binder_transaction()
3055 target_thread->transaction_stack->debug_id : 0, in binder_transaction()
3057 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3062 target_thread = NULL; in binder_transaction()
3065 target_proc = target_thread->proc; in binder_transaction()
3067 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3178 target_thread = from; in binder_transaction()
3188 if (target_thread) in binder_transaction()
3189 e->to_thread = target_thread->pid; in binder_transaction()
3221 target_proc->pid, target_thread->pid, in binder_transaction()
3242 t->to_thread = target_thread; in binder_transaction()
3652 if (target_thread->is_dead) { in binder_transaction()
3658 binder_pop_transaction_ilocked(target_thread, in_reply_to); in binder_transaction()
3659 binder_enqueue_thread_work_ilocked(target_thread, &t->work); in binder_transaction()
3662 wake_up_interruptible_sync(&target_thread->wait); in binder_transaction()
3682 target_proc, target_thread); in binder_transaction()
3697 if (target_thread) in binder_transaction()
3698 binder_thread_dec_tmpref(target_thread); in binder_transaction()
3744 if (target_thread) in binder_transaction()
3745 binder_thread_dec_tmpref(target_thread); in binder_transaction()