Lines Matching defs:mycandidate
33 proxy_worker *mycandidate = NULL;
58 while (!mycandidate && !checked_standby) {
92 if (!mycandidate
93 || (*worker)->s->busy < mycandidate->s->busy
94 || ((*worker)->s->busy == mycandidate->s->busy && (*worker)->s->lbstatus > mycandidate->s->lbstatus))
95 mycandidate = *worker;
107 } while (cur_lbset <= max_lbset && !mycandidate);
109 if (mycandidate) {
110 mycandidate->s->lbstatus -= total_factor;
113 mycandidate->s->name, mycandidate->s->busy, mycandidate->s->lbstatus);
117 return mycandidate;