Home
last modified time | relevance | path

Searched refs:vlocation (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/fs/afs/
Dvolume.c47 struct afs_vlocation *vlocation = NULL; in afs_volume_lookup() local
57 vlocation = afs_vlocation_lookup(params->cell, params->key, in afs_volume_lookup()
59 if (IS_ERR(vlocation)) { in afs_volume_lookup()
60 ret = PTR_ERR(vlocation); in afs_volume_lookup()
61 vlocation = NULL; in afs_volume_lookup()
67 if (params->force && !(vlocation->vldb.vidmask & (1 << params->type))) in afs_volume_lookup()
71 for (loop = 0; loop < vlocation->vldb.nservers; loop++) in afs_volume_lookup()
72 srvtmask |= vlocation->vldb.srvtmask[loop]; in afs_volume_lookup()
88 if (vlocation->vols[params->type]) { in afs_volume_lookup()
90 volume = vlocation->vols[params->type]; in afs_volume_lookup()
[all …]
Dcache.c137 const struct afs_vlocation *vlocation = cookie_netfs_data; in afs_vlocation_cache_get_key() local
140 _enter("{%s},%p,%u", vlocation->vldb.name, buffer, bufmax); in afs_vlocation_cache_get_key()
142 klen = strnlen(vlocation->vldb.name, sizeof(vlocation->vldb.name)); in afs_vlocation_cache_get_key()
146 memcpy(buffer, vlocation->vldb.name, klen); in afs_vlocation_cache_get_key()
158 const struct afs_vlocation *vlocation = cookie_netfs_data; in afs_vlocation_cache_get_aux() local
161 _enter("{%s},%p,%u", vlocation->vldb.name, buffer, bufmax); in afs_vlocation_cache_get_aux()
168 memcpy(buffer, (uint8_t *)&vlocation->vldb.nservers, dlen); in afs_vlocation_cache_get_aux()
183 struct afs_vlocation *vlocation = cookie_netfs_data; in afs_vlocation_cache_check_aux() local
186 _enter("{%s},%p,%u", vlocation->vldb.name, buffer, buflen); in afs_vlocation_cache_check_aux()
198 if (!vlocation->valid || vlocation->vldb.rtime == cvldb->rtime) { in afs_vlocation_cache_check_aux()
[all …]
Dvnode.c274 vnode->volume->vlocation->vldb.name, in afs_vnode_fetch_status()
402 vnode->volume->vlocation->vldb.name, in afs_vnode_fetch_data()
459 vnode->volume->vlocation->vldb.name, in afs_vnode_create()
515 vnode->volume->vlocation->vldb.name, in afs_vnode_remove()
570 dvnode->volume->vlocation->vldb.name, in afs_vnode_link()
574 vnode->volume->vlocation->vldb.name, in afs_vnode_link()
641 vnode->volume->vlocation->vldb.name, in afs_vnode_symlink()
700 orig_dvnode->volume->vlocation->vldb.name, in afs_vnode_rename()
704 new_dvnode->volume->vlocation->vldb.name, in afs_vnode_rename()
777 vnode->volume->vlocation->vldb.name, in afs_vnode_store_data()
[all …]
Dproc.c526 struct afs_vlocation *vlocation = in afs_proc_cell_volumes_show() local
537 atomic_read(&vlocation->usage), in afs_proc_cell_volumes_show()
538 afs_vlocation_states[vlocation->state], in afs_proc_cell_volumes_show()
539 vlocation->vldb.vid[0], in afs_proc_cell_volumes_show()
540 vlocation->vldb.vid[1], in afs_proc_cell_volumes_show()
541 vlocation->vldb.vid[2], in afs_proc_cell_volumes_show()
542 vlocation->vldb.name); in afs_proc_cell_volumes_show()
DMakefile27 vlocation.o \
Dsuper.c315 strlcpy(sb->s_id, as->volume->vlocation->vldb.name, sizeof(sb->s_id)); in afs_fill_super()
Dinternal.h307 struct afs_vlocation *vlocation; /* volume location */ member
/linux-3.4.99/Documentation/filesystems/caching/
Dnetfs-api.txt365 vlocation->cache =
368 vlocation);
374 fscache_acquire_cookie(vlocation->cache,