Home
last modified time | relevance | path

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

/Linux-v6.1/net/ceph/
Dsnapshot.c39 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()
/Linux-v6.1/fs/ceph/
Dsnap.c76 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()
Dsuper.h205 refcount_t nref; member
235 if (refcount_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap()
874 atomic_t nref; member
Dcaps.c1604 refcount_inc(&capsnap->nref); in __ceph_flush_snaps()
2503 refcount_inc(&capsnap->nref); in __kick_flushing_caps()
/Linux-v6.1/drivers/clk/
Dclk-xgene.c77 u32 nref; in xgene_clk_pll_recalc_rate() local
97 nref = CLKR_RD(pll) + 1; in xgene_clk_pll_recalc_rate()
100 fref = parent_rate / nref; in xgene_clk_pll_recalc_rate()
/Linux-v6.1/include/linux/ceph/
Dlibceph.h174 refcount_t nref; member
/Linux-v6.1/drivers/atm/
Dlanai.c229 int nref; /* # of atm_vcc's who reference us */ member
2300 if (--lvcc->nref == 0) { in lanai_close()
2336 lvcc->nref++; in lanai_open()
2507 lvcc->nref, lvcc->stats.rx_nomem); in lanai_proc_read()
/Linux-v6.1/drivers/block/
Drbd.c484 .nref = REFCOUNT_INIT(1),