linux/fs/fscache
David Howells 20ec197bfa fscache: Use refcount_t for the cookie refcount instead of atomic_t
Use refcount_t for the fscache_cookie refcount instead of atomic_t and
rename the 'usage' member to 'ref' in such cases.  The tracepoints that
reference it change from showing "u=%d" to "r=%d".

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/162431204358.2908479.8006938388213098079.stgit@warthog.procyon.org.uk/
2021-08-27 13:34:03 +01:00
..
cache.c fscache: Use refcount_t for the cookie refcount instead of atomic_t 2021-08-27 13:34:03 +01:00
cookie.c fscache: Use refcount_t for the cookie refcount instead of atomic_t 2021-08-27 13:34:03 +01:00
fsdef.c fscache: Use refcount_t for the cookie refcount instead of atomic_t 2021-08-27 13:34:03 +01:00
internal.h fscache: Use refcount_t for the cookie refcount instead of atomic_t 2021-08-27 13:34:03 +01:00
io.c fscache, cachefiles: Add alternate API to use kiocb for read/write to cache 2021-04-23 10:14:32 +01:00
Kconfig fscache: Remove the object list procfile 2021-08-27 13:34:02 +01:00
main.c fscache: Fix cookie key hashing 2021-08-27 13:34:02 +01:00
Makefile fscache: Remove the object list procfile 2021-08-27 13:34:02 +01:00
netfs.c fscache: Fix fscache_cookie_put() to not deref after dec 2021-08-27 13:34:02 +01:00
object.c fscache: Change %p in format strings to something else 2021-08-27 13:34:02 +01:00
operation.c fscache, cachefiles: Remove the histogram stuff 2021-08-27 13:34:02 +01:00
page.c fscache, cachefiles: Remove the histogram stuff 2021-08-27 13:34:02 +01:00
proc.c fscache, cachefiles: Remove the histogram stuff 2021-08-27 13:34:02 +01:00
stats.c fscache, cachefiles: Add alternate API to use kiocb for read/write to cache 2021-04-23 10:14:32 +01:00