Lines Matching defs:target_thread
1502 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,
1505 BUG_ON(!target_thread);
1506 assert_spin_locked(&target_thread->proc->inner_lock);
1507 BUG_ON(target_thread->transaction_stack != t);
1508 BUG_ON(target_thread->transaction_stack->from != target_thread);
1509 target_thread->transaction_stack =
1510 target_thread->transaction_stack->from_parent;
1689 struct binder_thread *target_thread;
1694 target_thread = binder_get_txn_from_and_acq_inner(t);
1695 if (target_thread) {
1699 target_thread->proc->pid,
1700 target_thread->pid);
1702 binder_pop_transaction_ilocked(target_thread, t);
1703 if (target_thread->reply_error.cmd == BR_OK) {
1704 target_thread->reply_error.cmd = error_code;
1706 target_thread,
1707 &target_thread->reply_error.work);
1708 wake_up_interruptible(&target_thread->wait);
1717 target_thread->reply_error.cmd);
1719 binder_inner_proc_unlock(target_thread->proc);
1720 binder_thread_dec_tmpref(target_thread);
1724 __release(&target_thread->proc->inner_lock);
3070 struct binder_thread *target_thread = NULL;
3159 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to);
3160 if (target_thread == NULL) {
3162 __release(&target_thread->proc->inner_lock);
3169 if (target_thread->transaction_stack != in_reply_to) {
3172 target_thread->transaction_stack ?
3173 target_thread->transaction_stack->debug_id : 0,
3175 binder_inner_proc_unlock(target_thread->proc);
3180 target_thread = NULL;
3183 target_proc = target_thread->proc;
3185 binder_inner_proc_unlock(target_thread->proc);
3304 target_thread = from;
3316 t->to_thread = target_thread;
3317 if (target_thread)
3318 e->to_thread = target_thread->pid;
3336 target_proc->pid, target_thread->pid,
3750 if (target_thread->is_dead) {
3756 binder_pop_transaction_ilocked(target_thread, in_reply_to);
3757 binder_enqueue_thread_work_ilocked(target_thread, &t->work);
3760 wake_up_interruptible_sync(&target_thread->wait);
3777 target_proc, target_thread);
3811 if (target_thread)
3812 binder_thread_dec_tmpref(target_thread);
3875 target_thread ? target_thread->pid : 0,
3880 if (target_thread)
3881 binder_thread_dec_tmpref(target_thread);