Lines Matching refs:strong

424 	int strong;  member
1249 static int binder_inc_node_nilocked(struct binder_node *node, int strong, in binder_inc_node_nilocked() argument
1258 if (strong) { in binder_inc_node_nilocked()
1305 static int binder_inc_node(struct binder_node *node, int strong, int internal, in binder_inc_node() argument
1311 ret = binder_inc_node_nilocked(node, strong, internal, target_list); in binder_inc_node()
1318 int strong, int internal) in binder_dec_node_nilocked() argument
1325 if (strong) { in binder_dec_node_nilocked()
1377 static void binder_dec_node(struct binder_node *node, int strong, int internal) in binder_dec_node() argument
1382 free_node = binder_dec_node_nilocked(node, strong, internal); in binder_dec_node()
1473 } else if (need_strong_ref && !ref->data.strong) { in binder_get_ref_olocked()
1580 if (ref->data.strong) in binder_cleanup_ref_olocked()
1619 static int binder_inc_ref_olocked(struct binder_ref *ref, int strong, in binder_inc_ref_olocked() argument
1624 if (strong) { in binder_inc_ref_olocked()
1625 if (ref->data.strong == 0) { in binder_inc_ref_olocked()
1630 ref->data.strong++; in binder_inc_ref_olocked()
1651 static bool binder_dec_ref_olocked(struct binder_ref *ref, int strong) in binder_dec_ref_olocked() argument
1653 if (strong) { in binder_dec_ref_olocked()
1654 if (ref->data.strong == 0) { in binder_dec_ref_olocked()
1657 ref->data.desc, ref->data.strong, in binder_dec_ref_olocked()
1661 ref->data.strong--; in binder_dec_ref_olocked()
1662 if (ref->data.strong == 0) in binder_dec_ref_olocked()
1663 binder_dec_node(ref->node, strong, 1); in binder_dec_ref_olocked()
1668 ref->data.desc, ref->data.strong, in binder_dec_ref_olocked()
1674 if (ref->data.strong == 0 && ref->data.weak == 0) { in binder_dec_ref_olocked()
1750 uint32_t desc, bool increment, bool strong, in binder_update_ref_for_handle() argument
1758 ref = binder_get_ref_olocked(proc, desc, strong); in binder_update_ref_for_handle()
1764 ret = binder_inc_ref_olocked(ref, strong, NULL); in binder_update_ref_for_handle()
1766 delete_ref = binder_dec_ref_olocked(ref, strong); in binder_update_ref_for_handle()
1793 uint32_t desc, bool strong, struct binder_ref_data *rdata) in binder_dec_ref_for_handle() argument
1795 return binder_update_ref_for_handle(proc, desc, false, strong, rdata); in binder_dec_ref_for_handle()
1814 bool strong, in binder_inc_ref_for_node() argument
1832 ret = binder_inc_ref_olocked(ref, strong, target_list); in binder_inc_ref_for_node()
3327 bool strong = cmd == BC_ACQUIRE || cmd == BC_RELEASE; in binder_thread_write() local
3343 strong, NULL, &rdata); in binder_thread_write()
3348 proc, target, increment, strong, in binder_thread_write()
3373 strong, target, ret); in binder_thread_write()
3379 rdata.debug_id, rdata.desc, rdata.strong, in binder_thread_write()
3628 ref->data.desc, ref->data.strong, in binder_thread_write()
3949 int strong, weak; in binder_thread_read() local
3958 strong = node->internal_strong_refs || in binder_thread_read()
3962 node->tmp_refs || strong; in binder_thread_read()
3971 if (strong && !has_strong_ref) { in binder_thread_read()
3976 if (!strong && has_strong_ref) in binder_thread_read()
3980 if (!weak && !strong) { in binder_thread_read()
4009 if (!ret && strong && !has_strong_ref) in binder_thread_read()
4014 if (!ret && !strong && has_strong_ref) in binder_thread_read()
5213 ref->node->debug_id, ref->data.strong, in print_binder_ref_olocked()
5384 int count, strong, weak, ready_threads; in print_binder_proc_stats() local
5412 strong = 0; in print_binder_proc_stats()
5419 strong += ref->data.strong; in print_binder_proc_stats()
5423 seq_printf(m, " refs: %d s %d w %d\n", count, strong, weak); in print_binder_proc_stats()