n_events 37 arch/alpha/kernel/perf_event.c int n_events; n_events 399 arch/alpha/kernel/perf_event.c for (j = 0; j < cpuc->n_events; j++) { n_events 411 arch/alpha/kernel/perf_event.c for (j = 0; j < cpuc->n_events; j++) { n_events 456 arch/alpha/kernel/perf_event.c n0 = cpuc->n_events; n_events 463 arch/alpha/kernel/perf_event.c cpuc->n_events++; n_events 495 arch/alpha/kernel/perf_event.c for (j = 0; j < cpuc->n_events; j++) { n_events 502 arch/alpha/kernel/perf_event.c while (++j < cpuc->n_events) { n_events 514 arch/alpha/kernel/perf_event.c cpuc->n_events--; n_events 730 arch/alpha/kernel/perf_event.c if (cpuc->n_events > 0) { n_events 834 arch/alpha/kernel/perf_event.c for (j = 0; j < cpuc->n_events; j++) { n_events 839 arch/alpha/kernel/perf_event.c if (unlikely(j == cpuc->n_events)) { n_events 34 arch/arc/kernel/perf_event.c int n_events; n_events 212 arch/arc/kernel/perf_event.c if (event->attr.config >= arc_pmu->n_events) n_events 515 arch/arc/kernel/perf_event.c arc_pmu->attr = devm_kmalloc_array(dev, arc_pmu->n_events + 1, n_events 520 arch/arc/kernel/perf_event.c arc_pmu->attrs = devm_kmalloc_array(dev, arc_pmu->n_events + 1, n_events 525 arch/arc/kernel/perf_event.c arc_pmu->raw_entry = devm_kmalloc_array(dev, arc_pmu->n_events, n_events 594 arch/arc/kernel/perf_event.c arc_pmu->n_events = cc_bcr.c; n_events 31 arch/powerpc/perf/core-book3s.c int n_events; n_events 1295 arch/powerpc/perf/core-book3s.c if (cpuhw->n_events == 0) { n_events 1326 arch/powerpc/perf/core-book3s.c if (ppmu->compute_mmcr(cpuhw->events, cpuhw->n_events, hwc_index, n_events 1365 arch/powerpc/perf/core-book3s.c for (i = 0; i < cpuhw->n_events; ++i) { n_events 1378 arch/powerpc/perf/core-book3s.c for (i = 0; i < cpuhw->n_events; ++i) { n_events 1484 arch/powerpc/perf/core-book3s.c n0 = cpuhw->n_events; n_events 1519 arch/powerpc/perf/core-book3s.c ++cpuhw->n_events; n_events 1550 arch/powerpc/perf/core-book3s.c for (i = 0; i < cpuhw->n_events; ++i) { n_events 1552 arch/powerpc/perf/core-book3s.c while (++i < cpuhw->n_events) { n_events 1557 arch/powerpc/perf/core-book3s.c --cpuhw->n_events; n_events 1577 arch/powerpc/perf/core-book3s.c if (cpuhw->n_events == 0) { n_events 1668 arch/powerpc/perf/core-book3s.c cpuhw->n_txn_start = cpuhw->n_events; n_events 1712 arch/powerpc/perf/core-book3s.c n = cpuhw->n_events; n_events 2211 arch/powerpc/perf/core-book3s.c for (j = 0; j < cpuhw->n_events; ++j) { n_events 2225 arch/powerpc/perf/core-book3s.c for (i = 0; i < cpuhw->n_events; ++i) { n_events 20 arch/powerpc/perf/core-fsl-emb.c int n_events; n_events 253 arch/powerpc/perf/core-fsl-emb.c ppc_set_pmu_inuse(cpuhw->n_events != 0); n_events 255 arch/powerpc/perf/core-fsl-emb.c if (cpuhw->n_events > 0) { n_events 319 arch/powerpc/perf/core-fsl-emb.c ++cpuhw->n_events; n_events 380 arch/powerpc/perf/core-fsl-emb.c cpuhw->n_events--; n_events 52 arch/riscv/include/asm/perf_event.h int n_events; n_events 302 arch/riscv/kernel/perf_event.c if (cpuc->n_events == riscv_pmu->num_counters) n_events 315 arch/riscv/kernel/perf_event.c cpuc->n_events++; n_events 334 arch/riscv/kernel/perf_event.c cpuc->n_events--; n_events 83 arch/sparc/kernel/perf_event.c int n_events; n_events 927 arch/sparc/kernel/perf_event.c for (i = 0; i < cpuc->n_events; i++) { n_events 955 arch/sparc/kernel/perf_event.c for (i = 0; i < cpuc->n_events; i++) { n_events 990 arch/sparc/kernel/perf_event.c for (i = 0; i < cpuc->n_events; i++) { n_events 1006 arch/sparc/kernel/perf_event.c for (i = 0; i < cpuc->n_events; i++) { n_events 1040 arch/sparc/kernel/perf_event.c if (cpuc->n_events) n_events 1073 arch/sparc/kernel/perf_event.c for (i = 0; i < cpuc->n_events; i++) { n_events 1077 arch/sparc/kernel/perf_event.c BUG_ON(i == cpuc->n_events); n_events 1122 arch/sparc/kernel/perf_event.c for (i = 0; i < cpuc->n_events; i++) { n_events 1132 arch/sparc/kernel/perf_event.c while (++i < cpuc->n_events) { n_events 1141 arch/sparc/kernel/perf_event.c cpuc->n_events--; n_events 1380 arch/sparc/kernel/perf_event.c n0 = cpuc->n_events; n_events 1406 arch/sparc/kernel/perf_event.c cpuc->n_events++; n_events 1565 arch/sparc/kernel/perf_event.c n = cpuc->n_events; n_events 1652 arch/sparc/kernel/perf_event.c for (i = 0; i < cpuc->n_events; i++) { n_events 888 arch/x86/events/core.c n0 = cpuc->n_events; n_events 1012 arch/x86/events/core.c n = cpuc->n_events; n_events 1013 arch/x86/events/core.c if (!cpuc->n_events) n_events 1127 arch/x86/events/core.c int n_running = cpuc->n_events - cpuc->n_added; n_events 1161 arch/x86/events/core.c for (i = 0; i < cpuc->n_events; i++) { n_events 1276 arch/x86/events/core.c n0 = cpuc->n_events; n_events 1310 arch/x86/events/core.c cpuc->n_events = n; n_events 1456 arch/x86/events/core.c for (i = 0; i < cpuc->n_events; i++) { n_events 1461 arch/x86/events/core.c if (WARN_ON_ONCE(i == cpuc->n_events)) /* called ->del() without ->add() ? */ n_events 1465 arch/x86/events/core.c if (i >= cpuc->n_events - cpuc->n_added) n_events 1472 arch/x86/events/core.c while (++i < cpuc->n_events) { n_events 1477 arch/x86/events/core.c --cpuc->n_events; n_events 1931 arch/x86/events/core.c __this_cpu_sub(cpu_hw_events.n_events, __this_cpu_read(cpu_hw_events.n_txn)); n_events 1955 arch/x86/events/core.c n = cpuc->n_events; n_events 2063 arch/x86/events/core.c fake_cpuc->n_events = n; n_events 2068 arch/x86/events/core.c fake_cpuc->n_events = 0; n_events 363 arch/x86/events/intel/uncore.c if (box->n_events >= max_count) n_events 366 arch/x86/events/intel/uncore.c n = box->n_events; n_events 578 arch/x86/events/intel/uncore.c for (i = 0; i < box->n_events; i++) { n_events 603 arch/x86/events/intel/uncore.c else if (i < box->n_events) n_events 611 arch/x86/events/intel/uncore.c box->n_events = n; n_events 631 arch/x86/events/intel/uncore.c for (i = 0; i < box->n_events; i++) { n_events 635 arch/x86/events/intel/uncore.c for (++i; i < box->n_events; i++) n_events 638 arch/x86/events/intel/uncore.c --box->n_events; n_events 683 arch/x86/events/intel/uncore.c fake_box->n_events = n; n_events 688 arch/x86/events/intel/uncore.c fake_box->n_events = n; n_events 117 arch/x86/events/intel/uncore.h int n_events; n_events 196 arch/x86/events/perf_event.h int n_events; /* the # of events in the below arrays */ n_events 463 drivers/input/evdev.c unsigned int n_events = n_events 467 drivers/input/evdev.c return roundup_pow_of_two(n_events); n_events 191 drivers/input/keyboard/gpio_keys.c int n_events = get_n_events_by_type(type); n_events 196 drivers/input/keyboard/gpio_keys.c bits = bitmap_zalloc(n_events, GFP_KERNEL); n_events 212 drivers/input/keyboard/gpio_keys.c ret = scnprintf(buf, PAGE_SIZE - 1, "%*pbl", n_events, bits); n_events 234 drivers/input/keyboard/gpio_keys.c int n_events = get_n_events_by_type(type); n_events 240 drivers/input/keyboard/gpio_keys.c bits = bitmap_zalloc(n_events, GFP_KERNEL); n_events 244 drivers/input/keyboard/gpio_keys.c error = bitmap_parselist(buf, bits, n_events); n_events 249 drivers/input/keyboard/gpio_keys.c if (!bitmap_subset(bits, bitmap, n_events)) { n_events 117 drivers/input/touchscreen/s6sy761.c static int s6sy761_read_events(struct s6sy761_data *sdata, u16 n_events) n_events 129 drivers/input/touchscreen/s6sy761.c .len = (n_events * S6SY761_EVENT_SIZE), n_events 197 drivers/input/touchscreen/s6sy761.c static void s6sy761_handle_events(struct s6sy761_data *sdata, u8 n_events) n_events 201 drivers/input/touchscreen/s6sy761.c for (i = 0; i < n_events; i++) { n_events 227 drivers/input/touchscreen/s6sy761.c u8 n_events; n_events 241 drivers/input/touchscreen/s6sy761.c n_events = sdata->data[7] & S6SY761_MASK_LEFT_EVENTS; n_events 242 drivers/input/touchscreen/s6sy761.c if (unlikely(n_events > S6SY761_EVENT_COUNT - 1)) n_events 245 drivers/input/touchscreen/s6sy761.c if (n_events) { n_events 246 drivers/input/touchscreen/s6sy761.c ret = s6sy761_read_events(sdata, n_events); n_events 253 drivers/input/touchscreen/s6sy761.c s6sy761_handle_events(sdata, n_events + 1); n_events 461 include/linux/input.h static inline void input_set_events_per_packet(struct input_dev *dev, int n_events) n_events 463 include/linux/input.h dev->hint_events_per_packet = n_events;