| 51 | bool revsbvmmIsSet; |
| 52 | |
| 53 | static struct sysctl_oid_iterator sysctl_oid_iterator_begin(struct sysctl_oid_list *l) { |
| 54 | struct sysctl_oid_iterator it = { }; |
| 55 | struct sysctl_oid *a = SLIST_FIRST(l); |
| 56 | |
| 57 | if (a == NULL) { |
| 58 | return it; |
| 59 | } |
| 60 | |
| 61 | if (a->oid_number == OID_MUTABLE_ANCHOR) { |
| 62 | it.a = SLIST_NEXT(a, oid_link); |
| 63 | it.b = SLIST_FIRST((struct sysctl_oid_list *)a->oid_arg1); |
| 64 | } else { |
| 65 | it.a = a; |
| 66 | } |
| 67 | return it; |
| 68 | } |
| 69 | |
| 70 | static struct sysctl_oid *sysctl_oid_iterator_next_system_order(struct sysctl_oid_iterator *it) { |
| 71 | struct sysctl_oid *a = it->a; |