Searched refs:nref (Results 1 – 3 of 3) sorted by relevance
67 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()
178 refcount_t nref; member207 if (refcount_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap()706 atomic_t nref; member
1408 refcount_inc(&capsnap->nref); in __ceph_flush_snaps()2240 refcount_inc(&capsnap->nref); in __kick_flushing_caps()