Home
last modified time | relevance | path

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

123456

/linux/tools/include/linux/
A Drefcount.h76 bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() function
109 REFCOUNT_WARN(!refcount_inc_not_zero(r), "refcount_t: increment on 0; use-after-free.\n"); in refcount_inc()
/linux/drivers/misc/lkdtm/
A Drefcount.c66 if (!refcount_inc_not_zero(&over)) in lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW()
211 if (!refcount_inc_not_zero(&zero)) { in lkdtm_REFCOUNT_INC_ZERO()
308 if (!refcount_inc_not_zero(&sat)) in lkdtm_REFCOUNT_INC_NOT_ZERO_SATURATED()
/linux/drivers/gpu/drm/i915/
A Dintel_wakeref.c166 if (!refcount_inc_not_zero(&wf->count)) { in intel_wakeref_auto()
168 if (!refcount_inc_not_zero(&wf->count)) { in intel_wakeref_auto()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
A Dengine.c57 if (!refcount_inc_not_zero(&engine->use.refcount)) { in nvkm_engine_ref()
59 if (!refcount_inc_not_zero(&engine->use.refcount)) { in nvkm_engine_ref()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
A Dnv50.c224 if (refcount_inc_not_zero(&iobj->maps)) in nv50_instobj_acquire()
231 if (refcount_inc_not_zero(&iobj->maps)) { in nv50_instobj_acquire()
243 if (!refcount_inc_not_zero(&iobj->maps)) { in nv50_instobj_acquire()
/linux/include/linux/
A Dkref.h111 return refcount_inc_not_zero(&kref->refcount); in kref_get_unless_zero()
A Dipc_namespace.h137 if (refcount_inc_not_zero(&ns->ns.count)) in get_ipc_ns_not_zero()
A Drefcount.h243 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() function
/linux/include/linux/sched/
A Dtask_stack.h68 return refcount_inc_not_zero(&tsk->stack_refcount) ? in try_get_task_stack()
/linux/net/mptcp/
A Dtoken.c259 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_get_sock()
318 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_iter_next()
/linux/drivers/block/
A Dnbd.c412 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_xmit_timeout()
965 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_handle_cmd()
1545 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_open()
1549 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()
1553 if (refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()
1856 if (refcount_inc_not_zero(&nbd->refs)) in nbd_find_get_unused()
1937 !refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_connect()
2120 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_disconnect()
2127 if (!refcount_inc_not_zero(&nbd->config_refs)) in nbd_genl_disconnect()
2176 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_reconfigure()
[all …]
/linux/net/ipv4/
A Dudp_diag.c54 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in udp_dump_one()
205 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in __udp_diag_destroy()
/linux/Documentation/translations/zh_CN/core-api/
A Drefcount-vs-atomic.rst108 * atomic_inc_not_zero() --> refcount_inc_not_zero()
/linux/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()
/linux/net/ipv6/
A Dinet6_hashtables.c76 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt))) in __inet6_lookup_established()
240 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
/linux/include/linux/can/
A Dskb.h74 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
/linux/arch/x86/kvm/mmu/
A Dtdp_mmu.h16 return refcount_inc_not_zero(&root->tdp_mmu_root_count); in kvm_tdp_mmu_get_root()
/linux/tools/perf/util/
A Dcomm.c24 if (cs && refcount_inc_not_zero(&cs->refcnt)) in comm_str__get()
/linux/net/ipv4/netfilter/
A Dnf_tproxy_ipv4.c102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v4()
/linux/fs/afs/
A Dsecurity.c209 if (permits && !refcount_inc_not_zero(&permits->usage)) in afs_cache_permit()
261 if (refcount_inc_not_zero(&xpermits->usage)) { in afs_cache_permit()
/linux/include/linux/sunrpc/
A Dauth.h189 if (cred != NULL && refcount_inc_not_zero(&cred->cr_count)) in get_rpccred()
/linux/net/ipv6/netfilter/
A Dnf_tproxy_ipv6.c102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v6()
/linux/fs/btrfs/
A Ddisk-io.h101 if (refcount_inc_not_zero(&root->refs)) in btrfs_grab_root()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl_bloom_filter.c183 if (refcount_inc_not_zero(&bf->refcnt[rule_index])) { in mlxsw_sp_acl_bf_entry_add()

Completed in 45 milliseconds

123456