Home
last modified time | relevance | path

Searched refs:last_period (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v5.4/drivers/staging/exfat/
Dexfat_nls.c127 u16 *p, *last_period; in nls_uniname_to_dosname() local
151 last_period = NULL; in nls_uniname_to_dosname()
154 last_period = p; in nls_uniname_to_dosname()
160 if (!last_period) in nls_uniname_to_dosname()
163 if (uniname <= last_period) { in nls_uniname_to_dosname()
164 if (uniname < last_period) in nls_uniname_to_dosname()
166 uniname = last_period + 1; in nls_uniname_to_dosname()
175 if (uniname < last_period) in nls_uniname_to_dosname()
/Linux-v5.4/include/trace/events/
Diocost.h17 u64 last_period, u64 cur_period, u64 vtime),
19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime),
27 __field(u64, last_period)
43 __entry->last_period = last_period;
58 __entry->last_period, __entry->cur_period,
/Linux-v5.4/arch/xtensa/kernel/
Dperf_event.c169 hwc->last_period = period; in xtensa_perf_event_set_period()
174 hwc->last_period = period; in xtensa_perf_event_set_period()
371 u64 last_period; in xtensa_pmu_irq_handler() local
378 last_period = hwc->last_period; in xtensa_pmu_irq_handler()
383 perf_sample_data_init(&data, 0, last_period); in xtensa_pmu_irq_handler()
/Linux-v5.4/arch/powerpc/perf/
Dcore-fsl-emb.c559 event->hw.last_period = event->hw.sample_period; in fsl_emb_pmu_event_init()
560 local64_set(&event->hw.period_left, event->hw.last_period); in fsl_emb_pmu_event_init()
631 event->hw.last_period = event->hw.sample_period; in record_and_restart()
648 perf_sample_data_init(&data, 0, event->hw.last_period); in record_and_restart()
Dcore-book3s.c1971 event->hw.last_period = event->hw.sample_period; in power_pmu_event_init()
1972 local64_set(&event->hw.period_left, event->hw.last_period); in power_pmu_event_init()
2069 event->hw.last_period = event->hw.sample_period; in record_and_restart()
2086 perf_sample_data_init(&data, ~0ULL, event->hw.last_period); in record_and_restart()
/Linux-v5.4/arch/alpha/kernel/
Dperf_event.c262 hwc->last_period = period; in alpha_perf_event_set_period()
269 hwc->last_period = period; in alpha_perf_event_set_period()
680 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
857 perf_sample_data_init(&data, 0, hwc->last_period); in alpha_perf_event_irq_handler()
/Linux-v5.4/arch/arc/kernel/
Dperf_event.c174 hwc->last_period = hwc->sample_period; in arc_pmu_event_init()
256 hwc->last_period = period; in arc_pmu_event_set_period()
262 hwc->last_period = period; in arc_pmu_event_set_period()
439 perf_sample_data_init(&data, 0, hwc->last_period); in arc_pmu_intr()
/Linux-v5.4/arch/nds32/kernel/
Dperf_event_cpu.c192 if (unlikely(period != hwc->last_period)) in nds32_pmu_event_set_period()
193 left = period - (hwc->last_period - left); in nds32_pmu_event_set_period()
198 hwc->last_period = period; in nds32_pmu_event_set_period()
205 hwc->last_period = period; in nds32_pmu_event_set_period()
267 perf_sample_data_init(&data, 0, hwc->last_period); in nds32_pmu_handle_irq()
845 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/Linux-v5.4/arch/x86/events/amd/
Dibs.c123 hwc->last_period = period; in perf_event_set_period()
130 hwc->last_period = period; in perf_event_set_period()
307 hwc->last_period = hwc->sample_period; in perf_ibs_init()
608 perf_sample_data_init(&data, 0, hwc->last_period); in perf_ibs_handle_irq()
/Linux-v5.4/drivers/perf/
Darm_pmu.c133 hwc->last_period = period; in armpmu_event_set_period()
140 hwc->last_period = period; in armpmu_event_set_period()
410 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/Linux-v5.4/arch/sparc/kernel/
Dperf_event.c895 if (unlikely(period != hwc->last_period)) in sparc_perf_event_set_period()
896 left = period - (hwc->last_period - left); in sparc_perf_event_set_period()
901 hwc->last_period = period; in sparc_perf_event_set_period()
908 hwc->last_period = period; in sparc_perf_event_set_period()
1500 hwc->last_period = hwc->sample_period; in sparc_pmu_event_init()
1667 perf_sample_data_init(&data, 0, hwc->last_period); in perf_event_nmi_handler()
/Linux-v5.4/arch/s390/kernel/
Dperf_cpum_cf_diag.c233 event->hw.last_period = event->hw.sample_period; in __hw_perf_event_init()
496 perf_sample_data_init(&data, 0, event->hw.last_period); in cf_diag_push_sample()
Dperf_cpum_sf.c597 hwc->last_period = hwc->sample_period; in hw_init_period()
1068 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_push_sample()
/Linux-v5.4/sound/pci/echoaudio/
Dechoaudio.h335 int last_period[DSP_MAXPIPES]; member
Dechoaudio.c595 chip->last_period[pipe_index] = 0; in init_engine()
752 chip->last_period[i] = 0; in pcm_trigger()
1829 if (period != chip->last_period[ss]) { in snd_echo_interrupt()
1830 chip->last_period[ss] = period; in snd_echo_interrupt()
/Linux-v5.4/arch/x86/events/intel/
Dknc.c253 perf_sample_data_init(&data, 0, event->hw.last_period); in knc_pmu_handle_irq()
Dds.c613 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_drain_bts_buffer()
1359 perf_sample_data_init(data, 0, event->hw.last_period); in setup_pebs_fixed_sample_data()
1361 data->period = event->hw.last_period; in setup_pebs_fixed_sample_data()
1530 perf_sample_data_init(data, 0, event->hw.last_period); in setup_pebs_adaptive_sample_data()
1531 data->period = event->hw.last_period; in setup_pebs_adaptive_sample_data()
/Linux-v5.4/arch/arm/kernel/
Dperf_event_xscale.c185 perf_sample_data_init(&data, 0, hwc->last_period); in xscale1pmu_handle_irq()
531 perf_sample_data_init(&data, 0, hwc->last_period); in xscale2pmu_handle_irq()
Dperf_event_v6.c343 perf_sample_data_init(&data, 0, hwc->last_period); in armv6pmu_handle_irq()
/Linux-v5.4/arch/mips/kernel/
Dperf_event_mipsxx.c382 hwc->last_period = period; in mipspmu_event_set_period()
388 hwc->last_period = period; in mipspmu_event_set_period()
741 data->period = event->hw.last_period; in handle_associated_event()
1338 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/Linux-v5.4/arch/csky/kernel/
Dperf_event.c888 hwc->last_period = period; in csky_pmu_event_set_period()
895 hwc->last_period = period; in csky_pmu_event_set_period()
1139 perf_sample_data_init(&data, 0, hwc->last_period); in csky_pmu_handle_irq()
/Linux-v5.4/arch/x86/events/
Dcore.c415 hwc->last_period = hwc->sample_period; in x86_setup_perfctr()
1202 hwc->last_period = period; in x86_perf_event_set_period()
1209 hwc->last_period = period; in x86_perf_event_set_period()
1520 perf_sample_data_init(&data, 0, event->hw.last_period); in x86_pmu_handle_irq()
/Linux-v5.4/kernel/events/
Dhw_breakpoint.c628 bp->hw.last_period = bp->hw.sample_period; in hw_breakpoint_add()
/Linux-v5.4/block/
Dblk-iocost.c1030 u64 last_period, cur_period, max_period_delta; in iocg_activate() local
1056 last_period = atomic64_read(&iocg->active_period); in iocg_activate()
1080 if (last_period + max_period_delta < cur_period || in iocg_activate()
1098 last_period, cur_period, vtime); in iocg_activate()
/Linux-v5.4/Documentation/riscv/
Dpmu.rst86 hwc->last_period = hwc->sample_period;

12