Lines Matching refs:ghbn_cache
99 } ghbn_cache[GHBN_NUM];
257 (ghbn_cache[iarg].order > 0))
261 *p=ghbn_cache[iarg].name;
262 ghbn_cache[iarg].name[128]='\0';
269 ghbn_cache[i].order=0;
382 if (low > ghbn_cache[i].order)
384 low=ghbn_cache[i].order;
387 if (ghbn_cache[i].order > 0)
389 if (strncmp(name,ghbn_cache[i].name,128) == 0)
423 if (ghbn_cache[lowi].ent != NULL)
424 ghbn_free(ghbn_cache[lowi].ent); /* XXX not thread-safe */
425 ghbn_cache[lowi].name[0] = '\0';
427 if((ret=ghbn_cache[lowi].ent=ghbn_dup(ret)) == NULL)
432 strncpy(ghbn_cache[lowi].name,name,128);
433 ghbn_cache[lowi].order=BIO_ghbn_miss+BIO_ghbn_hits;
438 ret= ghbn_cache[i].ent;
439 ghbn_cache[i].order=BIO_ghbn_miss+BIO_ghbn_hits;