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

/linux-4.4.14/arch/sh/include/asm/
H A Dperf_event.h17 unsigned int max_events; member in struct:sh_pmu
/linux-4.4.14/arch/metag/kernel/perf/
H A Dperf_event.h69 * @max_events: maximum number of counters available at any one time
90 int max_events; member in struct:metag_pmu
H A Dperf_event.c53 return metag_pmu->max_events; perf_num_counters()
802 .max_events = MAX_HWEVENTS,
857 metag_pmu->name, metag_pmu->max_events); init_hw_perf_events()
/linux-4.4.14/fs/notify/
H A Dfdinfo.c157 if (group->max_events == UINT_MAX) fanotify_show_fdinfo()
H A Dgroup.c103 group->max_events = UINT_MAX; fsnotify_alloc_group()
H A Dnotification.c99 if (group->q_len >= group->max_events) { fsnotify_add_event()
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dperf_event_knc.c301 .max_events = ARRAY_SIZE(knc_perfmon_event_map),
H A Dperf_event_p6.c212 .max_events = ARRAY_SIZE(p6_perfmon_event_map),
H A Dperf_event.c404 if (attr->config >= x86_pmu.max_events) x86_setup_perfctr()
669 int max_events; member in struct:perf_sched
686 sched->max_events = num; perf_sched_init()
736 if (sched->state.event >= sched->max_events) __perf_sched_find_counter()
795 if (sched->state.event >= sched->max_events) { perf_sched_next_event()
H A Dperf_event_amd.c635 .max_events = ARRAY_SIZE(amd_perfmon_event_map),
H A Dperf_event.h524 int max_events; member in struct:x86_pmu
H A Dperf_event_p4.c1311 .max_events = ARRAY_SIZE(p4_general_events),
H A Dperf_event_intel.c2955 .max_events = ARRAY_SIZE(intel_perfmon_event_map),
2995 .max_events = ARRAY_SIZE(intel_perfmon_event_map),
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c246 .max_events = ARRAY_SIZE(sh7750_general_events),
/linux-4.4.14/arch/sparc/kernel/
H A Dperf_event.c158 int max_events; member in struct:sparc_pmu
322 .max_events = ARRAY_SIZE(ultra3_perfmon_event_map),
460 .max_events = ARRAY_SIZE(niagara1_perfmon_event_map),
595 .max_events = ARRAY_SIZE(niagara2_perfmon_event_map),
752 .max_events = ARRAY_SIZE(niagara4_perfmon_event_map),
782 .max_events = ARRAY_SIZE(niagara4_perfmon_event_map),
1419 if (attr->config >= sparc_pmu->max_events) sparc_pmu_event_init()
/linux-4.4.14/drivers/perf/
H A Darm_pmu.c580 int max_events = 0; perf_num_counters() local
583 max_events = __oprofile_cpu_pmu->num_events; perf_num_counters()
585 return max_events; perf_num_counters()
/linux-4.4.14/arch/tile/kernel/
H A Dperf_event.c77 int max_events; /* max generic hw events member in struct:tile_pmu
330 .max_events = ARRAY_SIZE(tile_hw_event_map),
747 if (config >= tile_pmu->max_events) tile_map_hw_event()
/linux-4.4.14/fs/notify/inotify/
H A Dinotify_user.c632 static struct fsnotify_group *inotify_new_group(unsigned int max_events) inotify_new_group() argument
652 group->max_events = max_events; inotify_new_group()
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c280 .max_events = ARRAY_SIZE(sh4a_general_events),
/linux-4.4.14/arch/sh/kernel/
H A Dperf_event.c164 if (attr->config >= sh_pmu->max_events) __hw_perf_event_init()
/linux-4.4.14/fs/notify/fanotify/
H A Dfanotify_user.c779 group->max_events = UINT_MAX; SYSCALL_DEFINE2()
781 group->max_events = FANOTIFY_DEFAULT_MAX_EVENTS; SYSCALL_DEFINE2()
/linux-4.4.14/arch/alpha/kernel/
H A Dperf_event.c64 int max_events; member in struct:alpha_pmu_t
216 .max_events = ARRAY_SIZE(ev67_perfmon_event_map),
615 if (attr->config >= alpha_pmu->max_events) __hw_perf_event_init()
/linux-4.4.14/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c93 static int max_events = IBMVSCSI_MAX_REQUESTS_DEFAULT + 2; variable
2160 unsigned long desired_io = max_events * sizeof(union viosrp_iu); ibmvscsi_get_desired_dma()
2282 rc = ibmvscsi_init_crq_queue(&hostdata->queue, hostdata, max_events); ibmvscsi_probe()
2287 if (initialize_event_pool(&hostdata->pool, max_events, hostdata) != 0) { ibmvscsi_probe()
2344 ibmvscsi_release_crq_queue(&hostdata->queue, hostdata, max_events); ibmvscsi_probe()
2361 max_events); ibmvscsi_remove()
2419 max_events = max_requests + 2; ibmvscsi_module_init()
/linux-4.4.14/include/linux/
H A Dfsnotify_backend.h142 unsigned int max_events; /* maximum events allowed on the list */ member in struct:fsnotify_group
/linux-4.4.14/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c1148 u32 number_bytes, max_events, max; _ctl_eventreport() local
1162 max_events = number_bytes/sizeof(struct MPT3_IOCTL_EVENTS); _ctl_eventreport()
1163 max = min_t(u32, MPT3SAS_CTL_EVENT_LOG_SIZE, max_events); _ctl_eventreport()

Completed in 647 milliseconds