Lines Matching refs:target_thread

1506 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,  in binder_pop_transaction_ilocked()  argument
1509 BUG_ON(!target_thread); in binder_pop_transaction_ilocked()
1510 assert_spin_locked(&target_thread->proc->inner_lock); in binder_pop_transaction_ilocked()
1511 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction_ilocked()
1512 BUG_ON(target_thread->transaction_stack->from != target_thread); in binder_pop_transaction_ilocked()
1513 target_thread->transaction_stack = in binder_pop_transaction_ilocked()
1514 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1694 struct binder_thread *target_thread; in binder_send_failed_reply() local
1699 target_thread = binder_get_txn_from_and_acq_inner(t); in binder_send_failed_reply()
1700 if (target_thread) { in binder_send_failed_reply()
1704 target_thread->proc->pid, in binder_send_failed_reply()
1705 target_thread->pid); in binder_send_failed_reply()
1707 binder_pop_transaction_ilocked(target_thread, t); in binder_send_failed_reply()
1708 if (target_thread->reply_error.cmd == BR_OK) { in binder_send_failed_reply()
1709 target_thread->reply_error.cmd = error_code; in binder_send_failed_reply()
1711 target_thread, in binder_send_failed_reply()
1712 &target_thread->reply_error.work); in binder_send_failed_reply()
1713 wake_up_interruptible(&target_thread->wait); in binder_send_failed_reply()
1722 target_thread->reply_error.cmd); in binder_send_failed_reply()
1724 binder_inner_proc_unlock(target_thread->proc); in binder_send_failed_reply()
1725 binder_thread_dec_tmpref(target_thread); in binder_send_failed_reply()
1729 __release(&target_thread->proc->inner_lock); in binder_send_failed_reply()
3008 struct binder_thread *target_thread = NULL; in binder_transaction() local
3073 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to); in binder_transaction()
3074 if (target_thread == NULL) { in binder_transaction()
3076 __release(&target_thread->proc->inner_lock); in binder_transaction()
3083 if (target_thread->transaction_stack != in_reply_to) { in binder_transaction()
3086 target_thread->transaction_stack ? in binder_transaction()
3087 target_thread->transaction_stack->debug_id : 0, in binder_transaction()
3089 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3094 target_thread = NULL; in binder_transaction()
3097 target_proc = target_thread->proc; in binder_transaction()
3099 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3220 target_thread = from; in binder_transaction()
3230 if (target_thread) in binder_transaction()
3231 e->to_thread = target_thread->pid; in binder_transaction()
3266 target_proc->pid, target_thread->pid, in binder_transaction()
3289 t->to_thread = target_thread; in binder_transaction()
3695 if (target_thread->is_dead) { in binder_transaction()
3701 binder_pop_transaction_ilocked(target_thread, in_reply_to); in binder_transaction()
3702 binder_enqueue_thread_work_ilocked(target_thread, &t->work); in binder_transaction()
3705 wake_up_interruptible_sync(&target_thread->wait); in binder_transaction()
3723 target_proc, target_thread); in binder_transaction()
3746 if (target_thread) in binder_transaction()
3747 binder_thread_dec_tmpref(target_thread); in binder_transaction()
3807 target_thread ? target_thread->pid : 0, in binder_transaction()
3812 if (target_thread) in binder_transaction()
3813 binder_thread_dec_tmpref(target_thread); in binder_transaction()