Searched refs:nref (Results 1 – 6 of 6) sorted by relevance
39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()49 refcount_inc(&sc->nref); in ceph_get_snap_context()58 if (refcount_dec_and_test(&sc->nref)) { in ceph_put_snap_context()
77 if (atomic_inc_not_zero(&realm->nref)) in ceph_get_snap_realm()81 if (atomic_inc_return(&realm->nref) == 1) in ceph_get_snap_realm()127 atomic_set(&realm->nref, 2); in ceph_create_snap_realm()129 atomic_set(&realm->nref, 1); in ceph_create_snap_realm()223 if (atomic_dec_and_test(&realm->nref)) in __put_snap_realm()233 if (!atomic_dec_and_lock(&realm->nref, &mdsc->snap_empty_lock)) in ceph_put_snap_realm()756 refcount_set(&capsnap->nref, 1); in queue_realm_cap_snaps()
250 refcount_t nref; member280 if (refcount_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap()961 atomic_t nref; member
1696 refcount_inc(&capsnap->nref); in __ceph_flush_snaps()2625 refcount_inc(&capsnap->nref); in __kick_flushing_caps()
164 refcount_t nref; member
484 .nref = REFCOUNT_INIT(1),