Lines Matching refs:n_accesses
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()
149 n_accesses, why); in __fscache_begin_cookie_access()
585 n_active, atomic_read(&cookie->n_accesses), in __fscache_use_cookie()
670 unsigned int a = atomic_read(&cookie->n_accesses); in __fscache_unuse_cookie()
685 a = atomic_read(&cookie->n_accesses); in __fscache_unuse_cookie()
717 if (atomic_read(&cookie->n_accesses) == 0 && in fscache_cookie_state_machine()
755 if (atomic_read(&cookie->n_accesses) != 0) in fscache_cookie_state_machine()
842 int n_accesses; in __fscache_withdraw_cookie() local
848 n_accesses = atomic_read(&cookie->n_accesses); in __fscache_withdraw_cookie()
851 n_accesses, fscache_access_cache_unpin); in __fscache_withdraw_cookie()
852 if (n_accesses == 0) in __fscache_withdraw_cookie()
1129 atomic_read(&cookie->n_accesses), in fscache_cookies_seq_show()