Home | History | Annotate | Download | only in drm

Lines Matching defs:refcnt

48 	unsigned			refcnt; /* at most one per device */
58 agp_hooks.refcnt = 0;
67 KASSERT(agp_hooks.refcnt == 0);
78 if (agp_hooks.refcnt) {
82 agp_hooks.refcnt++;
97 if (agp_hooks.refcnt > 1) {
100 agp_hooks.refcnt = 0;
114 if (agp_hooks.refcnt == 0) {
117 KASSERT(agp_hooks.refcnt < UINT_MAX);
118 agp_hooks.refcnt++;
132 KASSERT(agp_hooks.refcnt);
133 if (--agp_hooks.refcnt == 0)