Lines Matching defs:kd
80 ksiddomain_hold(ksiddomain_t *kd)
82 atomic_inc_32(&kd->kd_ref);
86 ksiddomain_rele(ksiddomain_t *kd)
88 if (atomic_dec_32_nv(&kd->kd_ref) == 0) {
90 * The kd reference can only be incremented from 0 when
95 if (kd->kd_ref == 0) {
96 avl_remove(&sid_tree, kd);
97 kmem_free(kd->kd_name, kd->kd_len);
98 kmem_free(kd, sizeof (*kd));