Searched refs:vlserver (Results 1 – 6 of 6) sorted by relevance
/fs/afs/ |
D | vl_list.c | 15 struct afs_vlserver *vlserver; in afs_alloc_vlserver() local 17 vlserver = kzalloc(struct_size(vlserver, name, name_len + 1), in afs_alloc_vlserver() 19 if (vlserver) { in afs_alloc_vlserver() 20 atomic_set(&vlserver->usage, 1); in afs_alloc_vlserver() 21 rwlock_init(&vlserver->lock); in afs_alloc_vlserver() 22 init_waitqueue_head(&vlserver->probe_wq); in afs_alloc_vlserver() 23 spin_lock_init(&vlserver->probe_lock); in afs_alloc_vlserver() 24 vlserver->name_len = name_len; in afs_alloc_vlserver() 25 vlserver->port = port; in afs_alloc_vlserver() 26 memcpy(vlserver->name, name, name_len); in afs_alloc_vlserver() [all …]
|
D | vl_rotate.c | 87 struct afs_vlserver *vlserver; in afs_select_vlserver() local 211 vlserver = vc->server_list->servers[vc->index].server; in afs_select_vlserver() 212 vc->server = vlserver; in afs_select_vlserver() 214 _debug("USING VLSERVER: %s", vlserver->name); in afs_select_vlserver() 216 read_lock(&vlserver->lock); in afs_select_vlserver() 217 alist = rcu_dereference_protected(vlserver->addresses, in afs_select_vlserver() 218 lockdep_is_held(&vlserver->lock)); in afs_select_vlserver() 220 read_unlock(&vlserver->lock); in afs_select_vlserver()
|
D | proc.c | 289 const struct afs_vlserver *vlserver; in afs_proc_cell_vlservers_show() local 301 vlserver = entry->server; in afs_proc_cell_vlservers_show() 302 alist = rcu_dereference(vlserver->addresses); in afs_proc_cell_vlservers_show() 305 vlserver->name, entry->priority, entry->weight, in afs_proc_cell_vlservers_show()
|
D | internal.h | 113 struct afs_vlserver *vlserver; /* The vlserver record if vl op */ member 1290 static inline struct afs_vlserver *afs_get_vlserver(struct afs_vlserver *vlserver) in afs_get_vlserver() argument 1292 atomic_inc(&vlserver->usage); in afs_get_vlserver() 1293 return vlserver; in afs_get_vlserver()
|
D | vlclient.c | 357 afs_put_vlserver(call->net, call->vlserver); in afs_destroy_vl_get_capabilities() 395 call->vlserver = afs_get_vlserver(server); in afs_vl_get_capabilities()
|
D | vl_probe.c | 32 struct afs_vlserver *server = call->vlserver; in afs_vlserver_probe_result()
|