Lines Matching defs:refcnt
91 refcount_t refcnt;
128 refcount_t refcnt;
384 if (!refcount_dec_and_test(&mask->refcnt))
509 if (!refcount_dec_and_test(&f->refcnt))
524 if (f && !refcount_inc_not_zero(&f->refcnt))
1847 refcount_set(&newmask->refcnt, 1);
1879 * -EAGAIN because mask's refcnt is zero.
1904 } else if (!refcount_inc_not_zero(&fnew->mask->refcnt)) {
2024 refcount_set(&fnew->refcnt, 1);
2092 refcount_inc(&fnew->refcnt);
2106 /* Caller holds reference to fold, so refcnt is always > 0
2109 refcount_dec(&fold->refcnt);
2133 refcount_inc(&fnew->refcnt);
2196 if (!refcount_inc_not_zero(&f->refcnt))
2229 if (!(add && f->deleted) && refcount_inc_not_zero(&f->refcnt)) {