Lines Matching full:refs
50 int refs; /* reference count */ member
164 newmod->refs = 1; in module_register()
186 MOD_DPF(REFS, ("module_reference: before, refs=%d\n", mod->refs)); in module_reference()
187 mod->refs++; in module_reference()
196 if (mod->refs <= 0) in module_release()
199 MOD_DPF(REFS, ("module_release: before, refs=%d\n", mod->refs)); in module_release()
201 mod->refs--; in module_release()
202 if (mod->refs == 0) { in module_release()
362 int refs; member
369 int refs; member
380 int id, namelen, refs, version; in sys_modstat() local
393 refs = mod->refs; in sys_modstat()
419 if ((error = copyout(&refs, &stat_v2->refs, sizeof(int))) != 0) in sys_modstat()
424 if ((error = copyout(&refs, &stat->refs, sizeof(int))) != 0) in sys_modstat()
485 int refs; member
493 int refs; member
504 int id, namelen, refs, version; in freebsd32_modstat() local
518 refs = mod->refs; in freebsd32_modstat()
543 if ((error = copyout(&refs, &stat32_v2->refs, sizeof(int))) != 0) in freebsd32_modstat()
548 if ((error = copyout(&refs, &stat32->refs, sizeof(int))) != 0) in freebsd32_modstat()