Searched refs:vcookie (Results 1 – 9 of 9) sorted by relevance
| /linux/fs/cachefiles/ |
| H A D | volume.c | 18 void cachefiles_acquire_volume(struct fscache_volume *vcookie) in cachefiles_acquire_volume() argument 21 struct cachefiles_cache *cache = vcookie->cache->cache_priv; in cachefiles_acquire_volume() 34 volume->vcookie = vcookie; in cachefiles_acquire_volume() 40 len = vcookie->key[0]; in cachefiles_acquire_volume() 45 memcpy(name + 1, vcookie->key + 1, len); in cachefiles_acquire_volume() 83 vcookie->cache_priv = volume; in cachefiles_acquire_volume() 84 n_accesses = atomic_inc_return(&vcookie->n_accesses); /* Stop wakeups on dec-to-0 */ in cachefiles_acquire_volume() 85 trace_fscache_access_volume(vcookie->debug_id, 0, in cachefiles_acquire_volume() 86 refcount_read(&vcookie->ref), in cachefiles_acquire_volume() 117 volume->vcookie->cache_priv = NULL; in __cachefiles_free_volume() [all …]
|
| H A 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()
|
| H A D | xattr.c | 215 unsigned int len = volume->vcookie->coherency_len; in cachefiles_set_volume_xattr() 216 const void *p = volume->vcookie->coherency; in cachefiles_set_volume_xattr() 220 _enter("%x,#%d", volume->vcookie->debug_id, len); in cachefiles_set_volume_xattr() 227 memcpy(buf->data, p, volume->vcookie->coherency_len); in cachefiles_set_volume_xattr() 264 unsigned int len = volume->vcookie->coherency_len; in cachefiles_check_volume_xattr() 265 const void *p = volume->vcookie->coherency; in cachefiles_check_volume_xattr()
|
| H A D | ondemand.c | 613 struct fscache_volume *volume = object->volume->vcookie; in cachefiles_ondemand_init_open_req() 675 struct fscache_volume *volume = object->volume->vcookie; in cachefiles_ondemand_init_object()
|
| /linux/fs/9p/ |
| H A 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/fs/smb/client/ |
| H A 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/fs/nfs/ |
| H A 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/fs/afs/ |
| H A D | volume.c | 313 struct fscache_volume *vcookie; in afs_activate_volume() local 321 vcookie = fscache_acquire_volume(name, NULL, NULL, 0); in afs_activate_volume() 322 if (IS_ERR(vcookie)) { in afs_activate_volume() 323 if (vcookie != ERR_PTR(-EBUSY)) { in afs_activate_volume() 325 return PTR_ERR(vcookie); in afs_activate_volume() 328 vcookie = NULL; in afs_activate_volume() 330 volume->cache = vcookie; in afs_activate_volume()
|
| /linux/include/trace/events/ |
| H A D | cachefiles.h | 432 __entry->vol = volume->vcookie->debug_id;
|