Searched refs:pebs (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/mtd/ubi/ |
H A D | vmt.c | 445 int i, err, pebs; in ubi_resize_volume() local 483 pebs = reserved_pebs - vol->reserved_pebs; in ubi_resize_volume() 484 if (pebs > 0) { in ubi_resize_volume() 486 if (pebs > ubi->avail_pebs) { in ubi_resize_volume() 488 pebs, ubi->avail_pebs); in ubi_resize_volume() 497 ubi->avail_pebs -= pebs; in ubi_resize_volume() 498 ubi->rsvd_pebs += pebs; in ubi_resize_volume() 506 if (pebs < 0) { in ubi_resize_volume() 507 for (i = 0; i < -pebs; i++) { in ubi_resize_volume() 513 ubi->rsvd_pebs += pebs; in ubi_resize_volume() [all …]
|
H A D | fastmap-wl.c | 61 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() 358 pnum = pool->pebs[pool->used]; in next_peb_for_wl() 418 pnum = pool->pebs[pool->used++]; in get_peb_for_wl()
|
H A D | fastmap.c | 401 __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 D | ubi-media.h | 453 __be32 pebs[UBI_FM_MAX_POOL_SIZE]; member
|
H A D | ubi.h | 253 int pebs[UBI_FM_MAX_POOL_SIZE]; member
|
/linux/arch/x86/events/intel/ |
H A D | ds.c | 606 if (!x86_pmu.pebs) in alloc_pebs_buffer() 641 if (!x86_pmu.pebs) in release_pebs_buffer() 716 if (!x86_pmu.bts && !x86_pmu.pebs) in release_ds_buffers() 745 if (!x86_pmu.bts && !x86_pmu.pebs) in reserve_ds_buffers() 751 if (!x86_pmu.pebs) in reserve_ds_buffers() 787 if (x86_pmu.pebs && !pebs_err) in reserve_ds_buffers() 1735 struct pebs_record_skl *pebs = __pebs; in setup_pebs_fixed_sample_data() local 1739 if (pebs == NULL) in setup_pebs_fixed_sample_data() 1753 data->weight.full = pebs->lat; in setup_pebs_fixed_sample_data() 1761 data->data_src.val = get_data_src(event, pebs->dse); in setup_pebs_fixed_sample_data() [all …]
|
H A D | p4.c | 36 #define P4_GEN_PEBS_BIND(name, pebs, vert) \ argument 38 .metric_pebs = pebs | P4_PEBS_ENABLE_UOP_TAG, \
|
H A D | core.c | 4201 if (!x86_pmu.pebs) in intel_guest_get_msrs() 5339 x86_pmu.pebs = 0; in intel_clovertown_quirk() 5837 return x86_pmu.pebs ? attr->mode : 0; in pebs_is_visible()
|
/linux/arch/x86/kvm/ |
H A D | pmu.c | 192 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/arch/x86/events/ |
H A D | core.c | 1528 u64 pebs, debugctl; in perf_event_print_debug() local 1554 rdmsrl(MSR_IA32_PEBS_ENABLE, pebs); in perf_event_print_debug() 1555 pr_info("CPU#%d: pebs: %016llx\n", cpu, pebs); in perf_event_print_debug()
|
H A D | perf_event.h | 870 pebs :1, member
|
/linux/tools/perf/util/ |
H A D | intel-pt.c | 228 struct intel_pt_pebs_event pebs[INTEL_PT_MAX_PEBS]; member 2391 pe = &ptq->pebs[hw_id]; in intel_pt_synth_pebs_sample() 3376 ptq->pebs[hw_id].evsel = evsel; in intel_pt_process_aux_output_hw_id() 3377 ptq->pebs[hw_id].id = sample->id; in intel_pt_process_aux_output_hw_id()
|