Home
last modified time | relevance | path

Searched refs:refcount_inc_not_zero (Results 1 – 23 of 23) sorted by relevance

/include/linux/
Dkref.h111 return refcount_inc_not_zero(&kref->refcount); in kref_get_unless_zero()
Dshrinker.h141 return refcount_inc_not_zero(&shrinker->refcount); in shrinker_try_get()
Dipc_namespace.h145 if (refcount_inc_not_zero(&ns->ns.count)) in get_ipc_ns_not_zero()
Drefcount.h333 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() function
Dskmsg.h462 if (psock && !refcount_inc_not_zero(&psock->refcnt)) in sk_psock_get()
/include/linux/sched/
Dtask_stack.h70 return refcount_inc_not_zero(&tsk->stack_refcount) ? in try_get_task_stack()
Dtask.h129 return refcount_inc_not_zero(&t->usage) ? t : NULL; in tryget_task_struct()
/include/net/
Darp.h43 if (n && !refcount_inc_not_zero(&n->refcnt)) in __ipv4_neigh_lookup()
Dllc.h124 return refcount_inc_not_zero(&sap->refcnt); in llc_sap_hold_safe()
Dnet_namespace.h270 if (!refcount_inc_not_zero(&net->ns.count)) in maybe_get_net()
Dndisc.h385 if (n && !refcount_inc_not_zero(&n->refcnt)) in __ipv6_neigh_lookup()
Daddrconf.h461 return refcount_inc_not_zero(&ifp->refcnt); in in6_ifa_hold_safe()
Dnexthop.h264 return refcount_inc_not_zero(&nh->refcnt); in nexthop_get()
Dinet_hashtables.h442 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
Dip6_fib.h346 return refcount_inc_not_zero(&f6i->fib6_ref); in fib6_info_hold_safe()
Dsch_generic.h162 if (refcount_inc_not_zero(&qdisc->refcnt)) in qdisc_refcount_inc_nz()
Dipv6.h383 if (!refcount_inc_not_zero(&opt->refcnt)) in txopt_get()
Dip_vs.h1342 return refcount_inc_not_zero(&cp->refcnt); in __ip_vs_conn_get()
Dsock.h2386 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in skb_set_owner_sk_safe()
/include/linux/can/
Dskb.h80 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
/include/linux/sunrpc/
Dauth.h192 if (cred != NULL && refcount_inc_not_zero(&cred->cr_count)) in get_rpccred()
/include/net/9p/
Dclient.h238 return refcount_inc_not_zero(&r->refcount); in p9_req_try_get()
/include/rdma/
Dib_verbs.h4452 return refcount_inc_not_zero(&dev->refcount); in ib_device_try_get()