Searched refs:n_accesses (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/fs/fscache/ |
D | cache.c | 237 int n_accesses; in fscache_add_cache() local 247 n_accesses = atomic_inc_return(&cache->n_accesses); in fscache_add_cache() 249 n_accesses, fscache_access_cache_pin); in fscache_add_cache() 290 int n_accesses; in fscache_begin_cache_access() local 295 n_accesses = atomic_inc_return(&cache->n_accesses); in fscache_begin_cache_access() 298 n_accesses, why); in fscache_begin_cache_access() 316 int n_accesses; in fscache_end_cache_access() local 319 n_accesses = atomic_dec_return(&cache->n_accesses); in fscache_end_cache_access() 321 n_accesses, why); in fscache_end_cache_access() 322 if (n_accesses == 0) in fscache_end_cache_access() [all …]
|
D | volume.c | 45 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 …]
|
D | cookie.c | 44 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 …]
|
D | io.c | 123 atomic_read(&cookie->n_accesses), in fscache_begin_operation()
|
/Linux-v6.1/include/trace/events/ |
D | fscache.h | 286 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-v6.1/fs/cachefiles/ |
D | volume.c | 26 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-v6.1/include/linux/ |
D | fscache.h | 75 atomic_t n_accesses; /* Number of cache accesses in progress */ member 105 atomic_t n_accesses; /* Number of cache accesses in progress */ member
|
D | fscache-cache.h | 41 atomic_t n_accesses; /* Number of in-progress accesses on the cache */ member
|