Lines Matching refs:strong

923 static int binder_inc_node_nilocked(struct binder_node *node, int strong,  in binder_inc_node_nilocked()  argument
932 if (strong) { in binder_inc_node_nilocked()
972 static int binder_inc_node(struct binder_node *node, int strong, int internal, in binder_inc_node() argument
978 ret = binder_inc_node_nilocked(node, strong, internal, target_list); in binder_inc_node()
985 int strong, int internal) in binder_dec_node_nilocked() argument
992 if (strong) { in binder_dec_node_nilocked()
1044 static void binder_dec_node(struct binder_node *node, int strong, int internal) in binder_dec_node() argument
1049 free_node = binder_dec_node_nilocked(node, strong, internal); in binder_dec_node()
1144 } else if (need_strong_ref && !ref->data.strong) { in binder_get_ref_olocked()
1252 if (ref->data.strong) in binder_cleanup_ref_olocked()
1291 static int binder_inc_ref_olocked(struct binder_ref *ref, int strong, in binder_inc_ref_olocked() argument
1296 if (strong) { in binder_inc_ref_olocked()
1297 if (ref->data.strong == 0) { in binder_inc_ref_olocked()
1302 ref->data.strong++; in binder_inc_ref_olocked()
1323 static bool binder_dec_ref_olocked(struct binder_ref *ref, int strong) in binder_dec_ref_olocked() argument
1325 if (strong) { in binder_dec_ref_olocked()
1326 if (ref->data.strong == 0) { in binder_dec_ref_olocked()
1329 ref->data.desc, ref->data.strong, in binder_dec_ref_olocked()
1333 ref->data.strong--; in binder_dec_ref_olocked()
1334 if (ref->data.strong == 0) in binder_dec_ref_olocked()
1335 binder_dec_node(ref->node, strong, 1); in binder_dec_ref_olocked()
1340 ref->data.desc, ref->data.strong, in binder_dec_ref_olocked()
1346 if (ref->data.strong == 0 && ref->data.weak == 0) { in binder_dec_ref_olocked()
1423 uint32_t desc, bool increment, bool strong, in binder_update_ref_for_handle() argument
1431 ref = binder_get_ref_olocked(proc, desc, strong); in binder_update_ref_for_handle()
1437 ret = binder_inc_ref_olocked(ref, strong, NULL); in binder_update_ref_for_handle()
1439 delete_ref = binder_dec_ref_olocked(ref, strong); in binder_update_ref_for_handle()
1466 uint32_t desc, bool strong, struct binder_ref_data *rdata) in binder_dec_ref_for_handle() argument
1468 return binder_update_ref_for_handle(proc, desc, false, strong, rdata); in binder_dec_ref_for_handle()
1487 bool strong, in binder_inc_ref_for_node() argument
1505 ret = binder_inc_ref_olocked(ref, strong, target_list); in binder_inc_ref_for_node()
3865 bool strong = cmd == BC_ACQUIRE || cmd == BC_RELEASE; in binder_thread_write() local
3881 strong, NULL, &rdata); in binder_thread_write()
3886 proc, target, increment, strong, in binder_thread_write()
3911 strong, target, ret); in binder_thread_write()
3917 rdata.debug_id, rdata.desc, rdata.strong, in binder_thread_write()
4145 ref->data.desc, ref->data.strong, in binder_thread_write()
4541 int strong, weak; in binder_thread_read() local
4550 strong = node->internal_strong_refs || in binder_thread_read()
4554 node->tmp_refs || strong; in binder_thread_read()
4563 if (strong && !has_strong_ref) { in binder_thread_read()
4568 if (!strong && has_strong_ref) in binder_thread_read()
4572 if (!weak && !strong) { in binder_thread_read()
4601 if (!ret && strong && !has_strong_ref) in binder_thread_read()
4606 if (!ret && !strong && has_strong_ref) in binder_thread_read()
6154 ref->node->debug_id, ref->data.strong, in print_binder_ref_olocked()
6330 int count, strong, weak, ready_threads; in print_binder_proc_stats() local
6358 strong = 0; in print_binder_proc_stats()
6365 strong += ref->data.strong; in print_binder_proc_stats()
6369 seq_printf(m, " refs: %d s %d w %d\n", count, strong, weak); in print_binder_proc_stats()