Lines Matching refs:clist
477 sysctl_ctx_free(struct sysctl_ctx_list *clist)
490 TAILQ_FOREACH(e, clist, link) {
503 e1 = TAILQ_LAST(clist, sysctl_ctx_list);
513 e = TAILQ_FIRST(clist);
529 sysctl_ctx_entry_add(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp)
534 if (clist == NULL || oidp == NULL)
538 TAILQ_INSERT_HEAD(clist, e, link);
544 sysctl_ctx_entry_find(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp)
549 if (clist == NULL || oidp == NULL)
551 TAILQ_FOREACH(e, clist, link) {
564 sysctl_ctx_entry_del(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp)
568 if (clist == NULL || oidp == NULL)
571 e = sysctl_ctx_entry_find(clist, oidp);
573 TAILQ_REMOVE(clist, e, link);
689 * clist may point to a valid context initialized with sysctl_ctx_init().
692 sysctl_add_oid(struct sysctl_ctx_list *clist, struct sysctl_oid_list *parent,
708 if (clist != NULL)
709 sysctl_ctx_entry_add(clist, oidp);
732 if (clist != NULL)
733 sysctl_ctx_entry_add(clist, oidp);