Lines Matching refs:target_thread

1410 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,  in binder_pop_transaction_ilocked()  argument
1413 BUG_ON(!target_thread); in binder_pop_transaction_ilocked()
1414 assert_spin_locked(&target_thread->proc->inner_lock); in binder_pop_transaction_ilocked()
1415 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction_ilocked()
1416 BUG_ON(target_thread->transaction_stack->from != target_thread); in binder_pop_transaction_ilocked()
1417 target_thread->transaction_stack = in binder_pop_transaction_ilocked()
1418 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1598 struct binder_thread *target_thread; in binder_send_failed_reply() local
1603 target_thread = binder_get_txn_from_and_acq_inner(t); in binder_send_failed_reply()
1604 if (target_thread) { in binder_send_failed_reply()
1608 target_thread->proc->pid, in binder_send_failed_reply()
1609 target_thread->pid); in binder_send_failed_reply()
1611 binder_pop_transaction_ilocked(target_thread, t); in binder_send_failed_reply()
1612 if (target_thread->reply_error.cmd == BR_OK) { in binder_send_failed_reply()
1613 target_thread->reply_error.cmd = error_code; in binder_send_failed_reply()
1615 target_thread, in binder_send_failed_reply()
1616 &target_thread->reply_error.work); in binder_send_failed_reply()
1617 wake_up_interruptible(&target_thread->wait); in binder_send_failed_reply()
1626 target_thread->reply_error.cmd); in binder_send_failed_reply()
1628 binder_inner_proc_unlock(target_thread->proc); in binder_send_failed_reply()
1629 binder_thread_dec_tmpref(target_thread); in binder_send_failed_reply()
1633 __release(&target_thread->proc->inner_lock); in binder_send_failed_reply()
2888 struct binder_thread *target_thread = NULL; in binder_transaction() local
2953 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to); in binder_transaction()
2954 if (target_thread == NULL) { in binder_transaction()
2956 __release(&target_thread->proc->inner_lock); in binder_transaction()
2963 if (target_thread->transaction_stack != in_reply_to) { in binder_transaction()
2966 target_thread->transaction_stack ? in binder_transaction()
2967 target_thread->transaction_stack->debug_id : 0, in binder_transaction()
2969 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
2974 target_thread = NULL; in binder_transaction()
2977 target_proc = target_thread->proc; in binder_transaction()
2979 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
3100 target_thread = from; in binder_transaction()
3110 if (target_thread) in binder_transaction()
3111 e->to_thread = target_thread->pid; in binder_transaction()
3145 target_proc->pid, target_thread->pid, in binder_transaction()
3166 t->to_thread = target_thread; in binder_transaction()
3572 if (target_thread->is_dead) { in binder_transaction()
3578 binder_pop_transaction_ilocked(target_thread, in_reply_to); in binder_transaction()
3579 binder_enqueue_thread_work_ilocked(target_thread, &t->work); in binder_transaction()
3582 wake_up_interruptible_sync(&target_thread->wait); in binder_transaction()
3600 target_proc, target_thread); in binder_transaction()
3615 if (target_thread) in binder_transaction()
3616 binder_thread_dec_tmpref(target_thread); in binder_transaction()
3676 target_thread ? target_thread->pid : 0, in binder_transaction()
3681 if (target_thread) in binder_transaction()
3682 binder_thread_dec_tmpref(target_thread); in binder_transaction()