Lines Matching refs:target_thread

1411 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,  in binder_pop_transaction_ilocked()  argument
1414 BUG_ON(!target_thread); in binder_pop_transaction_ilocked()
1415 assert_spin_locked(&target_thread->proc->inner_lock); in binder_pop_transaction_ilocked()
1416 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction_ilocked()
1417 BUG_ON(target_thread->transaction_stack->from != target_thread); in binder_pop_transaction_ilocked()
1418 target_thread->transaction_stack = in binder_pop_transaction_ilocked()
1419 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1599 struct binder_thread *target_thread; in binder_send_failed_reply() local
1604 target_thread = binder_get_txn_from_and_acq_inner(t); in binder_send_failed_reply()
1605 if (target_thread) { in binder_send_failed_reply()
1609 target_thread->proc->pid, in binder_send_failed_reply()
1610 target_thread->pid); in binder_send_failed_reply()
1612 binder_pop_transaction_ilocked(target_thread, t); in binder_send_failed_reply()
1613 if (target_thread->reply_error.cmd == BR_OK) { in binder_send_failed_reply()
1614 target_thread->reply_error.cmd = error_code; in binder_send_failed_reply()
1616 target_thread, in binder_send_failed_reply()
1617 &target_thread->reply_error.work); in binder_send_failed_reply()
1618 wake_up_interruptible(&target_thread->wait); in binder_send_failed_reply()
1627 target_thread->reply_error.cmd); in binder_send_failed_reply()
1629 binder_inner_proc_unlock(target_thread->proc); in binder_send_failed_reply()
1630 binder_thread_dec_tmpref(target_thread); in binder_send_failed_reply()
1634 __release(&target_thread->proc->inner_lock); in binder_send_failed_reply()
2911 struct binder_thread *target_thread = NULL; in binder_transaction() local
2977 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to); in binder_transaction()
2978 if (target_thread == NULL) { in binder_transaction()
2980 __release(&target_thread->proc->inner_lock); in binder_transaction()
2987 if (target_thread->transaction_stack != in_reply_to) { in binder_transaction()
2990 target_thread->transaction_stack ? in binder_transaction()
2991 target_thread->transaction_stack->debug_id : 0, in binder_transaction()
2993 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
2998 target_thread = NULL; in binder_transaction()
3001 target_proc = target_thread->proc; in binder_transaction()
3003 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3124 target_thread = from; in binder_transaction()
3134 if (target_thread) in binder_transaction()
3135 e->to_thread = target_thread->pid; in binder_transaction()
3170 target_proc->pid, target_thread->pid, in binder_transaction()
3193 t->to_thread = target_thread; in binder_transaction()
3599 if (target_thread->is_dead) { in binder_transaction()
3605 binder_pop_transaction_ilocked(target_thread, in_reply_to); in binder_transaction()
3606 binder_enqueue_thread_work_ilocked(target_thread, &t->work); in binder_transaction()
3609 wake_up_interruptible_sync(&target_thread->wait); in binder_transaction()
3627 target_proc, target_thread); in binder_transaction()
3650 if (target_thread) in binder_transaction()
3651 binder_thread_dec_tmpref(target_thread); in binder_transaction()
3711 target_thread ? target_thread->pid : 0, in binder_transaction()
3716 if (target_thread) in binder_transaction()
3717 binder_thread_dec_tmpref(target_thread); in binder_transaction()