Home
last modified time | relevance | path

Searched refs:n_accesses (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/fs/fscache/
Dcache.c238 int n_accesses; in fscache_add_cache() local
248 n_accesses = atomic_inc_return(&cache->n_accesses); in fscache_add_cache()
250 n_accesses, fscache_access_cache_pin); in fscache_add_cache()
291 int n_accesses; in fscache_begin_cache_access() local
296 n_accesses = atomic_inc_return(&cache->n_accesses); in fscache_begin_cache_access()
299 n_accesses, why); in fscache_begin_cache_access()
317 int n_accesses; in fscache_end_cache_access() local
320 n_accesses = atomic_dec_return(&cache->n_accesses); in fscache_end_cache_access()
322 n_accesses, why); in fscache_end_cache_access()
323 if (n_accesses == 0) in fscache_end_cache_access()
[all …]
Dvolume.c45 int n_accesses; in __fscache_begin_volume_access() local
47 n_accesses = atomic_inc_return(&volume->n_accesses); in __fscache_begin_volume_access()
51 n_accesses, why); in __fscache_begin_volume_access()
110 int n_accesses; in fscache_end_volume_access() local
113 n_accesses = atomic_dec_return(&volume->n_accesses); in fscache_end_volume_access()
116 n_accesses, why); in fscache_end_volume_access()
117 if (n_accesses == 0) in fscache_end_volume_access()
118 wake_up_var(&volume->n_accesses); in fscache_end_volume_access()
453 int n_accesses; in fscache_withdraw_volume() local
458 n_accesses = atomic_dec_return(&volume->n_accesses); in fscache_withdraw_volume()
[all …]
Dcookie.c44 atomic_read(&cookie->n_accesses), in fscache_print_cookie()
103 int n_accesses; in fscache_init_access_gate() local
105 n_accesses = atomic_read(&cookie->n_accesses); in fscache_init_access_gate()
107 n_accesses, fscache_access_cache_pin); in fscache_init_access_gate()
124 int n_accesses; in fscache_end_cookie_access() local
127 n_accesses = atomic_dec_return(&cookie->n_accesses); in fscache_end_cookie_access()
129 n_accesses, why); in fscache_end_cookie_access()
130 if (n_accesses == 0 && in fscache_end_cookie_access()
142 int n_accesses; in __fscache_begin_cookie_access() local
144 n_accesses = atomic_inc_return(&cookie->n_accesses); in __fscache_begin_cookie_access()
[all …]
Dio.c123 atomic_read(&cookie->n_accesses), in fscache_begin_operation()
/linux-6.6.21/include/trace/events/
Dfscache.h286 int n_accesses,
289 TP_ARGS(cookie_debug_id, ref, n_active, n_accesses, why),
295 __field(int, n_accesses )
303 __entry->n_accesses = n_accesses;
311 __entry->n_accesses,
318 int n_accesses,
321 TP_ARGS(cache_debug_id, ref, n_accesses, why),
326 __field(int, n_accesses )
333 __entry->n_accesses = n_accesses;
341 __entry->n_accesses)
[all …]
/linux-6.6.21/fs/cachefiles/
Dvolume.c26 int ret, n_accesses, i; in cachefiles_acquire_volume() local
81 n_accesses = atomic_inc_return(&vcookie->n_accesses); /* Stop wakeups on dec-to-0 */ in cachefiles_acquire_volume()
84 n_accesses, fscache_access_cache_pin); in cachefiles_acquire_volume()
/linux-6.6.21/include/linux/
Dfscache.h75 atomic_t n_accesses; /* Number of cache accesses in progress */ member
105 atomic_t n_accesses; /* Number of cache accesses in progress */ member
Dfscache-cache.h41 atomic_t n_accesses; /* Number of in-progress accesses on the cache */ member