Lines Matching refs:ac
249 struct afs_addr_cursor ac; in afs_vl_lookup_addrs() local
253 ret = afs_set_vl_cursor(&ac, cell); in afs_vl_lookup_addrs()
257 while (afs_iterate_addresses(&ac)) { in afs_vl_lookup_addrs()
258 if (test_bit(ac.index, &ac.alist->yfs)) in afs_vl_lookup_addrs()
259 alist = afs_yfsvl_get_endpoints(cell->net, &ac, key, uuid); in afs_vl_lookup_addrs()
261 alist = afs_vl_get_addrs_u(cell->net, &ac, key, uuid); in afs_vl_lookup_addrs()
262 switch (ac.error) { in afs_vl_lookup_addrs()
264 afs_end_cursor(&ac); in afs_vl_lookup_addrs()
267 ac.error = afs_abort_to_error(ac.abort_code); in afs_vl_lookup_addrs()
277 ac.error = -EIO; in afs_vl_lookup_addrs()
283 return ERR_PTR(afs_end_cursor(&ac)); in afs_vl_lookup_addrs()
383 struct afs_addr_cursor ac = { in afs_destroy_server() local
393 afs_fs_give_up_all_callbacks(net, server, &ac, NULL); in afs_destroy_server()
536 fc->ac.addr = NULL; in afs_do_probe_fileserver()
537 fc->ac.start = READ_ONCE(fc->ac.alist->index); in afs_do_probe_fileserver()
538 fc->ac.index = fc->ac.start; in afs_do_probe_fileserver()
539 fc->ac.error = 0; in afs_do_probe_fileserver()
540 fc->ac.begun = false; in afs_do_probe_fileserver()
542 while (afs_iterate_addresses(&fc->ac)) { in afs_do_probe_fileserver()
544 &fc->ac, fc->key); in afs_do_probe_fileserver()
545 switch (fc->ac.error) { in afs_do_probe_fileserver()
547 afs_end_cursor(&fc->ac); in afs_do_probe_fileserver()
551 fc->ac.error = afs_abort_to_error(fc->ac.abort_code); in afs_do_probe_fileserver()
563 fc->ac.error = -EIO; in afs_do_probe_fileserver()
569 afs_end_cursor(&fc->ac); in afs_do_probe_fileserver()
605 fc->ac.error = ret; in afs_probe_fileserver()
612 fc->ac.error = -ESTALE; in afs_probe_fileserver()
632 fc->ac.error = PTR_ERR(alist); in afs_update_server_record()
633 _leave(" = f [%d]", fc->ac.error); in afs_update_server_record()
685 fc->ac.error = ret; in afs_check_server_record()