Home
last modified time | relevance | path

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

/linux/drivers/mtd/ubi/
H A Dvmt.c447 int i, err, pebs; in ubi_resize_volume() local
485 pebs = reserved_pebs - vol->reserved_pebs; in ubi_resize_volume()
486 if (pebs > 0) { in ubi_resize_volume()
488 if (pebs > ubi->avail_pebs) { in ubi_resize_volume()
490 pebs, ubi->avail_pebs); 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()
509 for (i = 0; i < -pebs; i++) { in ubi_resize_volume()
515 ubi->rsvd_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/arch/x86/events/intel/
H A Dds.c1914 struct pebs_record_skl *pebs = __pebs; in setup_pebs_fixed_sample_data() local
1918 if (pebs == NULL) in setup_pebs_fixed_sample_data()
1930 data->weight.full = pebs->lat; in setup_pebs_fixed_sample_data()
1938 data->data_src.val = get_data_src(event, pebs->dse); in setup_pebs_fixed_sample_data()
1964 regs->flags = pebs->flags & ~PERF_EFLAGS_EXACT; in setup_pebs_fixed_sample_data()
1967 regs->ax = pebs->ax; in setup_pebs_fixed_sample_data()
1968 regs->bx = pebs->bx; in setup_pebs_fixed_sample_data()
1969 regs->cx = pebs->cx; in setup_pebs_fixed_sample_data()
1970 regs->dx = pebs->dx; in setup_pebs_fixed_sample_data()
1971 regs->si = pebs->si; in setup_pebs_fixed_sample_data()
[all …]
/linux/arch/x86/kvm/
H A Dpmu.c249 bool pebs = test_bit(pmc->idx, (unsigned long *)&pmu->pebs_enable); in pmc_reprogram_counter() local
262 if (pebs) { in pmc_reprogram_counter()
283 pmc->intr = intr || pebs; in pmc_reprogram_counter()
/linux/arch/x86/events/
H A Dcore.c1557 u64 pebs, debugctl; in perf_event_print_debug() local
1583 rdmsrq(MSR_IA32_PEBS_ENABLE, pebs); in perf_event_print_debug()
1584 pr_info("CPU#%d: pebs: %016llx\n", cpu, pebs); in perf_event_print_debug()
/linux/tools/perf/util/
H A Dintel-pt.c230 struct intel_pt_pebs_event pebs[INTEL_PT_MAX_PEBS]; member
2590 pe = &ptq->pebs[hw_id]; in intel_pt_synth_pebs_sample()
3625 ptq->pebs[hw_id].evsel = evsel; in intel_pt_process_aux_output_hw_id()
3626 ptq->pebs[hw_id].id = sample->id; in intel_pt_process_aux_output_hw_id()
3627 ptq->pebs[hw_id].data_src_fmt = intel_pt_data_src_fmt(pt, evsel); in intel_pt_process_aux_output_hw_id()