| /linux-6.15/arch/sh/include/asm/ |
| H A D | perf_event.h | 18 unsigned int max_events; member
|
| /linux-6.15/tools/perf/util/ |
| H A D | evsel_config.h | 45 unsigned long max_events; member
|
| H A D | evsel.h | 67 unsigned long max_events; member
|
| H A D | evsel.c | 391 evsel->max_events = ULONG_MAX; in evsel__init() 539 evsel->max_events = orig->max_events; in evsel__clone() 1163 evsel->max_events = term->val.max_events; in evsel__apply_config_terms()
|
| /linux-6.15/drivers/perf/ |
| H A D | thunderx2_pmu.c | 100 u32 max_events; member 592 if (event->attr.config >= tx2_pmu->max_events) in tx2_uncore_event_init() 833 tx2_pmu->max_events = L3_EVENT_MAX; in tx2_uncore_pmu_init_dev() 848 tx2_pmu->max_events = DMC_EVENT_MAX; in tx2_uncore_pmu_init_dev() 864 tx2_pmu->max_events = CCPI2_EVENT_MAX; in tx2_uncore_pmu_init_dev()
|
| /linux-6.15/fs/notify/ |
| H A D | group.c | 131 group->max_events = UINT_MAX; in __fsnotify_alloc_group()
|
| H A D | notification.c | 101 group->q_len >= group->max_events) { in fsnotify_insert_event()
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | perf_event.c | 160 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-6.15/arch/alpha/kernel/ |
| H A D | perf_event.c | 65 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-6.15/fs/notify/inotify/ |
| H A D | inotify_user.c | 653 static struct fsnotify_group *inotify_new_group(unsigned int max_events) in inotify_new_group() argument 675 group->max_events = max_events; in inotify_new_group()
|
| /linux-6.15/arch/x86/events/ |
| H A D | core.c | 500 if (attr->config >= x86_pmu.max_events) in x86_setup_perfctr() 503 attr->config = array_index_nospec((unsigned long)attr->config, x86_pmu.max_events); in x86_setup_perfctr() 806 int max_events; member 823 sched->max_events = num; in perf_sched_init() 877 if (sched->state.event >= sched->max_events) in __perf_sched_find_counter() 948 if (sched->state.event >= sched->max_events) { in perf_sched_next_event() 1845 if (pmu_attr->id < x86_pmu.max_events) in events_sysfs_show() 1958 if (idx >= x86_pmu.max_events) in is_visible() 3090 int max = x86_pmu.max_events; in perf_get_hw_event_config()
|
| /linux-6.15/arch/sh/kernel/cpu/sh4/ |
| H A D | perf_event.c | 243 .max_events = ARRAY_SIZE(sh7750_general_events),
|
| /linux-6.15/arch/sh/kernel/cpu/sh4a/ |
| H A D | perf_event.c | 277 .max_events = ARRAY_SIZE(sh4a_general_events),
|
| /linux-6.15/arch/x86/events/intel/ |
| H A D | p6.c | 215 .max_events = ARRAY_SIZE(p6_perfmon_event_map),
|
| H A D | knc.c | 302 .max_events = ARRAY_SIZE(knc_perfmon_event_map),
|
| /linux-6.15/drivers/scsi/ibmvscsi/ |
| H A D | ibmvscsi.c | 79 static int max_events = IBMVSCSI_MAX_REQUESTS_DEFAULT + 2; variable 2117 unsigned long desired_io = max_events * sizeof(union viosrp_iu); in ibmvscsi_get_desired_dma() 2266 rc = ibmvscsi_init_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe() 2271 if (initialize_event_pool(&hostdata->pool, max_events, hostdata) != 0) { in ibmvscsi_probe() 2331 ibmvscsi_release_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe() 2353 max_events); in ibmvscsi_remove() 2413 max_events = max_requests + 2; in ibmvscsi_module_init()
|
| /linux-6.15/arch/sh/kernel/ |
| H A D | perf_event.c | 143 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-trace.c | 178 unsigned long max_events; member 3023 if (++trace->nr_events_printed == trace->max_events && trace->max_events != ULONG_MAX) in trace__sys_exit() 3238 if (evsel->nr_events_printed >= evsel->max_events) in trace__event_handler() 3311 if (evsel->max_events != ULONG_MAX && ++evsel->nr_events_printed == evsel->max_events) { in trace__event_handler() 3626 if (trace->nr_events_printed >= trace->max_events && trace->max_events != ULONG_MAX) in trace__handle_event() 5393 .max_events = ULONG_MAX, in cmd_trace() 5454 OPT_ULONG(0, "max-events", &trace.max_events, in cmd_trace()
|
| /linux-6.15/arch/x86/events/zhaoxin/ |
| H A D | core.c | 471 .max_events = ARRAY_SIZE(zx_pmon_event_map),
|
| /linux-6.15/include/linux/ |
| H A D | fsnotify_backend.h | 231 unsigned int max_events; /* maximum events allowed on the list */ member
|
| /linux-6.15/io_uring/ |
| H A D | io_uring.c | 1290 int min_events, int max_events) in __io_run_local_work() argument 1302 ret = __io_run_local_work_loop(&ctx->retry_llist.first, tw, max_events); in __io_run_local_work() 1311 ret += __io_run_local_work_loop(&node, tw, max_events - ret); in __io_run_local_work() 1338 int max_events) in io_run_local_work() argument 1344 ret = __io_run_local_work(ctx, ts, min_events, max_events); in io_run_local_work()
|
| /linux-6.15/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 1644 group->max_events = UINT_MAX; in SYSCALL_DEFINE2() 1646 group->max_events = fanotify_max_queued_events; in SYSCALL_DEFINE2()
|
| H A D | fanotify.c | 831 if (group->max_events == UINT_MAX) in fanotify_alloc_event()
|
| /linux-6.15/arch/x86/events/amd/ |
| H A D | core.c | 1322 .max_events = ARRAY_SIZE(amd_perfmon_event_map),
|
| /linux-6.15/drivers/media/cec/core/ |
| H A D | cec-adap.c | 82 static const u16 max_events[CEC_NUM_EVENTS] = { in cec_queue_event_fh() local 109 if (fh->queued_events[ev_idx] < max_events[ev_idx]) { in cec_queue_event_fh()
|