| /OK3568_Linux_fs/kernel/tools/include/linux/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/misc/lkdtm/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | intel_wakeref.c | 166 if (!refcount_inc_not_zero(&wf->count)) { in intel_wakeref_auto() 168 if (!refcount_inc_not_zero(&wf->count)) { in intel_wakeref_auto()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/include/linux/can/ |
| H A D | skb.h | 57 if (sk && refcount_inc_not_zero(&sk->sk_refcnt)) { in can_skb_set_owner()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_refcount_defs.h | 52 #define kbase_refcount_inc_not_zero(x) refcount_inc_not_zero(x)
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kref.h | 111 return refcount_inc_not_zero(&kref->refcount); in kref_get_unless_zero()
|
| H A D | ipc_namespace.h | 138 if (refcount_inc_not_zero(&ns->count)) in get_ipc_ns_not_zero()
|
| H A D | refcount.h | 243 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() function
|
| /OK3568_Linux_fs/kernel/net/mptcp/ |
| H A D | token.c | 260 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_get_sock() 319 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in mptcp_token_iter_next()
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_queue.c | 107 if (state->sk && !refcount_inc_not_zero(&state->sk->sk_refcnt)) in nf_queue_entry_get_refs() 196 if (!refcount_inc_not_zero(&sk->sk_refcnt)) in __nf_queue()
|
| /OK3568_Linux_fs/kernel/include/linux/sched/ |
| H A D | task_stack.h | 68 return refcount_inc_not_zero(&tsk->stack_refcount) ? in try_get_task_stack()
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | nbd.c | 392 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_xmit_timeout() 902 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_handle_cmd() 1505 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_open() 1509 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open() 1513 if (refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open() 1921 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_connect() 2084 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_disconnect() 2091 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_genl_disconnect() 2125 if (!refcount_inc_not_zero(&nbd->refs)) { in nbd_genl_reconfigure() 2133 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_genl_reconfigure()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | udp_diag.c | 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()
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | arp.h | 43 if (n && !refcount_inc_not_zero(&n->refcnt)) in __ipv4_neigh_lookup()
|
| H A D | llc.h | 124 return refcount_inc_not_zero(&sap->refcnt); in llc_sap_hold_safe()
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | inet6_hashtables.c | 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()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | comm.c | 24 if (cs && refcount_inc_not_zero(&cs->refcnt)) in comm_str__get()
|
| /OK3568_Linux_fs/kernel/fs/afs/ |
| H A D | security.c | 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()
|
| /OK3568_Linux_fs/kernel/net/ipv4/netfilter/ |
| H A D | nf_tproxy_ipv4.c | 102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v4()
|
| /OK3568_Linux_fs/kernel/include/linux/sunrpc/ |
| H A D | auth.h | 189 if (cred != NULL && refcount_inc_not_zero(&cred->cr_count)) in get_rpccred()
|
| /OK3568_Linux_fs/kernel/net/ipv6/netfilter/ |
| H A D | nf_tproxy_ipv6.c | 102 if (sk && !refcount_inc_not_zero(&sk->sk_refcnt)) in nf_tproxy_get_sock_v6()
|
| /OK3568_Linux_fs/kernel/fs/crypto/ |
| H A D | keyring.c | 299 refcount_inc_not_zero(&mk->mk_struct_refs)) in fscrypt_find_master_key() 310 refcount_inc_not_zero(&mk->mk_struct_refs)) in fscrypt_find_master_key() 483 if (!refcount_inc_not_zero(&mk->mk_active_refs)) in add_existing_master_key()
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | disk-io.h | 102 if (refcount_inc_not_zero(&root->refs)) in btrfs_grab_root()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_acl_bloom_filter.c | 183 if (refcount_inc_not_zero(&bf->refcnt[rule_index])) { in mlxsw_sp_acl_bf_entry_add()
|