Home
last modified time | relevance | path

Searched refs:refc (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_refcount_item.c288 struct xfs_phys_extent *refc, in xfs_trans_set_refcount_flags()
291 refc->pe_flags = 0; in xfs_trans_set_refcount_flags()
297 refc->pe_flags |= type; in xfs_trans_set_refcount_flags()
309 struct xfs_refcount_intent *refc) in xfs_refcount_update_log_item()
325 ext->pe_startblock = refc->ri_startblock; in xfs_refcount_update_log_item()
326 ext->pe_len = refc->ri_blockcount; in xfs_refcount_update_log_item()
327 xfs_trans_set_refcount_flags(ext, refc->ri_type); in xfs_refcount_update_log_item()
339 struct xfs_refcount_intent *refc; in xfs_refcount_update_create_intent() local
346 list_for_each_entry(refc, items, ri_list) in xfs_refcount_update_create_intent()
347 xfs_refcount_update_log_item(tp, cuip, refc); in xfs_refcount_update_create_intent()
287 xfs_trans_set_refcount_flags( struct xfs_phys_extent *refc, enum xfs_refcount_intent_type type) xfs_trans_set_refcount_flags() argument
306 xfs_refcount_update_log_item( struct xfs_trans *tp, struct xfs_cui_log_item *cuip, struct xfs_refcount_intent *refc) xfs_refcount_update_log_item() argument
369 struct xfs_refcount_intent *refc; xfs_refcount_update_finish_item() local
404 struct xfs_refcount_intent *refc; xfs_refcount_update_cancel_item() local
431 struct xfs_phys_extent *refc; xfs_cui_item_recover() local
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_refcount_btree.c139 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()
149 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()
150 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()
151 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()
164 rec->refc.rc_startblock = cpu_to_be32(start); in xfs_refcountbt_init_rec_from_cur()
165 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()
166 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()
186 const struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()
202 ASSERT(!mask || mask->refc in xfs_refcountbt_diff_two_keys()
[all...]
H A Dxfs_refcount.c110 start = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcount_btrec_to_irec()
119 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec()
120 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); in xfs_refcount_btrec_to_irec()
208 rec.refc.rc_startblock = cpu_to_be32(start); in xfs_refcount_update()
209 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()
210 rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); in xfs_refcount_update()
1061 cur->bc_ag.refc.shape_changes); in xfs_refcount_still_have_space()
1069 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space()
1074 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space()
1079 cur->bc_ag.refc in xfs_refcount_still_have_space()
[all...]
H A Dxfs_btree.h39 struct xfs_refcount_key refc; member
48 struct xfs_refcount_rec refc; member
229 } refc; member
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_refcount_btree.c141 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()
151 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()
152 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()
153 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()
161 rec->refc.rc_startblock = cpu_to_be32(cur->bc_rec.rc.rc_startblock); in xfs_refcountbt_init_rec_from_cur()
162 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()
163 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()
184 struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()
195 return (int64_t)be32_to_cpu(k1->refc in xfs_refcountbt_diff_two_keys()
[all...]
H A Dxfs_refcount.c96 irec->rc_startblock = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcount_btrec_to_irec()
97 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec()
98 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); in xfs_refcount_btrec_to_irec()
173 rec.refc.rc_startblock = cpu_to_be32(irec->rc_startblock); in xfs_refcount_update()
174 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()
175 rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); in xfs_refcount_update()
886 overhead = cur->bc_ag.refc.shape_changes * in xfs_refcount_still_have_space()
894 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space()
899 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space()
904 cur->bc_ag.refc in xfs_refcount_still_have_space()
[all...]
H A Dxfs_btree.h40 struct xfs_refcount_key refc; member
49 struct xfs_refcount_rec refc; member
192 } refc; member
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Dimc-pmu.c55 .refc = 0,
409 ref->refc = 0; in ppc_nest_imc_cpu_offline()
474 if (ref->refc == 0) { in nest_imc_counters_release()
488 ref->refc--; in nest_imc_counters_release()
489 if (ref->refc == 0) { in nest_imc_counters_release()
497 } else if (ref->refc < 0) { in nest_imc_counters_release()
499 ref->refc = 0; in nest_imc_counters_release()
567 if (ref->refc == 0) { in nest_imc_event_init()
577 ++ref->refc; in nest_imc_event_init()
705 * count lock for this core and directly zero "refc" fo in ppc_core_imc_cpu_offline()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/perf/
H A Dimc-pmu.c56 .refc = 0,
416 ref->refc = 0; in ppc_nest_imc_cpu_offline()
481 if (ref->refc == 0) { in nest_imc_counters_release()
495 ref->refc--; in nest_imc_counters_release()
496 if (ref->refc == 0) { in nest_imc_counters_release()
504 } else if (ref->refc < 0) { in nest_imc_counters_release()
506 ref->refc = 0; in nest_imc_counters_release()
574 if (ref->refc == 0) { in nest_imc_event_init()
584 ++ref->refc; in nest_imc_event_init()
712 * count lock for this core and directly zero "refc" fo in ppc_core_imc_cpu_offline()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/loongson/
H A Dloongson_crtc.c82 unsigned int pstdiv, loopc, refc; in cal_freq() local
91 /*try each refc*/ in cal_freq()
93 refc = refc_set[i]; in cal_freq()
94 loopc_min = (1200 / PLL_REF_CLK_MHZ) * refc; /*1200 / (PLL_REF_CLK_MHZ / refc)*/ in cal_freq()
95 loopc_max = (3200 / PLL_REF_CLK_MHZ) * refc; /*3200 / (PLL_REF_CLK_MHZ / refc)*/ in cal_freq()
96 loopc_mid = (2200 / PLL_REF_CLK_MHZ) * refc; /*(loopc_min + loopc_max) / 2;*/ in cal_freq()
106 pstdiv = loopc * PLL_REF_CLK_MHZ * 1000 / refc / pixclock; in cal_freq()
112 real_dvo = (loopc * PLL_REF_CLK_MHZ * 1000 / refc); in cal_freq()
[all...]
/kernel/linux/linux-5.10/drivers/staging/android/
H A Dashmem.h34 int refc; member
H A Dashmem.c987 pmdata->refc = asma->ref_count; in get_purgeable_ashmem_metadata()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dimc-pmu.h142 int refc; member
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dimc-pmu.h142 int refc; member
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Drefcount.c109 /* Confirm that a single-owner refc extent is a CoW stage. */ in xchk_refcountbt_rmap_check()
183 * Find all the rmaps that start at or before the refc extent, in xchk_refcountbt_process_rmap_fragments()
343 bno = be32_to_cpu(rec->refc.rc_startblock); in xchk_refcountbt_rec()
344 len = be32_to_cpu(rec->refc.rc_blockcount); in xchk_refcountbt_rec()
345 refcount = be32_to_cpu(rec->refc.rc_refcount); in xchk_refcountbt_rec()
369 /* Make sure we have as many refc blocks as the rmap says. */
/kernel/linux/linux-5.10/mm/
H A Dpurgeable_ashmem_trigger.c38 pmdata.refc, pmdata.purged); in purgeable_ashmem_trigger_cb()
/kernel/linux/linux-6.6/mm/
H A Dpurgeable_ashmem_trigger.c38 pmdata.refc, pmdata.purged); in purgeable_ashmem_trigger_cb()

Completed in 15 milliseconds