Lines Matching refs:alist
143 struct afs_addr_list *alist; in afs_select_fileserver() local
344 ASSERTCMP(fc->ac.alist, ==, NULL); in afs_select_fileserver()
365 alist = rcu_dereference_protected(server->addresses, in afs_select_fileserver()
367 afs_get_addrlist(alist); in afs_select_fileserver()
374 fc->ac.alist = afs_get_addrlist(alist); in afs_select_fileserver()
388 if (!fc->ac.alist) in afs_select_fileserver()
389 fc->ac.alist = alist; in afs_select_fileserver()
391 afs_put_addrlist(alist); in afs_select_fileserver()
393 fc->ac.start = READ_ONCE(alist->index); in afs_select_fileserver()
397 ASSERT(fc->ac.alist); in afs_select_fileserver()
398 _debug("iterate %d/%d", fc->ac.index, fc->ac.alist->nr_addrs); in afs_select_fileserver()
444 struct afs_addr_list *alist; in afs_select_current_fileserver() local
459 alist = rcu_dereference_protected(cbi->server->addresses, in afs_select_current_fileserver()
461 afs_get_addrlist(alist); in afs_select_current_fileserver()
463 if (!alist) { in afs_select_current_fileserver()
470 fc->ac.alist = alist; in afs_select_current_fileserver()
471 fc->ac.start = READ_ONCE(alist->index); in afs_select_current_fileserver()