Lines Matching refs:server
73 afs_put_vlserver(net, vllist->servers[i].server); in afs_put_vlserverlist()
164 struct afs_vlserver *server; in afs_extract_vlserver_list() local
232 server = NULL; in afs_extract_vlserver_list()
234 struct afs_vlserver *p = previous->servers[i].server; in afs_extract_vlserver_list()
239 server = afs_get_vlserver(p); in afs_extract_vlserver_list()
244 if (!server) { in afs_extract_vlserver_list()
246 server = afs_alloc_vlserver(b, bs.name_len, bs.port); in afs_extract_vlserver_list()
247 if (!server) in afs_extract_vlserver_list()
265 afs_put_vlserver(cell->net, server); in afs_extract_vlserver_list()
274 if (!rcu_access_pointer(server->addresses)) { in afs_extract_vlserver_list()
275 afs_put_vlserver(cell->net, server); in afs_extract_vlserver_list()
281 write_lock(&server->lock); in afs_extract_vlserver_list()
282 rcu_swap_protected(server->addresses, old, in afs_extract_vlserver_list()
283 lockdep_is_held(&server->lock)); in afs_extract_vlserver_list()
284 write_unlock(&server->lock); in afs_extract_vlserver_list()
306 clear_bit(AFS_VLSERVER_FL_PROBED, &server->flags); in afs_extract_vlserver_list()
310 vllist->servers[j].server = server; in afs_extract_vlserver_list()
324 afs_put_vlserver(cell->net, server); in afs_extract_vlserver_list()