Searched refs:crkpd (Results 1 – 1 of 1) sorted by relevance
676 crklpd_hold(credklpd_t *crkpd) in crklpd_hold() argument678 atomic_inc_32(&crkpd->crkl_ref); in crklpd_hold()682 crklpd_rele(credklpd_t *crkpd) in crklpd_rele() argument684 if (atomic_dec_32_nv(&crkpd->crkl_ref) == 0) { in crklpd_rele()685 if (crkpd->crkl_reg != NULL) in crklpd_rele()686 klpd_rele(crkpd->crkl_reg); in crklpd_rele()687 mutex_destroy(&crkpd->crkl_lock); in crklpd_rele()688 kmem_free(crkpd, sizeof (*crkpd)); in crklpd_rele()