Lines Matching defs:weak
287 * @local_weak_refs: weak user refs from local process
309 * @has_weak_ref: userspace notified of weak ref
312 * @pending_weak_ref: userspace has acked notification of weak ref
381 * @weak: weak ref count (debugging only if not locked)
392 int weak;
1121 * take an implicit weak reference
1262 pr_err("invalid inc weak node for %d\n",
1448 binder_user_error("tried to use weak ref as strong ref\n");
1586 * @strong: if true, strong increment, else weak
1606 if (ref->data.weak == 0) {
1611 ref->data.weak++;
1619 * @strong: if true, strong decrement, else weak
1632 ref->data.weak);
1639 if (ref->data.weak == 0) {
1640 binder_user_error("%d invalid dec weak, ref %d desc %d s %d w %d\n",
1643 ref->data.weak);
1646 ref->data.weak--;
1648 if (ref->data.strong == 0 && ref->data.weak == 0) {
1715 * @strong: true=strong reference, false=weak reference
1759 * @strong: true=strong reference, false=weak reference
1777 * @strong: true=strong reference, false=weak reference
4123 rdata.weak);
4350 ref->data.weak, ref->node->debug_id);
4737 int strong, weak;
4748 weak = !hlist_empty(&node->refs) ||
4754 if (weak && !has_weak_ref) {
4766 if (!weak && has_weak_ref)
4768 if (!weak && !strong) {
4792 if (weak && !has_weak_ref)
4807 if (!ret && !weak && has_weak_ref)
6230 ref->data.weak, ref->death);
6403 int count, strong, weak, ready_threads;
6432 weak = 0;
6439 weak += ref->data.weak;
6442 seq_printf(m, " refs: %d s %d w %d\n", count, strong, weak);