Home
last modified time | relevance | path

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

/linux/arch/sh/include/asm/
H A Dperf_event.h18 unsigned int max_events; member
/linux/tools/perf/util/
H A Devsel_config.h45 unsigned long max_events; member
/linux/fs/notify/
H A Dgroup.c131 group->max_events = UINT_MAX; in __fsnotify_alloc_group()
H A Dnotification.c101 group->q_len >= group->max_events) { in fsnotify_insert_event()
/linux/fs/notify/inotify/
H A Dinotify_user.c653 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/arch/x86/events/
H A Dcore.c506 if (attr->config >= x86_pmu.max_events) in x86_setup_perfctr()
509 attr->config = array_index_nospec((unsigned long)attr->config, x86_pmu.max_events); in x86_setup_perfctr()
814 int max_events; member
831 sched->max_events = num; in perf_sched_init()
885 if (sched->state.event >= sched->max_events) in __perf_sched_find_counter()
956 if (sched->state.event >= sched->max_events) { in perf_sched_next_event()
1854 if (pmu_attr->id < x86_pmu.max_events) in events_sysfs_show()
1967 if (idx >= x86_pmu.max_events) in is_visible()
3111 int max = x86_pmu.max_events; in perf_get_hw_event_config()
/linux/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c243 .max_events = ARRAY_SIZE(sh7750_general_events),
/linux/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c277 .max_events = ARRAY_SIZE(sh4a_general_events),
/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c79 static int max_events = IBMVSCSI_MAX_REQUESTS_DEFAULT + 2; variable
2118 unsigned long desired_io = max_events * sizeof(union viosrp_iu); in ibmvscsi_get_desired_dma()
2267 rc = ibmvscsi_init_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2272 if (initialize_event_pool(&hostdata->pool, max_events, hostdata) != 0) { in ibmvscsi_probe()
2332 ibmvscsi_release_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2354 max_events); in ibmvscsi_remove()
2414 max_events = max_requests + 2; in ibmvscsi_module_init()
/linux/arch/x86/events/intel/
H A Dknc.c304 .max_events = ARRAY_SIZE(knc_perfmon_event_map),
H A Dp4.c1349 .max_events = ARRAY_SIZE(p4_general_events),
H A Dcore.c5645 .max_events = ARRAY_SIZE(intel_perfmon_event_map),
5699 .max_events = ARRAY_SIZE(intel_perfmon_event_map),
/linux/arch/sh/kernel/
H A Dperf_event.c143 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()
/linux/Documentation/translations/zh_CN/networking/
H A Dnapi.rst302 序可通过在调用 epoll_wait 时设置 ``max_events`` 来控制获取的数据量。
/linux/tools/perf/
H A Dbuiltin-trace.c168 unsigned long max_events; member
3024 if (++trace->nr_events_printed == trace->max_events && trace->max_events != ULONG_MAX) in trace__sys_exit()
3239 if (evsel->nr_events_printed >= evsel->max_events) in trace__event_handler()
3312 if (evsel->max_events != ULONG_MAX && ++evsel->nr_events_printed == evsel->max_events) { in trace__event_handler()
3627 if (trace->nr_events_printed >= trace->max_events && trace->max_events != ULONG_MAX) in trace__handle_event()
5363 .max_events = ULONG_MAX, in cmd_trace()
5423 OPT_ULONG(0, "max-events", &trace.max_events, in cmd_trace()
[all...]
/linux/io_uring/
H A Dio_uring.c1342 int min_events, int max_events) in __io_run_local_work() argument
1354 ret = __io_run_local_work_loop(&ctx->retry_llist.first, tw, max_events); in __io_run_local_work()
1363 ret += __io_run_local_work_loop(&node, tw, max_events - ret); in __io_run_local_work()
1390 int max_events) in io_run_local_work() argument
1396 ret = __io_run_local_work(ctx, ts, min_events, max_events); in io_run_local_work()
/linux/fs/notify/fanotify/
H A Dfanotify_user.c1645 group->max_events = UINT_MAX; in SYSCALL_DEFINE2()
1647 group->max_events = fanotify_max_queued_events; in SYSCALL_DEFINE2()
H A Dfanotify.c837 if (group->max_events == UINT_MAX) in fanotify_alloc_event()
/linux/arch/x86/events/amd/
H A Dcore.c1322 .max_events = ARRAY_SIZE(amd_perfmon_event_map),
/linux/drivers/media/cec/core/
H A Dcec-adap.c82 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()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c1353 u32 number_bytes, max_events, max; in _ctl_eventreport() local
1367 max_events = number_bytes/sizeof(struct MPT3_IOCTL_EVENTS); in _ctl_eventreport()
1368 max = min_t(u32, MPT3SAS_CTL_EVENT_LOG_SIZE, max_events); in _ctl_eventreport()
/linux/Documentation/networking/
H A Dnapi.rst372 they retrieve by setting ``max_events`` when calling epoll_wait.