Lines Matching refs:cip

1062 nfs_idmap_cache_create(idmap_cache_info_t *cip, const char *name)  in nfs_idmap_cache_create()  argument
1067 cip->table = kmem_alloc((NFSID_CACHE_ANCHORS * sizeof (nfsidhq_t)), in nfs_idmap_cache_create()
1070 for (i = 0, hq = cip->table; i < NFSID_CACHE_ANCHORS; i++, hq++) { in nfs_idmap_cache_create()
1075 cip->name = name; in nfs_idmap_cache_create()
1090 nfs_idmap_cache_destroy(idmap_cache_info_t *cip) in nfs_idmap_cache_destroy() argument
1096 nfs_idmap_cache_flush(cip); in nfs_idmap_cache_destroy()
1103 for (i = 0, hq = cip->table; i < NFSID_CACHE_ANCHORS; i++, hq++) in nfs_idmap_cache_destroy()
1105 kmem_free(cip->table, NFSID_CACHE_ANCHORS * sizeof (nfsidhq_t)); in nfs_idmap_cache_destroy()
1168 nfs_idmap_cache_flush(idmap_cache_info_t *cip) in nfs_idmap_cache_flush() argument
1174 for (i = 0, hq = cip->table; i < NFSID_CACHE_ANCHORS; i++, hq++) { in nfs_idmap_cache_flush()
1205 nfs_idmap_cache_reclaim(idmap_cache_info_t *cip) in nfs_idmap_cache_reclaim() argument
1212 ASSERT(cip != NULL && cip->table != NULL); in nfs_idmap_cache_reclaim()
1217 if ((*cip->nfsidmap_daemon_dh) == NULL) in nfs_idmap_cache_reclaim()
1220 for (i = 0, hq = cip->table; i < NFSID_CACHE_ANCHORS; i++, hq++) { in nfs_idmap_cache_reclaim()
1277 nfs_idmap_cache_s2i_lkup(idmap_cache_info_t *cip, utf8string *u8s, in nfs_idmap_cache_s2i_lkup() argument
1298 hq = &cip->table[*hashno]; in nfs_idmap_cache_s2i_lkup()
1314 if (TIMEOUT(p->id_time) && (*cip->nfsidmap_daemon_dh) != NULL) { in nfs_idmap_cache_s2i_lkup()
1359 nfs_idmap_cache_s2i_insert(idmap_cache_info_t *cip, uid_t id, utf8string *u8s, in nfs_idmap_cache_s2i_insert() argument
1391 hq = &cip->table[hashno]; in nfs_idmap_cache_s2i_insert()
1410 if (TIMEOUT(p->id_time) && (*cip->nfsidmap_daemon_dh) != NULL) { in nfs_idmap_cache_s2i_insert()
1461 nfs_idmap_cache_i2s_lkup(idmap_cache_info_t *cip, uid_t id, uint_t *hashno, in nfs_idmap_cache_i2s_lkup() argument
1475 hq = &cip->table[hash]; in nfs_idmap_cache_i2s_lkup()
1491 if (TIMEOUT(p->id_time) && (*cip->nfsidmap_daemon_dh) != NULL) { in nfs_idmap_cache_i2s_lkup()
1533 nfs_idmap_cache_i2s_insert(idmap_cache_info_t *cip, uid_t id, utf8string *u8s, in nfs_idmap_cache_i2s_insert() argument
1556 hq = &cip->table[hashno]; in nfs_idmap_cache_i2s_insert()
1575 if (TIMEOUT(p->id_time) && (*cip->nfsidmap_daemon_dh) != NULL) { in nfs_idmap_cache_i2s_insert()