Searched refs:vlserver (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/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->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() [all …]
|
D | vl_rotate.c | 87 struct afs_vlserver *vlserver; in afs_select_vlserver() local 216 vlserver = vc->server_list->servers[vc->index].server; in afs_select_vlserver() 217 vc->server = vlserver; in afs_select_vlserver() 219 _debug("USING VLSERVER: %s", vlserver->name); in afs_select_vlserver() 221 read_lock(&vlserver->lock); in afs_select_vlserver() 222 alist = rcu_dereference_protected(vlserver->addresses, in afs_select_vlserver() 223 lockdep_is_held(&vlserver->lock)); in afs_select_vlserver() 225 read_unlock(&vlserver->lock); in afs_select_vlserver()
|
D | proc.c | 287 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()
|
D | internal.h | 105 struct afs_vlserver *vlserver; /* The vlserver record if vl op */ member 1459 static inline struct afs_vlserver *afs_get_vlserver(struct afs_vlserver *vlserver) in afs_get_vlserver() argument 1461 atomic_inc(&vlserver->usage); in afs_get_vlserver() 1462 return vlserver; in afs_get_vlserver()
|
D | vlclient.c | 358 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()
|
D | vl_probe.c | 50 struct afs_vlserver *server = call->vlserver; in afs_vlserver_probe_result()
|