Home
last modified time | relevance | path

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

/linux-2.6.39/fs/afs/
Dvlocation.c39 struct afs_cache_vlocation *vldb) in afs_vlocation_access_vl_by_name() argument
45 _enter("%s,%s", cell->name, vl->vldb.name); in afs_vlocation_access_vl_by_name()
55 ret = afs_vl_get_entry_by_name(&addr, key, vl->vldb.name, vldb, in afs_vlocation_access_vl_by_name()
97 struct afs_cache_vlocation *vldb) in afs_vlocation_access_vl_by_id() argument
113 ret = afs_vl_get_entry_by_id(&addr, key, volid, voltype, vldb, in afs_vlocation_access_vl_by_id()
157 vl->vldb.name); in afs_vlocation_access_vl_by_id()
186 memcpy(vl->vldb.name, name, namesz); in afs_vlocation_alloc()
198 struct afs_cache_vlocation *vldb) in afs_vlocation_update_record() argument
206 vl->vldb.name, in afs_vlocation_update_record()
207 vl->vldb.vidmask, in afs_vlocation_update_record()
[all …]
Dcache.c140 _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()
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()
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()
199 memcpy((uint8_t *)&vlocation->vldb.nservers, buffer, dlen); in afs_vlocation_cache_check_aux()
206 if (memcmp(&vlocation->vldb, buffer, dlen) != 0) { in afs_vlocation_cache_check_aux()
208 if (memcmp(&vlocation->vldb.vid, &cvldb->vid, in afs_vlocation_cache_check_aux()
Dvolume.c67 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()
107 volume->vid = vlocation->vldb.vid[params->type]; in afs_volume_lookup()
117 if (vlocation->vldb.srvtmask[loop] & (1 << volume->type)) { in afs_volume_lookup()
119 volume->cell, &vlocation->vldb.servers[loop]); in afs_volume_lookup()
225 _enter("%s", volume->vlocation->vldb.name); in afs_volume_pick_fileserver()
314 volume->vlocation->vldb.name, ntohl(server->addr.s_addr), in afs_volume_release_fileserver()
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 …]
Dcallback.c408 _debug("update %s", vnode->vldb.name);
413 ret = afs_vnode_update_record(vl, &vldb);
416 afs_vnode_apply_update(vl, &vldb);
Dproc.c539 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()
Dinternal.h258 struct afs_cache_vlocation vldb; /* volume information DB record */ member