Home
last modified time | relevance | path

Searched refs:nref (Results 1 – 3 of 3) sorted by relevance

/fs/ceph/
Dsnap.c67 atomic_read(&realm->nref), atomic_read(&realm->nref)+1); in ceph_get_snap_realm()
74 if (atomic_inc_return(&realm->nref) == 1) { in ceph_get_snap_realm()
118 atomic_set(&realm->nref, 1); /* for caller */ in ceph_create_snap_realm()
197 atomic_read(&realm->nref), atomic_read(&realm->nref)-1); in __put_snap_realm()
198 if (atomic_dec_and_test(&realm->nref)) in __put_snap_realm()
209 atomic_read(&realm->nref), atomic_read(&realm->nref)-1); in ceph_put_snap_realm()
210 if (!atomic_dec_and_test(&realm->nref)) in ceph_put_snap_realm()
528 refcount_set(&capsnap->nref, 1); in ceph_queue_cap_snap()
Dsuper.h178 refcount_t nref; member
207 if (refcount_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap()
706 atomic_t nref; member
Dcaps.c1408 refcount_inc(&capsnap->nref); in __ceph_flush_snaps()
2240 refcount_inc(&capsnap->nref); in __kick_flushing_caps()