Searched refs:nref (Results 1 – 6 of 6) sorted by relevance
66 atomic_read(&realm->nref), atomic_read(&realm->nref)+1); in ceph_get_snap_realm()73 if (atomic_read(&realm->nref) == 0) { in ceph_get_snap_realm()79 atomic_inc(&realm->nref); in ceph_get_snap_realm()119 atomic_set(&realm->nref, 0); /* tree does not take a ref */ in ceph_create_snap_realm()188 atomic_read(&realm->nref), atomic_read(&realm->nref)-1); in __put_snap_realm()189 if (atomic_dec_and_test(&realm->nref)) in __put_snap_realm()200 atomic_read(&realm->nref), atomic_read(&realm->nref)-1); in ceph_put_snap_realm()201 if (!atomic_dec_and_test(&realm->nref)) in ceph_put_snap_realm()339 atomic_set(&snapc->nref, 1); in build_snap_context()483 atomic_set(&capsnap->nref, 1); in ceph_queue_cap_snap()
132 atomic_t nref; member156 if (atomic_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap()607 atomic_t nref; member
1284 atomic_inc(&capsnap->nref); in __ceph_flush_snaps()
159 atomic_t nref; member173 atomic_inc(&sc->nref); in ceph_get_snap_context()185 if (atomic_dec_and_test(&sc->nref)) { in ceph_put_snap_context()
233 int nref; /* # of atm_vcc's who reference us */ member2316 if (--lvcc->nref == 0) { in lanai_close()2352 lvcc->nref++; in lanai_open()2523 lvcc->nref, lvcc->stats.rx_nomem); in lanai_proc_read()
546 atomic_set(&header->snapc->nref, 1); in rbd_header_from_disk()