Home
last modified time | relevance | path

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

/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.c453 struct afs_vlocation *vlocation = in afs_proc_cell_volumes_show() local
464 atomic_read(&vlocation->usage), in afs_proc_cell_volumes_show()
465 afs_vlocation_states[vlocation->state], in afs_proc_cell_volumes_show()
466 vlocation->vldb.vid[0], in afs_proc_cell_volumes_show()
467 vlocation->vldb.vid[1], in afs_proc_cell_volumes_show()
468 vlocation->vldb.vid[2], in afs_proc_cell_volumes_show()
469 vlocation->vldb.name); in afs_proc_cell_volumes_show()
DMakefile27 vlocation.o \
Dsuper.c323 strlcpy(sb->s_id, as->volume->vlocation->vldb.name, sizeof(sb->s_id)); in afs_fill_super()
Dinternal.h306 struct afs_vlocation *vlocation; /* volume location */ member