Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/sh/include/asm/
Dperf_event.h18 unsigned int max_events; member
/Linux-v5.4/tools/perf/util/
Devsel_config.h44 unsigned long max_events; member
Devsel.h50 unsigned long max_events; member
Devsel.c246 evsel->max_events = ULONG_MAX; in evsel__init()
828 evsel->max_events = term->val.max_events; in apply_config_terms()
/Linux-v5.4/arch/riscv/include/asm/
Dperf_event.h72 int max_events; member
/Linux-v5.4/fs/notify/
Dgroup.c132 group->max_events = UINT_MAX; in fsnotify_alloc_group()
Dnotification.c102 group->q_len >= group->max_events) { in fsnotify_add_event()
/Linux-v5.4/drivers/perf/
Dthunderx2_pmu.c73 u32 max_events; member
435 if (event->attr.config >= tx2_pmu->max_events) in tx2_uncore_event_init()
658 tx2_pmu->max_events = L3_EVENT_MAX; in tx2_uncore_pmu_init_dev()
670 tx2_pmu->max_events = DMC_EVENT_MAX; in tx2_uncore_pmu_init_dev()
Darm_pmu.c526 int max_events = 0; in perf_num_counters() local
529 max_events = __oprofile_cpu_pmu->num_events; in perf_num_counters()
531 return max_events; in perf_num_counters()
/Linux-v5.4/arch/riscv/kernel/
Dperf_event.c144 if (config >= riscv_pmu->max_events) in riscv_map_hw_event()
449 .max_events = ARRAY_SIZE(riscv_hw_event_map),
/Linux-v5.4/arch/alpha/kernel/
Dperf_event.c65 int max_events; member
217 .max_events = ARRAY_SIZE(ev67_perfmon_event_map),
616 if (attr->config >= alpha_pmu->max_events) in __hw_perf_event_init()
/Linux-v5.4/arch/sparc/kernel/
Dperf_event.c160 int max_events; member
324 .max_events = ARRAY_SIZE(ultra3_perfmon_event_map),
462 .max_events = ARRAY_SIZE(niagara1_perfmon_event_map),
597 .max_events = ARRAY_SIZE(niagara2_perfmon_event_map),
754 .max_events = ARRAY_SIZE(niagara4_perfmon_event_map),
784 .max_events = ARRAY_SIZE(niagara4_perfmon_event_map),
1434 if (attr->config >= sparc_pmu->max_events) in sparc_pmu_event_init()
/Linux-v5.4/fs/notify/inotify/
Dinotify_user.c623 static struct fsnotify_group *inotify_new_group(unsigned int max_events) in inotify_new_group() argument
644 group->max_events = max_events; in inotify_new_group()
/Linux-v5.4/arch/sh/kernel/cpu/sh4/
Dperf_event.c243 .max_events = ARRAY_SIZE(sh7750_general_events),
/Linux-v5.4/arch/sh/kernel/cpu/sh4a/
Dperf_event.c277 .max_events = ARRAY_SIZE(sh4a_general_events),
/Linux-v5.4/arch/x86/events/intel/
Dp6.c213 .max_events = ARRAY_SIZE(p6_perfmon_event_map),
Dknc.c302 .max_events = ARRAY_SIZE(knc_perfmon_event_map),
/Linux-v5.4/drivers/scsi/ibmvscsi/
Dibmvscsi.c79 static int max_events = IBMVSCSI_MAX_REQUESTS_DEFAULT + 2; variable
2095 unsigned long desired_io = max_events * sizeof(union viosrp_iu); in ibmvscsi_get_desired_dma()
2244 rc = ibmvscsi_init_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2249 if (initialize_event_pool(&hostdata->pool, max_events, hostdata) != 0) { in ibmvscsi_probe()
2309 ibmvscsi_release_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2335 max_events); in ibmvscsi_remove()
2397 max_events = max_requests + 2; in ibmvscsi_module_init()
/Linux-v5.4/arch/x86/events/
Dcore.c425 if (attr->config >= x86_pmu.max_events) in x86_setup_perfctr()
428 attr->config = array_index_nospec((unsigned long)attr->config, x86_pmu.max_events); in x86_setup_perfctr()
704 int max_events; member
721 sched->max_events = num; in perf_sched_init()
771 if (sched->state.event >= sched->max_events) in __perf_sched_find_counter()
830 if (sched->state.event >= sched->max_events) { in perf_sched_next_event()
/Linux-v5.4/arch/sh/kernel/
Dperf_event.c161 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()
/Linux-v5.4/include/linux/
Dfsnotify_backend.h164 unsigned int max_events; /* maximum events allowed on the list */ member
/Linux-v5.4/tools/perf/
Dbuiltin-trace.c119 unsigned long max_events; member
2211 if (++trace->nr_events_printed == trace->max_events && trace->max_events != ULONG_MAX) in trace__sys_exit()
2414 if (evsel->max_events != ULONG_MAX && ++evsel->nr_events_printed == evsel->max_events) { in trace__event_handler()
2710 if (trace->nr_events_printed >= trace->max_events && trace->max_events != ULONG_MAX) in trace__handle_event()
4098 .max_events = ULONG_MAX, in cmd_trace()
4155 OPT_ULONG(0, "max-events", &trace.max_events, in cmd_trace()
/Linux-v5.4/fs/notify/fanotify/
Dfanotify.c294 if (group->max_events == UINT_MAX) in fanotify_alloc_event()
Dfanotify_user.c858 group->max_events = UINT_MAX; in SYSCALL_DEFINE2()
860 group->max_events = FANOTIFY_DEFAULT_MAX_EVENTS; in SYSCALL_DEFINE2()
/Linux-v5.4/arch/x86/events/amd/
Dcore.c888 .max_events = ARRAY_SIZE(amd_perfmon_event_map),

12