Lines Matching defs:ghbn_cache
576 } ghbn_cache[GHBN_NUM];
589 if (low > ghbn_cache[i].order)
591 low=ghbn_cache[i].order;
594 if (ghbn_cache[i].order > 0)
596 if (strncmp(name,ghbn_cache[i].name,128) == 0)
606 if(strlen(name) < sizeof ghbn_cache[0].name)
608 strcpy(ghbn_cache[lowi].name,name);
609 memcpy((char *)&(ghbn_cache[lowi].ent),ret,sizeof(struct hostent));
610 ghbn_cache[lowi].order=ghbn_miss+ghbn_hits;
617 ret= &(ghbn_cache[i].ent);
618 ghbn_cache[i].order=ghbn_miss+ghbn_hits;