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

/linux-master/fs/9p/
H A Dcache.c22 struct fscache_volume *vcookie; local
34 vcookie = fscache_acquire_volume(name, NULL, NULL, 0);
36 v9ses, vcookie, name);
37 if (IS_ERR(vcookie)) {
38 if (vcookie != ERR_PTR(-EBUSY)) {
40 return PTR_ERR(vcookie);
43 vcookie = NULL;
45 v9ses->fscache = vcookie;
/linux-master/fs/cachefiles/
H A Dvolume.c17 void cachefiles_acquire_volume(struct fscache_volume *vcookie) argument
20 struct cachefiles_cache *cache = vcookie->cache->cache_priv;
33 volume->vcookie = vcookie;
39 len = vcookie->key[0];
44 memcpy(name + 1, vcookie->key + 1, len);
80 vcookie->cache_priv = volume;
81 n_accesses = atomic_inc_return(&vcookie->n_accesses); /* Stop wakeups on dec-to-0 */
82 trace_fscache_access_volume(vcookie->debug_id, 0,
83 refcount_read(&vcookie
122 cachefiles_free_volume(struct fscache_volume *vcookie) argument
[all...]
H A Dxattr.c194 unsigned int len = volume->vcookie->coherency_len;
195 const void *p = volume->vcookie->coherency;
199 _enter("%x,#%d", volume->vcookie->debug_id, len);
206 memcpy(buf->data, p, volume->vcookie->coherency_len);
237 unsigned int len = volume->vcookie->coherency_len;
238 const void *p = volume->vcookie->coherency;
H A Dinterface.c24 struct fscache_volume *vcookie = cookie->volume; local
25 struct cachefiles_volume *volume = vcookie->cache_priv;
28 _enter("{%s},%x,", vcookie->key, cookie->debug_id);
47 fscache_count_object(vcookie->cache);
H A Dondemand.c477 struct fscache_volume *volume = object->volume->vcookie;
539 struct fscache_volume *volume = object->volume->vcookie;
H A Dinternal.h42 struct fscache_volume *vcookie; /* The netfs's representation */ member in struct:cachefiles_volume
/linux-master/fs/smb/client/
H A Dfscache.c39 struct fscache_volume *vcookie; local
86 vcookie = fscache_acquire_volume(key,
89 cifs_dbg(FYI, "%s: (%s/0x%p)\n", __func__, key, vcookie);
90 if (IS_ERR(vcookie)) {
91 if (vcookie != ERR_PTR(-EBUSY)) {
92 ret = PTR_ERR(vcookie);
96 vcookie = NULL;
104 tcon->fscache = vcookie;
/linux-master/fs/nfs/
H A Dfscache.c90 struct fscache_volume *vcookie; local
130 vcookie = fscache_acquire_volume(key,
133 if (IS_ERR(vcookie)) {
134 if (vcookie != ERR_PTR(-EBUSY)) {
136 return PTR_ERR(vcookie);
139 vcookie = NULL;
141 nfss->fscache = vcookie;
/linux-master/fs/afs/
H A Dvolume.c310 struct fscache_volume *vcookie; local
318 vcookie = fscache_acquire_volume(name, NULL, NULL, 0);
319 if (IS_ERR(vcookie)) {
320 if (vcookie != ERR_PTR(-EBUSY)) {
322 return PTR_ERR(vcookie);
325 vcookie = NULL;
327 volume->cache = vcookie;
/linux-master/include/trace/events/
H A Dcachefiles.h419 __entry->vol = volume->vcookie->debug_id;

Completed in 194 milliseconds