Searched refs:old_oidp (Results 1 - 1 of 1) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_newsysctl.c280 struct sysctl_oid *old_oidp = NULL; /* OID compatibility copy */ local
296 SLIST_FOREACH(old_oidp, oidp->oid_parent, oid_link) {
297 if (!memcmp(&oidp->oid_number, &old_oidp->oid_number, (offsetof(struct sysctl_oid, oid_descr)-offsetof(struct sysctl_oid, oid_number)))) {
301 if (old_oidp != NULL) {
302 SLIST_REMOVE(old_oidp->oid_parent, old_oidp, sysctl_oid, oid_link);
303 removed_oidp = old_oidp;
335 if (old_oidp != NULL) {
336 FREE(old_oidp, M_TEMP);

Completed in 19 milliseconds