Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/cachefiles/
H 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()
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 in cachefiles_acquire_volume()
122 cachefiles_free_volume(struct fscache_volume *vcookie) cachefiles_free_volume() argument
[all...]
H 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()
H 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()
H 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()
H A Dinternal.h42 struct fscache_volume *vcookie; /* The netfs's representation */ member
/kernel/linux/linux-6.6/fs/9p/
H 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()
/kernel/linux/linux-6.6/fs/smb/client/
H 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()
/kernel/linux/linux-6.6/fs/nfs/
H A Dfscache.c90 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()
/kernel/linux/linux-6.6/fs/afs/
H A Dvolume.c294 struct fscache_volume *vcookie; in afs_activate_volume() local
302 vcookie = fscache_acquire_volume(name, NULL, NULL, 0); in afs_activate_volume()
303 if (IS_ERR(vcookie)) { in afs_activate_volume()
304 if (vcookie != ERR_PTR(-EBUSY)) { in afs_activate_volume()
306 return PTR_ERR(vcookie); in afs_activate_volume()
309 vcookie = NULL; in afs_activate_volume()
311 volume->cache = vcookie; in afs_activate_volume()
/kernel/linux/linux-6.6/include/trace/events/
H A Dcachefiles.h419 __entry->vol = volume->vcookie->debug_id;

Completed in 6 milliseconds