Home
last modified time | relevance | path

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

/fs/ceph/
Dsnap.c66 atomic_read(&realm->nref), atomic_read(&realm->nref)+1); in ceph_get_snap_realm()
73 if (atomic_inc_return(&realm->nref) == 1) { in ceph_get_snap_realm()
117 atomic_set(&realm->nref, 1); /* for caller */ in ceph_create_snap_realm()
196 atomic_read(&realm->nref), atomic_read(&realm->nref)-1); in __put_snap_realm()
197 if (atomic_dec_and_test(&realm->nref)) in __put_snap_realm()
208 atomic_read(&realm->nref), atomic_read(&realm->nref)-1); in ceph_put_snap_realm()
209 if (!atomic_dec_and_test(&realm->nref)) in ceph_put_snap_realm()
522 atomic_set(&capsnap->nref, 1); in ceph_queue_cap_snap()
Dsuper.h164 atomic_t nref; member
191 if (atomic_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap()
660 atomic_t nref; member
Dcaps.c1326 atomic_inc(&capsnap->nref); in __ceph_flush_snaps()
2144 atomic_inc(&capsnap->nref); in __kick_flushing_caps()