Searched refs:vcookie (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/fs/cachefiles/ |
D | volume.c | 17 void cachefiles_acquire_volume(struct fscache_volume *vcookie) in cachefiles_acquire_volume() argument 20 struct cachefiles_cache *cache = vcookie->cache->cache_priv; in cachefiles_acquire_volume() 33 volume->vcookie = vcookie; in cachefiles_acquire_volume() 39 len = vcookie->key[0]; in cachefiles_acquire_volume() 44 memcpy(name + 1, vcookie->key + 1, len); in cachefiles_acquire_volume() 80 vcookie->cache_priv = volume; in cachefiles_acquire_volume() 81 n_accesses = atomic_inc_return(&vcookie->n_accesses); /* Stop wakeups on dec-to-0 */ in cachefiles_acquire_volume() 82 trace_fscache_access_volume(vcookie->debug_id, 0, in cachefiles_acquire_volume() 83 refcount_read(&vcookie->ref), in cachefiles_acquire_volume() 114 volume->vcookie->cache_priv = NULL; in __cachefiles_free_volume() [all …]
|
D | cache.c | 322 struct fscache_volume *vcookie; in cachefiles_withdraw_fscache_volumes() local 330 if (atomic_read(&volume->vcookie->n_accesses) == 0) in cachefiles_withdraw_fscache_volumes() 333 vcookie = fscache_try_get_volume(volume->vcookie, in cachefiles_withdraw_fscache_volumes() 335 if (vcookie) { in cachefiles_withdraw_fscache_volumes() 337 fscache_withdraw_volume(vcookie); in cachefiles_withdraw_fscache_volumes() 338 fscache_put_volume(vcookie, fscache_volume_put_withdraw); in cachefiles_withdraw_fscache_volumes() 355 struct fscache_volume *vcookie = NULL; in cachefiles_withdraw_volumes() local 362 vcookie = fscache_try_get_volume(volume->vcookie, in cachefiles_withdraw_volumes() 364 if (!vcookie) { in cachefiles_withdraw_volumes() 376 fscache_put_volume(vcookie, fscache_volume_put_withdraw); in cachefiles_withdraw_volumes()
|
D | xattr.c | 208 unsigned int len = volume->vcookie->coherency_len; in cachefiles_set_volume_xattr() 209 const void *p = volume->vcookie->coherency; in cachefiles_set_volume_xattr() 213 _enter("%x,#%d", volume->vcookie->debug_id, len); in cachefiles_set_volume_xattr() 220 memcpy(buf->data, p, volume->vcookie->coherency_len); in cachefiles_set_volume_xattr() 257 unsigned int len = volume->vcookie->coherency_len; in cachefiles_check_volume_xattr() 258 const void *p = volume->vcookie->coherency; in cachefiles_check_volume_xattr()
|
D | interface.c | 24 struct fscache_volume *vcookie = cookie->volume; in cachefiles_alloc_object() local 25 struct cachefiles_volume *volume = vcookie->cache_priv; in cachefiles_alloc_object() 28 _enter("{%s},%x,", vcookie->key, cookie->debug_id); in cachefiles_alloc_object() 47 fscache_count_object(vcookie->cache); in cachefiles_alloc_object()
|
D | ondemand.c | 596 struct fscache_volume *volume = object->volume->vcookie; in cachefiles_ondemand_init_open_req() 658 struct fscache_volume *volume = object->volume->vcookie; in cachefiles_ondemand_init_object()
|
D | internal.h | 42 struct fscache_volume *vcookie; /* The netfs's representation */ member
|
/linux-6.12.1/fs/9p/ |
D | cache.c | 22 struct fscache_volume *vcookie; in v9fs_cache_session_get_cookie() local 34 vcookie = fscache_acquire_volume(name, NULL, NULL, 0); in v9fs_cache_session_get_cookie() 36 v9ses, vcookie, name); in v9fs_cache_session_get_cookie() 37 if (IS_ERR(vcookie)) { in v9fs_cache_session_get_cookie() 38 if (vcookie != ERR_PTR(-EBUSY)) { in v9fs_cache_session_get_cookie() 40 return PTR_ERR(vcookie); in v9fs_cache_session_get_cookie() 43 vcookie = NULL; in v9fs_cache_session_get_cookie() 45 v9ses->fscache = vcookie; in v9fs_cache_session_get_cookie()
|
/linux-6.12.1/fs/smb/client/ |
D | fscache.c | 39 struct fscache_volume *vcookie; in cifs_fscache_get_super_cookie() local 86 vcookie = fscache_acquire_volume(key, in cifs_fscache_get_super_cookie() 89 cifs_dbg(FYI, "%s: (%s/0x%p)\n", __func__, key, vcookie); in cifs_fscache_get_super_cookie() 90 if (IS_ERR(vcookie)) { in cifs_fscache_get_super_cookie() 91 if (vcookie != ERR_PTR(-EBUSY)) { in cifs_fscache_get_super_cookie() 92 ret = PTR_ERR(vcookie); in cifs_fscache_get_super_cookie() 96 vcookie = NULL; in cifs_fscache_get_super_cookie() 104 tcon->fscache = vcookie; in cifs_fscache_get_super_cookie()
|
/linux-6.12.1/fs/nfs/ |
D | fscache.c | 90 struct fscache_volume *vcookie; in nfs_fscache_get_super_cookie() local 130 vcookie = fscache_acquire_volume(key, in nfs_fscache_get_super_cookie() 133 if (IS_ERR(vcookie)) { in nfs_fscache_get_super_cookie() 134 if (vcookie != ERR_PTR(-EBUSY)) { in nfs_fscache_get_super_cookie() 136 return PTR_ERR(vcookie); in nfs_fscache_get_super_cookie() 139 vcookie = NULL; in nfs_fscache_get_super_cookie() 141 nfss->fscache = vcookie; in nfs_fscache_get_super_cookie()
|
/linux-6.12.1/fs/afs/ |
D | volume.c | 310 struct fscache_volume *vcookie; in afs_activate_volume() local 318 vcookie = fscache_acquire_volume(name, NULL, NULL, 0); in afs_activate_volume() 319 if (IS_ERR(vcookie)) { in afs_activate_volume() 320 if (vcookie != ERR_PTR(-EBUSY)) { in afs_activate_volume() 322 return PTR_ERR(vcookie); in afs_activate_volume() 325 vcookie = NULL; in afs_activate_volume() 327 volume->cache = vcookie; in afs_activate_volume()
|
/linux-6.12.1/include/trace/events/ |
D | cachefiles.h | 425 __entry->vol = volume->vcookie->debug_id;
|