Home
last modified time | relevance | path

Searched refs:vlserver (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/fs/afs/
H A Dvl_list.c15 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 refcount_set(&vlserver->ref, 1); in afs_alloc_vlserver()
21 rwlock_init(&vlserver->lock); in afs_alloc_vlserver()
24 vlserver->rtt = UINT_MAX; in afs_alloc_vlserver()
25 vlserver->name_len = name_len; in afs_alloc_vlserver()
26 vlserver->port = port; in afs_alloc_vlserver()
29 return vlserver; in afs_alloc_vlserver()
37 kfree_rcu(vlserver, rcu); in afs_vlserver_rcu()
[all …]
H A Dvl_rotate.c93 struct afs_vlserver *vlserver; in afs_select_vlserver() local
222 vlserver = vc->server_list->servers[vc->index].server; in afs_select_vlserver()
223 vc->server = vlserver; in afs_select_vlserver()
225 _debug("USING VLSERVER: %s", vlserver->name); in afs_select_vlserver()
227 read_lock(&vlserver->lock); in afs_select_vlserver()
228 alist = rcu_dereference_protected(vlserver->addresses, in afs_select_vlserver()
229 lockdep_is_held(&vlserver->lock)); in afs_select_vlserver()
231 read_unlock(&vlserver->lock); in afs_select_vlserver()
H A Dproc.c287 const struct afs_vlserver *vlserver; in afs_proc_cell_vlservers_show() local
299 vlserver = entry->server; in afs_proc_cell_vlservers_show()
300 alist = rcu_dereference(vlserver->addresses); in afs_proc_cell_vlservers_show()
303 vlserver->name, entry->priority, entry->weight, in afs_proc_cell_vlservers_show()
312 seq_printf(m, " info: fl=%lx rtt=%d\n", vlserver->flags, vlserver->rtt); in afs_proc_cell_vlservers_show()
314 vlserver->probe.flags, vlserver->probe.error, in afs_proc_cell_vlservers_show()
315 vlserver->probe.abort_code, in afs_proc_cell_vlservers_show()
316 atomic_read(&vlserver->probe_outstanding)); in afs_proc_cell_vlservers_show()
H A Dvlclient.c358 afs_put_vlserver(call->net, call->vlserver); in afs_destroy_vl_get_capabilities()
396 call->vlserver = afs_get_vlserver(server); in afs_vl_get_capabilities()
H A Dinternal.h107 struct afs_vlserver *vlserver; /* The vlserver record if vl op */ member
1493 static inline struct afs_vlserver *afs_get_vlserver(struct afs_vlserver *vlserver) in afs_get_vlserver() argument
1495 refcount_inc(&vlserver->ref); in afs_get_vlserver()
1496 return vlserver; in afs_get_vlserver()
H A Dvl_probe.c50 struct afs_vlserver *server = call->vlserver; in afs_vlserver_probe_result()