Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/sh/include/asm/
H A Dperf_event.h18 unsigned int max_events; member
/openbmc/linux/tools/perf/util/
H A Devsel_config.h44 unsigned long max_events; member
H A Devsel.c280 evsel->max_events = ULONG_MAX; in evsel__init()
418 evsel->max_events = orig->max_events; in evsel__clone()
982 evsel->max_events = term->val.max_events; in evsel__apply_config_terms()
H A Devsel.h81 unsigned long max_events; member
/openbmc/linux/fs/notify/
H A Dgroup.c132 group->max_events = UINT_MAX; in __fsnotify_alloc_group()
H A Dnotification.c101 group->q_len >= group->max_events) { in fsnotify_insert_event()
/openbmc/linux/drivers/perf/
H A Dthunderx2_pmu.c100 u32 max_events; member
597 if (event->attr.config >= tx2_pmu->max_events) in tx2_uncore_event_init()
838 tx2_pmu->max_events = L3_EVENT_MAX; in tx2_uncore_pmu_init_dev()
853 tx2_pmu->max_events = DMC_EVENT_MAX; in tx2_uncore_pmu_init_dev()
869 tx2_pmu->max_events = CCPI2_EVENT_MAX; in tx2_uncore_pmu_init_dev()
/openbmc/linux/arch/alpha/kernel/
H A 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()
/openbmc/linux/arch/sparc/kernel/
H A 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()
/openbmc/linux/fs/notify/inotify/
H A Dinotify_user.c654 static struct fsnotify_group *inotify_new_group(unsigned int max_events) in inotify_new_group() argument
676 group->max_events = max_events; in inotify_new_group()
/openbmc/linux/arch/x86/events/intel/
H A Dp6.c213 .max_events = ARRAY_SIZE(p6_perfmon_event_map),
H A Dknc.c302 .max_events = ARRAY_SIZE(knc_perfmon_event_map),
/openbmc/linux/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c277 .max_events = ARRAY_SIZE(sh4a_general_events),
/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c243 .max_events = ARRAY_SIZE(sh7750_general_events),
/openbmc/linux/arch/x86/events/
H A Dcore.c494 if (attr->config >= x86_pmu.max_events) in x86_setup_perfctr()
497 attr->config = array_index_nospec((unsigned long)attr->config, x86_pmu.max_events); in x86_setup_perfctr()
800 int max_events; member
817 sched->max_events = num; in perf_sched_init()
871 if (sched->state.event >= sched->max_events) in __perf_sched_find_counter()
942 if (sched->state.event >= sched->max_events) { in perf_sched_next_event()
1833 if (pmu_attr->id < x86_pmu.max_events) in events_sysfs_show()
1946 if (idx >= x86_pmu.max_events) in is_visible()
3064 int max = x86_pmu.max_events; in perf_get_hw_event_config()
/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c79 static int max_events = IBMVSCSI_MAX_REQUESTS_DEFAULT + 2; variable
2115 unsigned long desired_io = max_events * sizeof(union viosrp_iu); in ibmvscsi_get_desired_dma()
2264 rc = ibmvscsi_init_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2269 if (initialize_event_pool(&hostdata->pool, max_events, hostdata) != 0) { in ibmvscsi_probe()
2329 ibmvscsi_release_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2351 max_events); in ibmvscsi_remove()
2411 max_events = max_requests + 2; in ibmvscsi_module_init()
/openbmc/linux/arch/sh/kernel/
H A Dperf_event.c143 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()
/openbmc/linux/tools/perf/
H A Dbuiltin-trace.c151 unsigned long max_events; member
2599 if (++trace->nr_events_printed == trace->max_events && trace->max_events != ULONG_MAX)
2891 if (evsel->max_events != ULONG_MAX && ++evsel->nr_events_printed == evsel->max_events) {
3202 if (trace->nr_events_printed >= trace->max_events && trace->max_events != ULONG_MAX)
4704 .max_events = ULONG_MAX,
4762 OPT_ULONG(0, "max-events", &trace.max_events,
/openbmc/linux/arch/x86/events/zhaoxin/
H A Dcore.c471 .max_events = ARRAY_SIZE(zx_pmon_event_map),
/openbmc/linux/include/linux/
H A Dfsnotify_backend.h203 unsigned int max_events; /* maximum events allowed on the list */ member
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify_user.c1529 group->max_events = UINT_MAX; in SYSCALL_DEFINE2()
1531 group->max_events = fanotify_max_queued_events; in SYSCALL_DEFINE2()
H A Dfanotify.c800 if (group->max_events == UINT_MAX) in fanotify_alloc_event()
/openbmc/linux/drivers/media/cec/core/
H A Dcec-adap.c81 static const u16 max_events[CEC_NUM_EVENTS] = { in cec_queue_event_fh() local
108 if (fh->queued_events[ev_idx] < max_events[ev_idx]) { in cec_queue_event_fh()
/openbmc/linux/arch/x86/events/amd/
H A Dcore.c1269 .max_events = ARRAY_SIZE(amd_perfmon_event_map),
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c1289 u32 number_bytes, max_events, max; in _ctl_eventreport() local
1303 max_events = number_bytes/sizeof(struct MPT3_IOCTL_EVENTS); in _ctl_eventreport()
1304 max = min_t(u32, MPT3SAS_CTL_EVENT_LOG_SIZE, max_events); in _ctl_eventreport()

12