coda_namecache.c | 102 struct coda_hash *coda_nc_hash; /* hash table of cfscache pointers */ variable in typeref:struct:coda_hash * 143 CODA_ALLOC(coda_nc_hash, struct coda_hash *, TOTAL_HASH_SIZE); 146 memset(coda_nc_hash, 0, TOTAL_HASH_SIZE); 155 LIST_INIT(&coda_nc_hash[i].head); 180 LIST_FOREACH(cncp, &coda_nc_hash[hash].head, hash) 236 hash = CODA_NC_HASH(name, namelen, dcp); 253 coda_nc_hash[CODA_NC_HASH(cncp->name, cncp->namelen, cncp->dcp)].length--; 277 LIST_INSERT_HEAD(&coda_nc_hash[hash].head, cncp, hash); 278 coda_nc_hash[hash].length++; /* Used for tuning * [all...] |