ncache_t
#define MDB_DNLC_NCACHE_SZ(ncp) (sizeof (ncache_t) + (ncp)->namlen)
static ncache_t **dnlc_hash; /* mdbs hash array of dnlc entries */
ncache_t *ncp, *next;
mdb_free(dnlc_hash, MDB_DNLC_HSIZE * sizeof (ncache_t *));
dnlc_hash = mdb_zalloc(MDB_DNLC_HSIZE * sizeof (ncache_t *), UM_SLEEP);
ncache_t *ncp; /* name cache pointer */
ncache_t nc; /* name cache entry */
if (mdb_vread(&nc, sizeof (ncache_t), nc_va) == -1) {
ncache_t *ent;
ncache_t *ent;
ncache_t *ncp;
} while (hp->hash_next == (ncache_t *)hp && hp != start_hp);
if (hp->hash_next == (ncache_t *)hp) {
for (cnt = 0, ncp = hp->hash_prev; ncp != (ncache_t *)hp;
if (hp->hash_next == (ncache_t *)hp) {
(ncp)->hash_prev = (ncache_t *)(hp); \
static ncache_t *dnlc_get(uchar_t namlen);
static ncache_t *dnlc_search(vnode_t *dp, const char *name, uchar_t namlen,
hp->hash_next = (ncache_t *)hp;
hp->hash_prev = (ncache_t *)hp;
ncache_t *ncp;
ncache_t *ncp;
ncache_t *tcp;
ncache_t *ncp;
for (ncp = hp->hash_next; ncp != (ncache_t *)hp;
ncache_t *next = ncp->hash_next;
ncache_t *prev = ncp->hash_prev;
ncp->hash_prev = (ncache_t *)hp;
ncache_t *ncp;
ncache_t *ncp;
while (ncp != (ncache_t *)nch) {
ncache_t *np;
if (ncp != (ncache_t *)nch) {
ncache_t *ncp;
while (ncp != (ncache_t *)nch) {
ncache_t *np;
if (ncp != (ncache_t *)nch) {
ncache_t *ncp;
while (ncp != (ncache_t *)nch) {
ncache_t *np;
if (ncp != (ncache_t *)nch) {
ncache_t *ncp;
if (hp->hash_next == (ncache_t *)hp)
ncp != (ncache_t *)hp;
if (ncp != (ncache_t *)hp) {
static ncache_t *
ncache_t *ncp;
for (ncp = hp->hash_next; ncp != (ncache_t *)hp; ncp = ncp->hash_next) {
static ncache_t *
ncache_t *ncp;
#define NCACHE_SIZE(namelen) offsetof(ncache_t, name) + (namelen)
ncache_t *hash_next;
ncache_t *hash_prev;