Home
last modified time | relevance | path

Searched refs:vcookie (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/fs/cachefiles/
A Dvolume.c17 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()
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()
124 struct cachefiles_volume *volume = vcookie->cache_priv; in cachefiles_free_volume()
[all …]
A Dxattr.c194 unsigned int len = volume->vcookie->coherency_len; in cachefiles_set_volume_xattr()
195 const void *p = volume->vcookie->coherency; in cachefiles_set_volume_xattr()
199 _enter("%x,#%d", volume->vcookie->debug_id, len); in cachefiles_set_volume_xattr()
206 memcpy(buf->data, p, volume->vcookie->coherency_len); in cachefiles_set_volume_xattr()
237 unsigned int len = volume->vcookie->coherency_len; in cachefiles_check_volume_xattr()
238 const void *p = volume->vcookie->coherency; in cachefiles_check_volume_xattr()
A Dinterface.c24 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()
42 fscache_count_object(vcookie->cache); in cachefiles_alloc_object()
A Dondemand.c400 struct fscache_volume *volume = object->volume->vcookie; in cachefiles_ondemand_init_open_req()
479 struct fscache_volume *volume = object->volume->vcookie; in cachefiles_ondemand_init_object()
A Dinternal.h42 struct fscache_volume *vcookie; /* The netfs's representation */ member
/linux-6.3-rc2/fs/9p/
A Dcache.c22 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.3-rc2/fs/cifs/
A Dfscache.c29 struct fscache_volume *vcookie; in cifs_fscache_get_super_cookie() local
64 vcookie = fscache_acquire_volume(key, in cifs_fscache_get_super_cookie()
67 cifs_dbg(FYI, "%s: (%s/0x%p)\n", __func__, key, vcookie); in cifs_fscache_get_super_cookie()
68 if (IS_ERR(vcookie)) { in cifs_fscache_get_super_cookie()
69 if (vcookie != ERR_PTR(-EBUSY)) { in cifs_fscache_get_super_cookie()
70 ret = PTR_ERR(vcookie); in cifs_fscache_get_super_cookie()
74 vcookie = NULL; in cifs_fscache_get_super_cookie()
77 tcon->fscache = vcookie; in cifs_fscache_get_super_cookie()
/linux-6.3-rc2/fs/nfs/
A Dfscache.c87 struct fscache_volume *vcookie; in nfs_fscache_get_super_cookie() local
127 vcookie = fscache_acquire_volume(key, in nfs_fscache_get_super_cookie()
130 if (IS_ERR(vcookie)) { in nfs_fscache_get_super_cookie()
131 if (vcookie != ERR_PTR(-EBUSY)) { in nfs_fscache_get_super_cookie()
133 return PTR_ERR(vcookie); in nfs_fscache_get_super_cookie()
136 vcookie = NULL; in nfs_fscache_get_super_cookie()
138 nfss->fscache = vcookie; in nfs_fscache_get_super_cookie()
/linux-6.3-rc2/fs/afs/
A Dvolume.c274 struct fscache_volume *vcookie; in afs_activate_volume() local
282 vcookie = fscache_acquire_volume(name, NULL, NULL, 0); in afs_activate_volume()
283 if (IS_ERR(vcookie)) { in afs_activate_volume()
284 if (vcookie != ERR_PTR(-EBUSY)) { in afs_activate_volume()
286 return PTR_ERR(vcookie); in afs_activate_volume()
289 vcookie = NULL; in afs_activate_volume()
291 volume->cache = vcookie; in afs_activate_volume()
/linux-6.3-rc2/include/trace/events/
A Dcachefiles.h419 __entry->vol = volume->vcookie->debug_id;

Completed in 16 milliseconds