Lines Matching refs:kctl_next
1645 struct kctl *kctl_next = NULL; in ctl_register() local
1696 kctl_next = TAILQ_LAST(&ctl_head, kctl_list); in ctl_register()
1698 if (kctl_next != NULL) { in ctl_register()
1700 id = kctl_next->id + 1; in ctl_register()
1701 kctl_next = NULL; in ctl_register()
1711 TAILQ_FOREACH(kctl_next, &ctl_head, next) { in ctl_register()
1712 if (kctl_next->id > id) { in ctl_register()
1717 id = kctl_next->id + 1; in ctl_register()
1726 TAILQ_FOREACH(kctl_next, &ctl_head, next) { in ctl_register()
1727 if (kctl_next->id > userkctl->ctl_id) { in ctl_register()
1780 if (kctl_next) { in ctl_register()
1781 TAILQ_INSERT_BEFORE(kctl_next, kctl, next); in ctl_register()