Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_ds.c278 if (!x86_pmu.pebs) in alloc_pebs_buffer()
312 if (!ds || !x86_pmu.pebs) in release_pebs_buffer()
391 if (!x86_pmu.bts && !x86_pmu.pebs) in release_ds_buffers()
414 if (!x86_pmu.bts && !x86_pmu.pebs) in reserve_ds_buffers()
420 if (!x86_pmu.pebs) in reserve_ds_buffers()
458 if (x86_pmu.pebs && !pebs_err) in reserve_ds_buffers()
961 static inline u64 intel_hsw_weight(struct pebs_record_skl *pebs) in intel_hsw_weight() argument
963 if (pebs->tsx_tuning) { in intel_hsw_weight()
964 union hsw_tsx_tuning tsx = { .value = pebs->tsx_tuning }; in intel_hsw_weight()
970 static inline u64 intel_hsw_transaction(struct pebs_record_skl *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.c1245 u64 pebs, debugctl; in perf_event_print_debug() local
1270 rdmsrl(MSR_IA32_PEBS_ENABLE, pebs); in perf_event_print_debug()
1271 pr_info("CPU#%d: pebs: %016llx\n", cpu, pebs); in perf_event_print_debug()
Dperf_event.h590 pebs :1, member
Dperf_event_intel.c3040 x86_pmu.pebs = 0; in intel_clovertown_quirk()
/linux-4.4.14/drivers/mtd/ubi/
Dvmt.c430 int i, err, pebs, *new_mapping; in ubi_resize_volume() local
469 pebs = reserved_pebs - vol->reserved_pebs; in ubi_resize_volume()
470 if (pebs > 0) { in ubi_resize_volume()
472 if (pebs > ubi->avail_pebs) { in ubi_resize_volume()
474 pebs, ubi->avail_pebs); in ubi_resize_volume()
482 ubi->avail_pebs -= pebs; in ubi_resize_volume()
483 ubi->rsvd_pebs += pebs; in ubi_resize_volume()
498 if (pebs < 0) { in ubi_resize_volume()
499 for (i = 0; i < -pebs; i++) { in ubi_resize_volume()
505 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()
249 ret = pool->pebs[pool->used++]; in ubi_wl_get_peb()
276 pnum = pool->pebs[pool->used++]; in get_peb_for_wl()
Dfastmap.c453 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool() argument
481 pnum = be32_to_cpu(pebs[i]); in scan_pool()
806 ret = scan_pool(ubi, ai, fmpl->pebs, pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
810 ret = scan_pool(ubi, ai, fmpl_wl->pebs, wl_pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
1159 fmpl->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]); in ubi_write_fastmap()
1160 set_seen(ubi, ubi->fm_pool.pebs[i], seen_pebs); in ubi_write_fastmap()
1170 fmpl_wl->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); in ubi_write_fastmap()
1171 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