Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/fs/ceph/
Dsnap.c77 if (atomic_inc_not_zero(&realm->nref)) in ceph_get_snap_realm()
81 if (atomic_inc_return(&realm->nref) == 1) in ceph_get_snap_realm()
127 atomic_set(&realm->nref, 2); in ceph_create_snap_realm()
129 atomic_set(&realm->nref, 1); in ceph_create_snap_realm()
221 if (atomic_dec_and_test(&realm->nref)) in __put_snap_realm()
231 if (!atomic_dec_and_lock(&realm->nref, &mdsc->snap_empty_lock)) in ceph_put_snap_realm()
742 refcount_set(&capsnap->nref, 1); in queue_realm_cap_snaps()
Dsuper.h221 refcount_t nref; member
251 if (refcount_dec_and_test(&capsnap->nref)) { in ceph_put_cap_snap()
916 atomic_t nref; member
Dcaps.c1666 refcount_inc(&capsnap->nref); in __ceph_flush_snaps()
2569 refcount_inc(&capsnap->nref); in __kick_flushing_caps()
/linux-6.6.21/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-6.6.21/include/linux/ceph/
Dlibceph.h164 refcount_t nref; member
/linux-6.6.21/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-6.6.21/drivers/block/
Drbd.c484 .nref = REFCOUNT_INIT(1),