Lines Matching refs:target_thread

1347 static void binder_pop_transaction_ilocked(struct binder_thread *target_thread,  in binder_pop_transaction_ilocked()  argument
1350 BUG_ON(!target_thread); in binder_pop_transaction_ilocked()
1351 assert_spin_locked(&target_thread->proc->inner_lock); in binder_pop_transaction_ilocked()
1352 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction_ilocked()
1353 BUG_ON(target_thread->transaction_stack->from != target_thread); in binder_pop_transaction_ilocked()
1354 target_thread->transaction_stack = in binder_pop_transaction_ilocked()
1355 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1533 struct binder_thread *target_thread; in binder_send_failed_reply() local
1538 target_thread = binder_get_txn_from_and_acq_inner(t); in binder_send_failed_reply()
1539 if (target_thread) { in binder_send_failed_reply()
1543 target_thread->proc->pid, in binder_send_failed_reply()
1544 target_thread->pid); in binder_send_failed_reply()
1546 binder_pop_transaction_ilocked(target_thread, t); in binder_send_failed_reply()
1547 if (target_thread->reply_error.cmd == BR_OK) { in binder_send_failed_reply()
1548 target_thread->reply_error.cmd = error_code; in binder_send_failed_reply()
1550 target_thread, in binder_send_failed_reply()
1551 &target_thread->reply_error.work); in binder_send_failed_reply()
1552 wake_up_interruptible(&target_thread->wait); in binder_send_failed_reply()
1561 target_thread->reply_error.cmd); in binder_send_failed_reply()
1563 binder_inner_proc_unlock(target_thread->proc); in binder_send_failed_reply()
1564 binder_thread_dec_tmpref(target_thread); in binder_send_failed_reply()
1568 __release(&target_thread->proc->inner_lock); in binder_send_failed_reply()
2460 struct binder_thread *target_thread = NULL; in binder_transaction() local
2515 target_thread = binder_get_txn_from_and_acq_inner(in_reply_to); in binder_transaction()
2516 if (target_thread == NULL) { in binder_transaction()
2518 __release(&target_thread->proc->inner_lock); in binder_transaction()
2523 if (target_thread->transaction_stack != in_reply_to) { in binder_transaction()
2526 target_thread->transaction_stack ? in binder_transaction()
2527 target_thread->transaction_stack->debug_id : 0, in binder_transaction()
2529 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
2534 target_thread = NULL; in binder_transaction()
2537 target_proc = target_thread->proc; in binder_transaction()
2539 binder_inner_proc_unlock(target_thread->proc); in binder_transaction()
2654 target_thread = from; in binder_transaction()
2664 if (target_thread) in binder_transaction()
2665 e->to_thread = target_thread->pid; in binder_transaction()
2695 target_proc->pid, target_thread->pid, in binder_transaction()
2716 t->to_thread = target_thread; in binder_transaction()
3050 if (target_thread->is_dead) { in binder_transaction()
3056 binder_pop_transaction_ilocked(target_thread, in_reply_to); in binder_transaction()
3057 binder_enqueue_thread_work_ilocked(target_thread, &t->work); in binder_transaction()
3060 wake_up_interruptible_sync(&target_thread->wait); in binder_transaction()
3078 target_proc, target_thread); in binder_transaction()
3093 if (target_thread) in binder_transaction()
3094 binder_thread_dec_tmpref(target_thread); in binder_transaction()
3141 if (target_thread) in binder_transaction()
3142 binder_thread_dec_tmpref(target_thread); in binder_transaction()