Searched refs:refcount_inc_not_zero (Results 1 – 25 of 118) sorted by relevance
12345
76 bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() function109 REFCOUNT_WARN(!refcount_inc_not_zero(r), "refcount_t: increment on 0; use-after-free.\n"); in refcount_inc()
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()
166 if (!refcount_inc_not_zero(&wf->count)) { in intel_wakeref_auto()168 if (!refcount_inc_not_zero(&wf->count)) { in intel_wakeref_auto()
111 return refcount_inc_not_zero(&kref->refcount); in kref_get_unless_zero()
243 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() function
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()
64 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()
122 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()
257 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_get_sock()314 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_iter_next()
54 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in udp_dump_one()207 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in __udp_diag_destroy()
121 if (!refcount_inc_not_zero(&p->refcnt)) in lookup()
76 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()
393 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_xmit_timeout()895 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_handle_cmd()1483 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_open()1487 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()1491 if (refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()1898 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_connect()2045 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_disconnect()2052 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_genl_disconnect()2086 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_reconfigure()2094 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_genl_reconfigure()
24 if (cs && refcount_inc_not_zero(&cs->refcnt)) in comm_str__get()
102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v4()
189 if (cred != NULL && refcount_inc_not_zero(&cred->cr_count)) in get_rpccred()
102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v6()
209 if (permits && !refcount_inc_not_zero(&permits->usage)) in afs_cache_permit()261 if (refcount_inc_not_zero(&xpermits->usage)) { in afs_cache_permit()
183 if (refcount_inc_not_zero(&bf->refcnt[rule_index])) { in mlxsw_sp_acl_bf_entry_add()
102 if (refcount_inc_not_zero(&root->refs)) in btrfs_grab_root()
198 return refcount_inc_not_zero(&ipa->clock->count); in ipa_clock_get_additional()
82 !refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt))) in rds_find_bound()
285 if (refcount_inc_not_zero(&mm->context.pinned)) in arm64_mm_context_get()