Lines Matching defs:srv
119 static struct server srv[MAXVOLS];
147 if ((srv[i].volinfo) && (strcmp(srv[i].volinfo->v_path, volinfo->v_path) == 0)) {
148 return &srv[i];
184 if (srv[i].volinfo == NULL && i < MAXVOLS) {
185 up = &srv[i];
252 if (srv[i].pid && up != &srv[i]) {
253 close(srv[i].control_fd);
562 if (srv[i].pid == pid) {
563 srv[i].pid = 0;
564 close(srv[i].control_fd);
573 srv[i].tm = 0;
574 srv[i].count = 0;