Home
last modified time | relevance | path

Searched refs:oid_refcnt (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dkern_sysctl.c461 p->oid_refcnt++; in sysctl_register_oid()
818 if (oidp->oid_refcnt == 1) { in sysctl_remove_oid_locked()
836 if (oidp->oid_refcnt > 1 ) { in sysctl_remove_oid_locked()
837 oidp->oid_refcnt--; in sysctl_remove_oid_locked()
839 if (oidp->oid_refcnt == 0) { in sysctl_remove_oid_locked()
840 printf("Warning: bad oid_refcnt=%u (%s)!\n", in sysctl_remove_oid_locked()
841 oidp->oid_refcnt, oidp->oid_name); in sysctl_remove_oid_locked()
891 oidp->oid_refcnt++; in sysctl_add_oid()
907 oidp->oid_refcnt = 1; in sysctl_add_oid()
/freebsd/sys/sys/
H A Dsysctl.h196 int oid_refcnt; member