Lines Matching full:probe

20 	if (!(server->probe.flags & AFS_VLSERVER_PROBE_RESPONDED)) {  in afs_finished_vl_probe()
30 * Handle the completion of a probe RPC call.
63 server->probe.error = 0; in afs_vlserver_probe_result()
66 if (!(server->probe.flags & AFS_VLSERVER_PROBE_RESPONDED)) { in afs_vlserver_probe_result()
67 server->probe.abort_code = call->abort_code; in afs_vlserver_probe_result()
68 server->probe.error = ret; in afs_vlserver_probe_result()
76 server->probe.flags |= AFS_VLSERVER_PROBE_LOCAL_FAILURE; in afs_vlserver_probe_result()
77 if (server->probe.error == 0) in afs_vlserver_probe_result()
78 server->probe.error = ret; in afs_vlserver_probe_result()
93 if (!(server->probe.flags & AFS_VLSERVER_PROBE_RESPONDED) && in afs_vlserver_probe_result()
94 (server->probe.error == 0 || in afs_vlserver_probe_result()
95 server->probe.error == -ETIMEDOUT || in afs_vlserver_probe_result()
96 server->probe.error == -ETIME)) in afs_vlserver_probe_result()
97 server->probe.error = ret; in afs_vlserver_probe_result()
107 server->probe.flags |= AFS_VLSERVER_PROBE_IS_YFS; in afs_vlserver_probe_result()
111 server->probe.flags |= AFS_VLSERVER_PROBE_NOT_YFS; in afs_vlserver_probe_result()
112 if (!(server->probe.flags & AFS_VLSERVER_PROBE_IS_YFS)) { in afs_vlserver_probe_result()
119 if (rtt_us < server->probe.rtt) { in afs_vlserver_probe_result()
120 server->probe.rtt = rtt_us; in afs_vlserver_probe_result()
126 server->probe.flags |= AFS_VLSERVER_PROBE_RESPONDED; in afs_vlserver_probe_result()
133 _debug("probe [%u][%u] %pISpc rtt=%u ret=%d", in afs_vlserver_probe_result()
140 * Probe all of a vlserver's addresses to find out the best route and to
163 memset(&server->probe, 0, sizeof(server->probe)); in afs_do_probe_vlserver()
164 server->probe.rtt = UINT_MAX; in afs_do_probe_vlserver()
221 /* Only wait for servers that have a probe outstanding. */ in afs_wait_for_vl_probes()
227 if (server->probe.flags & AFS_VLSERVER_PROBE_RESPONDED) in afs_wait_for_vl_probes()
253 if (server->probe.flags & AFS_VLSERVER_PROBE_RESPONDED) in afs_wait_for_vl_probes()