Lines Matching refs:alist
271 struct afs_addr_list *alist; in afs_proc_cell_vlservers_start() local
277 alist = rcu_dereference(cell->vl_addrs); in afs_proc_cell_vlservers_start()
284 if (!alist || pos >= alist->nr_addrs) in afs_proc_cell_vlservers_start()
287 return alist->addrs + pos; in afs_proc_cell_vlservers_start()
293 struct afs_addr_list *alist; in afs_proc_cell_vlservers_next() local
297 alist = rcu_dereference(cell->vl_addrs); in afs_proc_cell_vlservers_next()
301 if (!alist || pos >= alist->nr_addrs) in afs_proc_cell_vlservers_next()
304 return alist->addrs + pos; in afs_proc_cell_vlservers_next()
326 struct afs_addr_list *alist; in afs_proc_servers_show() local
335 alist = rcu_dereference(server->addresses); in afs_proc_servers_show()
339 &alist->addrs[0].transport, in afs_proc_servers_show()
340 alist->index == 0 ? "*" : ""); in afs_proc_servers_show()
341 for (i = 1; i < alist->nr_addrs; i++) in afs_proc_servers_show()
343 &alist->addrs[i].transport, in afs_proc_servers_show()
344 alist->index == i ? "*" : ""); in afs_proc_servers_show()