Home
last modified time | relevance | path

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

/linux-3.4.99/fs/ceph/
Dsnap.c66 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()
Dsuper.h132 atomic_t nref; member
156 if (atomic_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap()
607 atomic_t nref; member
Dcaps.c1284 atomic_inc(&capsnap->nref); in __ceph_flush_snaps()
/linux-3.4.99/include/linux/ceph/
Dlibceph.h159 atomic_t nref; member
173 atomic_inc(&sc->nref); in ceph_get_snap_context()
185 if (atomic_dec_and_test(&sc->nref)) { in ceph_put_snap_context()
/linux-3.4.99/drivers/atm/
Dlanai.c233 int nref; /* # of atm_vcc's who reference us */ member
2316 if (--lvcc->nref == 0) { in lanai_close()
2352 lvcc->nref++; in lanai_open()
2523 lvcc->nref, lvcc->stats.rx_nomem); in lanai_proc_read()
/linux-3.4.99/drivers/block/
Drbd.c546 atomic_set(&header->snapc->nref, 1); in rbd_header_from_disk()