Lines Matching refs:ref
23 int ref; in fscache_get_volume() local
25 __refcount_inc(&volume->ref, &ref); in fscache_get_volume()
26 trace_fscache_volume(volume->debug_id, ref + 1, where); in fscache_get_volume()
33 int ref; in fscache_try_get_volume() local
35 if (!__refcount_inc_not_zero(&volume->ref, &ref)) in fscache_try_get_volume()
38 trace_fscache_volume(volume->debug_id, ref + 1, where); in fscache_try_get_volume()
46 int ref = refcount_read(&volume->ref); in fscache_see_volume() local
48 trace_fscache_volume(volume->debug_id, ref, where); in fscache_see_volume()
63 refcount_read(&volume->ref), in __fscache_begin_volume_access()
128 refcount_read(&volume->ref), in fscache_end_volume_access()
244 refcount_set(&volume->ref, 1); in fscache_alloc_volume()
427 int ref; in fscache_put_volume() local
429 zero = __refcount_dec_and_test(&volume->ref, &ref); in fscache_put_volume()
430 trace_fscache_volume(debug_id, ref - 1, where); in fscache_put_volume()
473 refcount_read(&volume->ref), in fscache_withdraw_volume()
500 refcount_read(&volume->ref), in fscache_volumes_seq_show()