Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_ds.c256 if (!x86_pmu.pebs) in alloc_pebs_buffer()
293 if (!ds || !x86_pmu.pebs) in release_pebs_buffer()
372 if (!x86_pmu.bts && !x86_pmu.pebs) in release_ds_buffers()
395 if (!x86_pmu.bts && !x86_pmu.pebs) in reserve_ds_buffers()
401 if (!x86_pmu.pebs) in reserve_ds_buffers()
439 if (x86_pmu.pebs && !pebs_err) in reserve_ds_buffers()
830 static inline u64 intel_hsw_weight(struct pebs_record_hsw *pebs) in intel_hsw_weight() argument
832 if (pebs->tsx_tuning) { in intel_hsw_weight()
833 union hsw_tsx_tuning tsx = { .value = pebs->tsx_tuning }; in intel_hsw_weight()
839 static inline u64 intel_hsw_transaction(struct pebs_record_hsw *pebs) in intel_hsw_transaction() argument
[all …]
Dperf_event_p4.c36 #define P4_GEN_PEBS_BIND(name, pebs, vert) \ argument
38 .metric_pebs = pebs | P4_PEBS_ENABLE_UOP_TAG, \
Dperf_event.c1227 u64 pebs, debugctl; in perf_event_print_debug() local
1252 rdmsrl(MSR_IA32_PEBS_ENABLE, pebs); in perf_event_print_debug()
1253 pr_info("CPU#%d: pebs: %016llx\n", cpu, pebs); in perf_event_print_debug()
Dperf_event.h576 pebs :1, member
Dperf_event_intel.c2797 x86_pmu.pebs = 0; in intel_clovertown_quirk()
/linux-4.1.27/drivers/mtd/ubi/
Dvmt.c478 int i, err, pebs, *new_mapping; in ubi_resize_volume() local
517 pebs = reserved_pebs - vol->reserved_pebs; in ubi_resize_volume()
518 if (pebs > 0) { in ubi_resize_volume()
520 if (pebs > ubi->avail_pebs) { in ubi_resize_volume()
522 pebs, ubi->avail_pebs); in ubi_resize_volume()
530 ubi->avail_pebs -= pebs; in ubi_resize_volume()
531 ubi->rsvd_pebs += pebs; in ubi_resize_volume()
546 if (pebs < 0) { in ubi_resize_volume()
547 for (i = 0; i < -pebs; i++) { in ubi_resize_volume()
553 ubi->rsvd_pebs += pebs; in ubi_resize_volume()
[all …]
Dfastmap-wl.c63 e = ubi->lookuptbl[pool->pebs[i]]; in return_unused_pool_pebs()
144 pool->pebs[pool->size] = e->pnum; in ubi_refill_pools()
159 wl_pool->pebs[wl_pool->size] = e->pnum; in ubi_refill_pools()
220 ret = pool->pebs[pool->used++]; in ubi_wl_get_peb()
247 pnum = pool->pebs[pool->used++]; in get_peb_for_wl()
Dfastmap.c451 int *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool() argument
479 pnum = be32_to_cpu(pebs[i]); in scan_pool()
799 ret = scan_pool(ubi, ai, fmpl1->pebs, pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
803 ret = scan_pool(ubi, ai, fmpl2->pebs, wl_pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
1152 fmpl1->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]); in ubi_write_fastmap()
1153 set_seen(ubi, ubi->fm_pool.pebs[i], seen_pebs); in ubi_write_fastmap()
1163 fmpl2->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); in ubi_write_fastmap()
1164 set_seen(ubi, ubi->fm_wl_pool.pebs[i], seen_pebs); in ubi_write_fastmap()
Dubi-media.h463 __be32 pebs[UBI_FM_MAX_POOL_SIZE]; member
Dcdev.c912 int pebs; in ubi_cdev_ioctl() local
932 pebs = div_u64(req.bytes + desc->vol->usable_leb_size - 1, in ubi_cdev_ioctl()
936 err = ubi_resize_volume(desc, pebs); in ubi_cdev_ioctl()
Dubi.h259 int pebs[UBI_FM_MAX_POOL_SIZE]; member