Searched refs:refcount_inc_not_zero (Results 1 – 20 of 20) sorted by relevance
57 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
111 return refcount_inc_not_zero(&kref->refcount); in kref_get_unless_zero()
138 if (refcount_inc_not_zero(&ns->count)) in get_ipc_ns_not_zero()
243 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() function
392 if (psock && !refcount_inc_not_zero(&psock->refcnt)) in sk_psock_get()
68 return refcount_inc_not_zero(&tsk->stack_refcount) ? in try_get_task_stack()
43 if (n && !refcount_inc_not_zero(&n->refcnt)) in __ipv4_neigh_lookup()
124 return refcount_inc_not_zero(&sap->refcnt); in llc_sap_hold_safe()
96 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) { in reqsk_alloc()
264 if (!refcount_inc_not_zero(&net->count)) in maybe_get_net()
360 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
400 if (n && !refcount_inc_not_zero(&n->refcnt)) in __ipv6_neigh_lookup()
120 return refcount_inc_not_zero(&nh->refcnt); in nexthop_get()
340 return refcount_inc_not_zero(&f6i->fib6_ref); in fib6_info_hold_safe()
139 if (refcount_inc_not_zero(&qdisc->refcnt)) in qdisc_refcount_inc_nz()
378 if (!refcount_inc_not_zero(&opt->refcnt)) in txopt_get()
1232 return refcount_inc_not_zero(&cp->refcnt); in __ip_vs_conn_get()
2291 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in skb_set_owner_sk_safe()
189 if (cred != NULL && refcount_inc_not_zero(&cred->cr_count)) in get_rpccred()
4306 return refcount_inc_not_zero(&dev->refcount); in ib_device_try_get()