Lines Matching defs:refcnt
95 refcount_t refcnt;
133 refcount_t refcnt;
396 if (!refcount_dec_and_test(&mask->refcnt))
516 if (!refcount_dec_and_test(&f->refcnt))
531 if (f && !refcount_inc_not_zero(&f->refcnt))
2131 refcount_set(&newmask->refcnt, 1);
2163 * -EAGAIN because mask's refcnt is zero.
2188 } else if (!refcount_inc_not_zero(&fnew->mask->refcnt)) {
2277 refcount_set(&fnew->refcnt, 1);
2407 refcount_inc(&fnew->refcnt);
2421 /* Caller holds reference to fold, so refcnt is always > 0
2424 refcount_dec(&fold->refcnt);
2429 refcount_inc(&fnew->refcnt);
2506 if (!f || !refcount_inc_not_zero(&f->refcnt))
2539 if (!(add && f->deleted) && refcount_inc_not_zero(&f->refcnt)) {