/Linux-v6.6/tools/include/linux/ |
D | refcount.h | 76 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-v6.6/drivers/misc/lkdtm/ |
D | refcount.c | 66 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-v6.6/drivers/gpu/drm/i915/ |
D | intel_wakeref.c | 167 if (!refcount_inc_not_zero(&wf->count)) { in intel_wakeref_auto() 169 if (!refcount_inc_not_zero(&wf->count)) { in intel_wakeref_auto()
|
/Linux-v6.6/include/linux/ |
D | kref.h | 111 return refcount_inc_not_zero(&kref->refcount); in kref_get_unless_zero()
|
D | ipc_namespace.h | 145 if (refcount_inc_not_zero(&ns->ns.count)) in get_ipc_ns_not_zero()
|
D | refcount.h | 243 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() function
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | uchan.c | 110 if (!refcount_inc_not_zero(&cctx->uses)) { in nvkm_uchan_object_init_0() 112 if (!refcount_inc_not_zero(&cctx->uses)) { in nvkm_uchan_object_init_0() 113 if (!refcount_inc_not_zero(&ectx->uses)) { in nvkm_uchan_object_init_0()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 224 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-v6.6/drivers/gpu/drm/nouveau/nvkm/core/ |
D | subdev.c | 199 if (subdev && !refcount_inc_not_zero(&subdev->use.refcount)) { in nvkm_subdev_ref() 201 if (!refcount_inc_not_zero(&subdev->use.refcount)) { in nvkm_subdev_ref()
|
/Linux-v6.6/include/linux/sched/ |
D | task_stack.h | 68 return refcount_inc_not_zero(&tsk->stack_refcount) ? in try_get_task_stack()
|
/Linux-v6.6/net/netfilter/ |
D | nf_queue.c | 103 if (state->sk && !refcount_inc_not_zero(&state->sk->sk_refcnt)) in nf_queue_entry_get_refs() 187 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in __nf_queue()
|
/Linux-v6.6/Documentation/translations/zh_CN/core-api/ |
D | refcount-vs-atomic.rst | 108 * atomic_inc_not_zero() --> refcount_inc_not_zero()
|
/Linux-v6.6/include/net/ |
D | arp.h | 43 if (n && !refcount_inc_not_zero(&n->refcnt)) in __ipv4_neigh_lookup()
|
D | llc.h | 124 return refcount_inc_not_zero(&sap->refcnt); in llc_sap_hold_safe()
|
/Linux-v6.6/arch/x86/kvm/mmu/ |
D | tdp_mmu.h | 17 return refcount_inc_not_zero(&root->tdp_mmu_root_count); in kvm_tdp_mmu_get_root()
|
/Linux-v6.6/net/ipv4/ |
D | udp_diag.c | 54 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-v6.6/net/mptcp/ |
D | token.c | 263 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_get_sock() 322 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_iter_next()
|
/Linux-v6.6/drivers/block/ |
D | nbd.c | 413 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_xmit_timeout() 981 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_handle_cmd() 1566 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_open() 1570 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open() 1574 if (refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open() 1867 if (refcount_inc_not_zero(&nbd->refs)) in nbd_find_get_unused() 1959 !refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_connect() 2143 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_disconnect() 2149 if (!refcount_inc_not_zero(&nbd->config_refs)) in nbd_genl_disconnect() 2197 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_reconfigure() [all …]
|
/Linux-v6.6/net/ipv6/ |
D | inet6_hashtables.c | 75 if (unlikely(!refcount_inc_not_zero(&sk->sk_refcnt))) in __inet6_lookup_established() 258 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
|
/Linux-v6.6/tools/perf/util/ |
D | comm.c | 24 if (cs && refcount_inc_not_zero(&cs->refcnt)) in comm_str__get()
|
/Linux-v6.6/include/linux/can/ |
D | skb.h | 80 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
|
/Linux-v6.6/net/ipv4/netfilter/ |
D | nf_tproxy_ipv4.c | 101 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v4()
|
/Linux-v6.6/include/linux/sunrpc/ |
D | auth.h | 192 if (cred != NULL && refcount_inc_not_zero(&cred->cr_count)) in get_rpccred()
|
/Linux-v6.6/fs/btrfs/ |
D | disk-io.h | 101 if (refcount_inc_not_zero(&root->refs)) in btrfs_grab_root()
|
/Linux-v6.6/net/ipv6/netfilter/ |
D | nf_tproxy_ipv6.c | 103 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v6()
|