Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/sh/include/asm/
Dperf_event.h18 unsigned int max_events; member
/Linux-v4.19/arch/riscv/include/asm/
Dperf_event.h72 int max_events; member
/Linux-v4.19/fs/notify/
Dgroup.c144 group->max_events = UINT_MAX; in fsnotify_alloc_group()
Dnotification.c115 group->q_len >= group->max_events) { in fsnotify_add_event()
Dfdinfo.c154 if (group->max_events == UINT_MAX) in fanotify_show_fdinfo()
/Linux-v4.19/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-v4.19/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-v4.19/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),
1430 if (attr->config >= sparc_pmu->max_events) in sparc_pmu_event_init()
/Linux-v4.19/drivers/perf/
Darm_pmu.c533 int max_events = 0; in perf_num_counters() local
536 max_events = __oprofile_cpu_pmu->num_events; in perf_num_counters()
538 return max_events; in perf_num_counters()
/Linux-v4.19/fs/notify/inotify/
Dinotify_user.c622 static struct fsnotify_group *inotify_new_group(unsigned int max_events) in inotify_new_group() argument
642 group->max_events = max_events; in inotify_new_group()
/Linux-v4.19/arch/x86/events/intel/
Dp6.c213 .max_events = ARRAY_SIZE(p6_perfmon_event_map),
Dknc.c302 .max_events = ARRAY_SIZE(knc_perfmon_event_map),
Dp4.c1311 .max_events = ARRAY_SIZE(p4_general_events),
/Linux-v4.19/arch/sh/kernel/cpu/sh4/
Dperf_event.c246 .max_events = ARRAY_SIZE(sh7750_general_events),
/Linux-v4.19/arch/sh/kernel/cpu/sh4a/
Dperf_event.c280 .max_events = ARRAY_SIZE(sh4a_general_events),
/Linux-v4.19/drivers/scsi/ibmvscsi/
Dibmvscsi.c93 static int max_events = IBMVSCSI_MAX_REQUESTS_DEFAULT + 2; variable
2097 unsigned long desired_io = max_events * sizeof(union viosrp_iu); in ibmvscsi_get_desired_dma()
2219 rc = ibmvscsi_init_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2224 if (initialize_event_pool(&hostdata->pool, max_events, hostdata) != 0) { in ibmvscsi_probe()
2282 ibmvscsi_release_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2300 max_events); in ibmvscsi_remove()
2358 max_events = max_requests + 2; in ibmvscsi_module_init()
/Linux-v4.19/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()
705 int max_events; member
722 sched->max_events = num; in perf_sched_init()
772 if (sched->state.event >= sched->max_events) in __perf_sched_find_counter()
831 if (sched->state.event >= sched->max_events) { in perf_sched_next_event()
Dperf_event.h534 int max_events; member
/Linux-v4.19/fs/notify/fanotify/
Dfanotify.c153 if (group->max_events == UINT_MAX) in fanotify_alloc_event()
Dfanotify_user.c768 group->max_events = UINT_MAX; in SYSCALL_DEFINE2()
770 group->max_events = FANOTIFY_DEFAULT_MAX_EVENTS; in SYSCALL_DEFINE2()
/Linux-v4.19/arch/sh/kernel/
Dperf_event.c164 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()
/Linux-v4.19/include/linux/
Dfsnotify_backend.h149 unsigned int max_events; /* maximum events allowed on the list */ member
/Linux-v4.19/arch/x86/events/amd/
Dcore.c635 .max_events = ARRAY_SIZE(amd_perfmon_event_map),
/Linux-v4.19/drivers/media/cec/
Dcec-adap.c76 static const u16 max_events[CEC_NUM_EVENTS] = { in cec_queue_event_fh() local
103 if (fh->queued_events[ev_idx] < max_events[ev_idx]) { in cec_queue_event_fh()
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c1253 u32 number_bytes, max_events, max; in _ctl_eventreport() local
1267 max_events = number_bytes/sizeof(struct MPT3_IOCTL_EVENTS); in _ctl_eventreport()
1268 max = min_t(u32, MPT3SAS_CTL_EVENT_LOG_SIZE, max_events); in _ctl_eventreport()

12