Lines Matching full:server

18 			afs_unuse_server(net, slist->servers[i].server,  in afs_put_serverlist()
25 * Build a server list from a VLDB record.
32 struct afs_server *server; in afs_alloc_server_list() local
70 /* Make sure a records exists for each server in the list. */ in afs_alloc_server_list()
82 server = afs_lookup_server(volume->cell, key, &vldb->fs_server[i], in afs_alloc_server_list()
84 if (IS_ERR(server)) { in afs_alloc_server_list()
85 ret = PTR_ERR(server); in afs_alloc_server_list()
94 if (memcmp(&slist->servers[j].server->uuid, in afs_alloc_server_list()
95 &server->uuid, in afs_alloc_server_list()
96 sizeof(server->uuid)) >= 0) in afs_alloc_server_list()
99 if (slist->servers[j].server == server) { in afs_alloc_server_list()
100 afs_put_server(volume->cell->net, server, in afs_alloc_server_list()
110 slist->servers[j].server = server; in afs_alloc_server_list()
131 * Copy the annotations from an old server list to its potential replacement.
144 if (old->servers[i].server != new->servers[i].server) in afs_annotate_server_list()
160 struct afs_server *server; in afs_attach_volume_to_servers() local
168 server = se->server; in afs_attach_volume_to_servers()
170 list_for_each(p, &server->volumes) { in afs_attach_volume_to_servers()
183 * Reattach a volume to the servers it is going to use when server list is
201 if (pn && po && pn->server == po->server) { in afs_reattach_volume_to_servers()
210 diff = memcmp(&pn->server->uuid, &po->server->uuid, in afs_reattach_volume_to_servers()
211 sizeof(pn->server->uuid)); in afs_reattach_volume_to_servers()
216 list_for_each(p, &pn->server->volumes) { in afs_reattach_volume_to_servers()