Lines Matching refs:refcnt
54 atomic_t refcnt;
77 atomic_t refcnt;
86 atomic_set(&dev->refcnt, 1);
105 /* found, just incr refcnt */
116 atomic_inc(&dev->refcnt);
122 if (!atomic_dec_and_test(&dev->refcnt))
165 /* found, incr refcnt and return: */
183 atomic_set(&bo->refcnt, 1);
257 atomic_inc(&bo->refcnt);
353 if (!atomic_dec_and_test(&bo->refcnt))