Searched refs:acache (Results 1 – 2 of 2) sorted by relevance
47 struct acache *next; /* next and prev must be first */48 struct acache *prev;52 typedef struct acache { struct53 struct acache *next; /* next and prev must be first */ argument54 struct acache *prev; argument59 struct acache *list; argument
157 static acache_hash_t *acache; variable3212 hp = &acache[acachehash(rp, cr)]; in nfs_access_check()3252 hp = &acache[acachehash(rp, cr)]; in nfs_access_cache()3544 acache = kmem_alloc(acachesize * sizeof (*acache), KM_SLEEP); in nfs_subrinit()3546 acache[i].next = (acache_t *)&acache[i]; in nfs_subrinit()3547 acache[i].prev = (acache_t *)&acache[i]; in nfs_subrinit()3548 rw_init(&acache[i].lock, NULL, RW_DEFAULT, NULL); in nfs_subrinit()3610 rw_destroy(&acache[i].lock); in nfs_subrfini()3611 kmem_free(acache, acachesize * sizeof (*acache)); in nfs_subrfini()