Lines Matching refs:hwev
336 struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); in alloc_pebs_buffer() local
337 struct debug_store *ds = hwev->ds; in alloc_pebs_buffer()
361 hwev->ds_pebs_vaddr = buffer; in alloc_pebs_buffer()
374 struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); in release_pebs_buffer() local
386 dsfree_pages(hwev->ds_pebs_vaddr, x86_pmu.pebs_buffer_size); in release_pebs_buffer()
387 hwev->ds_pebs_vaddr = NULL; in release_pebs_buffer()
392 struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); in alloc_bts_buffer() local
393 struct debug_store *ds = hwev->ds; in alloc_bts_buffer()
405 hwev->ds_bts_vaddr = buffer; in alloc_bts_buffer()
421 struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); in release_bts_buffer() local
430 dsfree_pages(hwev->ds_bts_vaddr, BTS_BUFFER_SIZE); in release_bts_buffer()
431 hwev->ds_bts_vaddr = NULL; in release_bts_buffer()