Searched refs:pebs (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_ds.c | 256 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 …]
|
D | perf_event_p4.c | 36 #define P4_GEN_PEBS_BIND(name, pebs, vert) \ argument 38 .metric_pebs = pebs | P4_PEBS_ENABLE_UOP_TAG, \
|
D | perf_event.c | 1227 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()
|
D | perf_event.h | 576 pebs :1, member
|
D | perf_event_intel.c | 2797 x86_pmu.pebs = 0; in intel_clovertown_quirk()
|
/linux-4.1.27/drivers/mtd/ubi/ |
D | vmt.c | 478 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 …]
|
D | fastmap-wl.c | 63 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()
|
D | fastmap.c | 451 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()
|
D | ubi-media.h | 463 __be32 pebs[UBI_FM_MAX_POOL_SIZE]; member
|
D | cdev.c | 912 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()
|
D | ubi.h | 259 int pebs[UBI_FM_MAX_POOL_SIZE]; member
|