Lines Matching refs:kctl_next
708 struct kctl *kctl_next = NULL;
751 kctl_next = TAILQ_LAST(&ctl_head, kctl_list);
753 if (kctl_next != NULL) {
755 id = kctl_next->id + 1;
756 kctl_next = NULL;
766 TAILQ_FOREACH(kctl_next, &ctl_head, next) {
767 if (kctl_next->id > id) {
772 id = kctl_next->id + 1;
781 TAILQ_FOREACH(kctl_next, &ctl_head, next) {
782 if (kctl_next->id > userkctl->ctl_id)
820 if (kctl_next)
821 TAILQ_INSERT_BEFORE(kctl_next, kctl, next);