Lines Matching refs:afs_server
34 struct afs_server *afs_find_server(struct afs_net *net, in afs_find_server()
39 struct afs_server *server = NULL; in afs_find_server()
104 struct afs_server *afs_find_server_by_uuid(struct afs_net *net, const uuid_t *uuid) in afs_find_server_by_uuid()
106 struct afs_server *server = NULL; in afs_find_server_by_uuid()
125 server = rb_entry(p, struct afs_server, uuid_rb); in afs_find_server_by_uuid()
150 static struct afs_server *afs_install_server(struct afs_net *net, in afs_install_server()
151 struct afs_server *candidate) in afs_install_server()
154 struct afs_server *server; in afs_install_server()
168 server = rb_entry(p, struct afs_server, uuid_rb); in afs_install_server()
212 static struct afs_server *afs_alloc_server(struct afs_net *net, in afs_alloc_server()
216 struct afs_server *server; in afs_alloc_server()
220 server = kzalloc(sizeof(struct afs_server), GFP_KERNEL); in afs_alloc_server()
289 struct afs_server *afs_lookup_server(struct afs_cell *cell, struct key *key, in afs_lookup_server()
293 struct afs_server *server, *candidate; in afs_lookup_server()
350 void afs_put_server(struct afs_net *net, struct afs_server *server) in afs_put_server()
371 struct afs_server *server = container_of(rcu, struct afs_server, rcu); in afs_server_rcu()
380 static void afs_destroy_server(struct afs_net *net, struct afs_server *server) in afs_destroy_server()
402 static void afs_gc_servers(struct afs_net *net, struct afs_server *gc_list) in afs_gc_servers()
404 struct afs_server *server; in afs_gc_servers()
442 struct afs_server *gc_list = NULL; in afs_manage_servers()
455 struct afs_server *server = in afs_manage_servers()
456 rb_entry(cursor, struct afs_server, uuid_rb); in afs_manage_servers()
623 static noinline bool afs_update_server_record(struct afs_fs_cursor *fc, struct afs_server *server) in afs_update_server_record()
656 bool afs_check_server_record(struct afs_fs_cursor *fc, struct afs_server *server) in afs_check_server_record()