/linux-6.14.4/drivers/misc/lkdtm/ |
D | refcount.c | 11 switch (refcount_read(ref)) { in overflow_check() 19 pr_err("Fail: refcount wrapped to %d\n", refcount_read(ref)); in overflow_check() 86 switch (refcount_read(ref)) { in check_zero() 97 pr_err("Fail: refcount went crazy: %d\n", refcount_read(ref)); in check_zero() 126 if (refcount_read(ref) == start) { in check_negative() 132 switch (refcount_read(ref)) { in check_negative() 140 pr_err("Fail: refcount went crazy: %d\n", refcount_read(ref)); in check_negative() 202 switch (refcount_read(ref)) { in check_from_zero() 214 refcount_read(ref)); in check_from_zero() 228 if (refcount_read(&zero) == 0) in lkdtm_REFCOUNT_INC_ZERO() [all …]
|
/linux-6.14.4/tools/perf/tests/ |
D | thread-maps-share.c | 46 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 4); in test__thread_maps_share() 74 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(other_maps)), 2); in test__thread_maps_share() 80 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 3); in test__thread_maps_share() 83 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 2); in test__thread_maps_share() 86 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 1); in test__thread_maps_share() 92 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(other_maps)), 1); in test__thread_maps_share()
|
D | thread-map.c | 43 refcount_read(&map->refcnt) == 1); in test__thread_map() 58 refcount_read(&map->refcnt) == 1); in test__thread_map() 85 refcount_read(&threads->refcnt) == 1); in process_event()
|
D | maps.c | 30 refcount_read(map__refcnt(map)) != 1) { in check_maps_cb() 43 refcount_read(map__refcnt(map))); in failed_cb()
|
D | cpumap.c | 71 TEST_ASSERT_VAL("wrong refcnt", refcount_read(perf_cpu_map__refcnt(map)) == 1); in process_event_cpus() 97 TEST_ASSERT_VAL("wrong refcnt", refcount_read(perf_cpu_map__refcnt(map)) == 1); in process_event_range_cpus() 177 refcount_read(perf_cpu_map__refcnt(a)) == 1); in __test__cpu_map_merge()
|
/linux-6.14.4/net/rxrpc/ |
D | skbuff.c | 25 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_new_skb() 35 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_see_skb() 45 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_get_skb() 65 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, why); in rxrpc_free_skb() 79 trace_rxrpc_skb(skb, refcount_read(&skb->users), n, in rxrpc_purge_queue()
|
D | call_object.c | 114 _leave(" = %p [%d]", call, refcount_read(&call->ref)); in rxrpc_find_call_by_user_ID() 237 trace_rxrpc_call(call->debug_id, refcount_read(&call->ref), in rxrpc_alloc_client_call() 414 trace_rxrpc_call(call->debug_id, refcount_read(&call->ref), 0, in rxrpc_new_client_call() 427 trace_rxrpc_call(call->debug_id, refcount_read(&call->ref), ret, in rxrpc_new_client_call() 503 int r = refcount_read(&call->ref); in rxrpc_see_call() 566 _enter("{%d,%d}", call->debug_id, refcount_read(&call->ref)); in rxrpc_release_call() 568 trace_rxrpc_call(call->debug_id, refcount_read(&call->ref), in rxrpc_release_call() 748 call, refcount_read(&call->ref), in rxrpc_destroy_all_calls()
|
D | conn_object.c | 110 if (!conn || refcount_read(&conn->ref) == 0) { in rxrpc_find_client_connection_rcu() 236 int r = refcount_read(&conn->ref); in rxrpc_see_connection() 292 _enter("{%d,u=%d}", conn->debug_id, refcount_read(&conn->ref)); in rxrpc_rcu_free_connection() 294 trace_rxrpc_conn(conn->debug_id, refcount_read(&conn->ref), in rxrpc_rcu_free_connection() 480 conn, refcount_read(&conn->ref)); in rxrpc_destroy_all_connections()
|
D | proc.c | 92 refcount_read(&call->ref), in rxrpc_call_seq_show() 178 refcount_read(&conn->ref), in rxrpc_connection_seq_show() 253 refcount_read(&bundle->ref), in rxrpc_bundle_seq_show() 302 refcount_read(&peer->ref), in rxrpc_peer_seq_show() 420 refcount_read(&local->ref), in rxrpc_local_seq_show()
|
D | peer_object.c | 126 refcount_read(&peer->ref) > 0) in __rxrpc_lookup_peer_rcu() 144 _leave(" = %p {u=%d}", peer, refcount_read(&peer->ref)); in rxrpc_lookup_peer_rcu() 383 _leave(" = %p {u=%d}", peer, refcount_read(&peer->ref)); in rxrpc_lookup_peer() 466 refcount_read(&peer->ref), in rxrpc_destroy_all_peers()
|
/linux-6.14.4/fs/netfs/ |
D | fscache_cache.c | 119 refcount_read(&candidate->ref), in fscache_lookup_cache() 249 trace_fscache_access_cache(cache->debug_id, refcount_read(&cache->ref), in fscache_add_cache() 298 trace_fscache_access_cache(cache->debug_id, refcount_read(&cache->ref), in fscache_begin_cache_access() 321 trace_fscache_access_cache(cache->debug_id, refcount_read(&cache->ref), in fscache_end_cache_access() 366 trace_fscache_access_cache(cache->debug_id, refcount_read(&cache->ref), in fscache_withdraw_cache() 396 refcount_read(&cache->ref), in fscache_caches_seq_show()
|
D | fscache_cookie.c | 106 trace_fscache_access(cookie->debug_id, refcount_read(&cookie->ref), in fscache_init_access_gate() 128 trace_fscache_access(cookie->debug_id, refcount_read(&cookie->ref), in fscache_end_cookie_access() 148 trace_fscache_access(cookie->debug_id, refcount_read(&cookie->ref), in __fscache_begin_cookie_access() 266 trace_fscache_cookie(cookie->debug_id, refcount_read(&cookie->ref), in fscache_caching_failed() 435 trace_fscache_cookie(cursor->debug_id, refcount_read(&cursor->ref), in fscache_hash_cookie() 584 trace_fscache_active(cookie->debug_id, refcount_read(&cookie->ref), in __fscache_use_cookie() 669 unsigned int r = refcount_read(&cookie->ref); in __fscache_unuse_cookie() 684 r = refcount_read(&cookie->ref); in __fscache_unuse_cookie() 854 trace_fscache_access(cookie->debug_id, refcount_read(&cookie->ref), in __fscache_withdraw_cookie() 1131 refcount_read(&cookie->ref), in fscache_cookies_seq_show()
|
D | fscache_volume.c | 46 int ref = refcount_read(&volume->ref); in fscache_see_volume() 63 refcount_read(&volume->ref), in __fscache_begin_volume_access() 128 refcount_read(&volume->ref), in fscache_end_volume_access() 473 refcount_read(&volume->ref), in fscache_withdraw_volume() 500 refcount_read(&volume->ref), in fscache_volumes_seq_show()
|
D | internal.h | 82 trace_netfs_rreq_ref(rreq->debug_id, refcount_read(&rreq->ref), what); in netfs_see_request() 89 refcount_read(&subreq->ref), what); in netfs_see_subrequest() 308 trace_fscache_cookie(cookie->debug_id, refcount_read(&cookie->ref), in fscache_see_cookie()
|
/linux-6.14.4/drivers/gpu/drm/i915/display/ |
D | intel_dmc_wl.c | 149 WARN_ON(refcount_read(&wl->refcount)); in __intel_dmc_wl_release() 169 if (refcount_read(&wl->refcount)) in intel_dmc_wl_work() 337 if (refcount_read(&wl->refcount)) in intel_dmc_wl_enable() 436 if (WARN_RATELIMIT(!refcount_read(&wl->refcount), in intel_dmc_wl_put()
|
/linux-6.14.4/drivers/media/common/videobuf2/ |
D | videobuf2-memops.c | 95 __func__, h, refcount_read(h->refcount), vma->vm_start, in vb2_common_vm_open() 113 __func__, h, refcount_read(h->refcount), vma->vm_start, in vb2_common_vm_close()
|
/linux-6.14.4/fs/afs/ |
D | cell.c | 292 trace_afs_cell(cell->debug_id, refcount_read(&cell->ref), 2, afs_cell_trace_insert); in afs_lookup_cell() 300 trace_afs_cell(cell->debug_id, refcount_read(&cell->ref), atomic_read(&cell->active), in afs_lookup_cell() 509 r = refcount_read(&cell->ref); in afs_cell_destroy() 590 r = refcount_read(&cell->ref); in afs_use_cell() 619 r = refcount_read(&cell->ref); in afs_unuse_cell() 635 r = refcount_read(&cell->ref); in afs_see_cell() 752 trace_afs_cell(cell->debug_id, refcount_read(&cell->ref), 0, in afs_manage_cell() 879 trace_afs_cell(cell->debug_id, refcount_read(&cell->ref), in afs_manage_cells() 887 trace_afs_cell(cell->debug_id, refcount_read(&cell->ref), in afs_manage_cells()
|
D | server.c | 238 trace_afs_estate(estate->server_id, estate->probe_seq, refcount_read(&estate->ref), in afs_alloc_server() 443 trace_afs_server(server->debug_id, refcount_read(&server->ref), in afs_server_rcu() 491 trace_afs_server(server->debug_id, refcount_read(&server->ref), in afs_gc_servers() 555 trace_afs_server(server->debug_id, refcount_read(&server->ref), in afs_manage_servers() 638 trace_afs_server(server->debug_id, refcount_read(&server->ref), in afs_update_server_record()
|
/linux-6.14.4/tools/lib/perf/ |
D | mmap.c | 77 BUG_ON(map->base && refcount_read(&map->refcnt) == 0); in perf_mmap__put() 108 if (refcount_read(&map->refcnt) == 1 && perf_mmap__empty(map)) in perf_mmap__consume() 186 if (!refcount_read(&map->refcnt)) in perf_mmap__read_init() 203 if (!refcount_read(&map->refcnt)) in perf_mmap__read_done() 279 if (!refcount_read(&map->refcnt)) in perf_mmap__read_event()
|
/linux-6.14.4/include/linux/ |
D | refcount.h | 134 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read() function 142 int old = refcount_read(r); in __refcount_add_not_zero()
|
/linux-6.14.4/kernel/cgroup/ |
D | debug.c | 54 refcnt = refcount_read(&cset->refcount); in current_css_set_read() 82 count = refcount_read(&task_css_set(current)->refcount); in current_css_set_refcount_read() 126 int refcnt = refcount_read(&cset->refcount); in cgroup_css_links_read()
|
/linux-6.14.4/net/ipv4/ |
D | inet_timewait_sock.c | 184 if (refcount_read(&dr->tw_refcount) - 1 >= in inet_twsk_alloc() 335 if (refcount_read(&sock_net(sk)->ns.count)) in inet_twsk_purge() 341 if (refcount_read(&sock_net(sk)->ns.count)) { in inet_twsk_purge()
|
/linux-6.14.4/net/l2tp/ |
D | l2tp_debugfs.c | 164 tunnel->sock ? refcount_read(&tunnel->sock->sk_refcnt) : 0, in l2tp_dfs_seq_tunnel_show() 165 refcount_read(&tunnel->ref_count)); in l2tp_dfs_seq_tunnel_show() 187 seq_printf(m, " refcnt %d\n", refcount_read(&session->ref_count)); in l2tp_dfs_seq_session_show()
|
/linux-6.14.4/tools/perf/util/ |
D | comm.c | 71 if (refcount_read(comm_str__refcnt(cs)) == 1) in comm_str__put() 108 if (refcount_read(comm_str__refcnt(cs)) == 1) { in comm_strs__remove_if_last()
|
/linux-6.14.4/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-core.c | 388 if (refcount_read(&mdp->job_count)) { in mdp_suspend() 390 !refcount_read(&mdp->job_count), in mdp_suspend() 395 __func__, refcount_read(&mdp->job_count)); in mdp_suspend()
|