Lines Matching defs:kctlref
475 ctl_enqueuembuf(void *kctlref, u_int32_t unit, struct mbuf *m, u_int32_t flags)
479 struct kctl *kctl = (struct kctl *)kctlref;
503 ctl_enqueuedata(void *kctlref, u_int32_t unit, void *data, size_t len, u_int32_t flags)
508 struct kctl *kctl = (struct kctl *)kctlref;
513 if (kctlref == NULL)
555 ctl_getenqueuespace(kern_ctl_ref kctlref, u_int32_t unit, size_t *space)
557 struct kctl *kctl = (struct kctl *)kctlref;
561 if (kctlref == NULL || space == NULL)
704 ctl_register(struct kern_ctl_reg *userkctl, kern_ctl_ref *kctlref)
819 *kctlref = kctl;
826 ctl_deregister(void *kctlref)
830 if (kctlref == NULL) /* sanity check */
835 if (kctl == (struct kctl *)kctlref)
838 if (kctl != (struct kctl *)kctlref) {