Home
last modified time | relevance | path

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

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

Completed in 882 milliseconds