Searched refs:nref (Results 1 – 8 of 8) sorted by relevance
39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()49 refcount_inc(&sc->nref); in ceph_get_snap_context()58 if (refcount_dec_and_test(&sc->nref)) { in ceph_put_snap_context()
76 if (atomic_inc_not_zero(&realm->nref)) in ceph_get_snap_realm()80 if (atomic_inc_return(&realm->nref) == 1) in ceph_get_snap_realm()126 atomic_set(&realm->nref, 2); in ceph_create_snap_realm()128 atomic_set(&realm->nref, 1); in ceph_create_snap_realm()220 if (atomic_dec_and_test(&realm->nref)) in __put_snap_realm()230 if (!atomic_dec_and_lock(&realm->nref, &mdsc->snap_empty_lock)) in ceph_put_snap_realm()736 refcount_set(&capsnap->nref, 1); in queue_realm_cap_snaps()
205 refcount_t nref; member235 if (refcount_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap()874 atomic_t nref; member
1604 refcount_inc(&capsnap->nref); in __ceph_flush_snaps()2503 refcount_inc(&capsnap->nref); in __kick_flushing_caps()
77 u32 nref; in xgene_clk_pll_recalc_rate() local97 nref = CLKR_RD(pll) + 1; in xgene_clk_pll_recalc_rate()100 fref = parent_rate / nref; in xgene_clk_pll_recalc_rate()
174 refcount_t nref; member
229 int nref; /* # of atm_vcc's who reference us */ member2300 if (--lvcc->nref == 0) { in lanai_close()2336 lvcc->nref++; in lanai_open()2507 lvcc->nref, lvcc->stats.rx_nomem); in lanai_proc_read()
484 .nref = REFCOUNT_INIT(1),