Home
last modified time | relevance | path

Searched refs:pebs (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/drivers/mtd/ubi/
H A Dvmt.c447 int i, err, pebs; in ubi_resize_volume() local
486 if (pebs > 0) { in ubi_resize_volume()
499 ubi->avail_pebs -= pebs; in ubi_resize_volume()
500 ubi->rsvd_pebs += pebs; in ubi_resize_volume()
508 if (pebs < 0) { in ubi_resize_volume()
515 ubi->rsvd_pebs += pebs; in ubi_resize_volume()
516 ubi->avail_pebs -= pebs; in ubi_resize_volume()
530 if (pebs < 0) { in ubi_resize_volume()
559 ubi->rsvd_pebs -= pebs; in ubi_resize_volume()
560 ubi->avail_pebs += pebs; in ubi_resize_volume()
[all …]
H A Dfastmap-wl.c61 e = ubi->lookuptbl[pool->pebs[i]]; in return_unused_pool_pebs()
230 pool->pebs[pool->size] = e->pnum; in ubi_refill_pools_and_lock()
247 wl_pool->pebs[wl_pool->size] = e->pnum; in ubi_refill_pools_and_lock()
337 ret = pool->pebs[pool->used++]; in ubi_wl_get_peb()
371 pnum = pool->pebs[pool->used]; in next_peb_for_wl()
431 pnum = pool->pebs[pool->used++]; in get_peb_for_wl()
H A Dfastmap.c401 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool() argument
432 pnum = be32_to_cpu(pebs[i]); in scan_pool()
765 ret = scan_pool(ubi, ai, fmpl->pebs, pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
769 ret = scan_pool(ubi, ai, fmpl_wl->pebs, wl_pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
1206 fmpl->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]); in ubi_write_fastmap()
1207 set_seen(ubi, ubi->fm_pool.pebs[i], seen_pebs); in ubi_write_fastmap()
1217 fmpl_wl->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); in ubi_write_fastmap()
1218 set_seen(ubi, ubi->fm_wl_pool.pebs[i], seen_pebs); in ubi_write_fastmap()
H A Dubi-media.h453 __be32 pebs[UBI_FM_MAX_POOL_SIZE]; member
H A Dcdev.c974 int pebs; in ubi_cdev_ioctl() local
994 pebs = div_u64(req.bytes + desc->vol->usable_leb_size - 1, in ubi_cdev_ioctl()
998 err = ubi_resize_volume(desc, pebs); in ubi_cdev_ioctl()
H A Dubi.h253 int pebs[UBI_FM_MAX_POOL_SIZE]; member
/linux-6.15/arch/x86/events/intel/
H A Dds.c627 if (!x86_pmu.pebs) in alloc_pebs_buffer()
662 if (!x86_pmu.pebs) in release_pebs_buffer()
772 if (!x86_pmu.pebs) in reserve_ds_buffers()
1823 if (pebs == NULL) in setup_pebs_fixed_sample_data()
1874 regs->ax = pebs->ax; in setup_pebs_fixed_sample_data()
1875 regs->bx = pebs->bx; in setup_pebs_fixed_sample_data()
1876 regs->cx = pebs->cx; in setup_pebs_fixed_sample_data()
1877 regs->dx = pebs->dx; in setup_pebs_fixed_sample_data()
1878 regs->si = pebs->si; in setup_pebs_fixed_sample_data()
2690 if (x86_pmu.pebs) { in intel_ds_init()
[all …]
H A Dp4.c37 #define P4_GEN_PEBS_BIND(name, pebs, vert) \ argument
39 .metric_pebs = pebs | P4_PEBS_ENABLE_UOP_TAG, \
H A Dcore.c4357 if (!x86_pmu.pebs) in intel_guest_get_msrs()
5527 x86_pmu.pebs = 0; in intel_clovertown_quirk()
6015 return x86_pmu.pebs ? attr->mode : 0; in pebs_is_visible()
/linux-6.15/arch/x86/kvm/
H A Dpmu.c192 bool pebs = test_bit(pmc->idx, (unsigned long *)&pmu->pebs_enable); in pmc_reprogram_counter() local
205 if (pebs) { in pmc_reprogram_counter()
226 pmc->intr = intr || pebs; in pmc_reprogram_counter()
/linux-6.15/arch/x86/events/
H A Dcore.c1538 u64 pebs, debugctl; in perf_event_print_debug() local
1564 rdmsrl(MSR_IA32_PEBS_ENABLE, pebs); in perf_event_print_debug()
1565 pr_info("CPU#%d: pebs: %016llx\n", cpu, pebs); in perf_event_print_debug()
H A Dperf_event.h881 pebs :1, member
/linux-6.15/tools/perf/util/
H A Dintel-pt.c228 struct intel_pt_pebs_event pebs[INTEL_PT_MAX_PEBS]; member
2436 pe = &ptq->pebs[hw_id]; in intel_pt_synth_pebs_sample()
3428 ptq->pebs[hw_id].evsel = evsel; in intel_pt_process_aux_output_hw_id()
3429 ptq->pebs[hw_id].id = sample->id; in intel_pt_process_aux_output_hw_id()