vldb 31 fs/afs/server_list.c struct afs_vldb_entry *vldb, vldb 38 fs/afs/server_list.c for (i = 0; i < vldb->nr_servers; i++) vldb 39 fs/afs/server_list.c if (vldb->fs_mask[i] & type_mask) vldb 50 fs/afs/server_list.c for (i = 0; i < vldb->nr_servers; i++) { vldb 51 fs/afs/server_list.c if (!(vldb->fs_mask[i] & type_mask)) vldb 54 fs/afs/server_list.c server = afs_lookup_server(cell, key, &vldb->fs_server[i]); vldb 19 fs/afs/volume.c struct afs_vldb_entry *vldb, vldb 26 fs/afs/volume.c for (i = 0; i < vldb->nr_servers; i++) vldb 27 fs/afs/volume.c if (vldb->fs_mask[i] & type_mask) vldb 34 fs/afs/volume.c volume->vid = vldb->vid[params->type]; vldb 39 fs/afs/volume.c volume->name_len = vldb->name_len; vldb 45 fs/afs/volume.c memcpy(volume->name, vldb->name, vldb->name_len + 1); vldb 47 fs/afs/volume.c slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask); vldb 72 fs/afs/volume.c struct afs_vldb_entry *vldb = ERR_PTR(-EDESTADDRREQ); vldb 80 fs/afs/volume.c vldb = afs_vl_get_entry_by_name_u(&vc, volname, volnamesz); vldb 84 fs/afs/volume.c return ret < 0 ? ERR_PTR(ret) : vldb; vldb 113 fs/afs/volume.c struct afs_vldb_entry *vldb; vldb 117 fs/afs/volume.c vldb = afs_vl_lookup_vldb(params->cell, params->key, vldb 119 fs/afs/volume.c if (IS_ERR(vldb)) vldb 120 fs/afs/volume.c return ERR_CAST(vldb); vldb 122 fs/afs/volume.c if (test_bit(AFS_VLDB_QUERY_ERROR, &vldb->flags)) { vldb 123 fs/afs/volume.c volume = ERR_PTR(vldb->error); vldb 130 fs/afs/volume.c if (!(vldb->flags & type_mask)) vldb 132 fs/afs/volume.c } else if (test_bit(AFS_VLDB_HAS_RO, &vldb->flags)) { vldb 134 fs/afs/volume.c } else if (test_bit(AFS_VLDB_HAS_RW, &vldb->flags)) { vldb 141 fs/afs/volume.c volume = afs_alloc_volume(params, vldb, type_mask); vldb 144 fs/afs/volume.c kfree(vldb); vldb 223 fs/afs/volume.c struct afs_vldb_entry *vldb; vldb 234 fs/afs/volume.c vldb = afs_vl_lookup_vldb(volume->cell, key, idbuf, idsz); vldb 235 fs/afs/volume.c if (IS_ERR(vldb)) { vldb 236 fs/afs/volume.c ret = PTR_ERR(vldb); vldb 241 fs/afs/volume.c if (vldb->name_len != volume->name_len || vldb 242 fs/afs/volume.c memcmp(vldb->name, volume->name, vldb->name_len) != 0) { vldb 244 fs/afs/volume.c memcpy(volume->name, vldb->name, AFS_MAXVOLNAME); vldb 245 fs/afs/volume.c volume->name_len = vldb->name_len; vldb 250 fs/afs/volume.c vldb, (1 << volume->type)); vldb 275 fs/afs/volume.c kfree(vldb);