| 128 | static int sysctl_new_kernel(struct sysctl_req *, void *, size_t); |
| 129 | |
| 130 | static struct sysctl_oid * |
| 131 | sysctl_find_oidname(const char *name, struct sysctl_oid_list *list) |
| 132 | { |
| 133 | struct sysctl_oid *oidp; |
| 134 | |
| 135 | SYSCTL_ASSERT_LOCKED(); |
| 136 | SLIST_FOREACH(oidp, list, oid_link) { |
| 137 | if (strcmp(oidp->oid_name, name) == 0) { |
| 138 | return (oidp); |
| 139 | } |
| 140 | } |
| 141 | return (NULL); |
| 142 | } |
| 143 | |
| 144 | /* |
| 145 | * Initialization of the MIB tree. |
no test coverage detected