Home
last modified time | relevance | path

Searched refs:acache (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/nfs/
H A Drnode.h47 struct acache *next; /* next and prev must be first */
48 struct acache *prev;
52 typedef struct acache { struct
53 struct acache *next; /* next and prev must be first */ argument
54 struct acache *prev; argument
59 struct acache *list; argument
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c158 static acache_hash_t *acache; variable
3213 hp = &acache[acachehash(rp, cr)]; in nfs_access_check()
3253 hp = &acache[acachehash(rp, cr)]; in nfs_access_cache()
3545 acache = kmem_alloc(acachesize * sizeof (*acache), KM_SLEEP); in nfs_subrinit()
3547 acache[i].next = (acache_t *)&acache[i]; in nfs_subrinit()
3548 acache[i].prev = (acache_t *)&acache[i]; in nfs_subrinit()
3549 rw_init(&acache[i].lock, NULL, RW_DEFAULT, NULL); in nfs_subrinit()
3611 rw_destroy(&acache[i].lock); in nfs_subrfini()
3612 kmem_free(acache, acachesize * sizeof (*acache)); in nfs_subrfini()