/linux/arch/sh/include/asm/ |
H A D | perf_event.h | 18 unsigned int max_events; member
|
/linux/tools/perf/util/ |
H A D | evsel_config.h | 45 unsigned long max_events; member
|
/linux/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/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/arch/x86/events/ |
H A D | core.c | 506 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 D | perf_event.c | 243 .max_events = ARRAY_SIZE(sh7750_general_events),
|
/linux/arch/sh/kernel/cpu/sh4a/ |
H A D | perf_event.c | 277 .max_events = ARRAY_SIZE(sh4a_general_events),
|
/linux/drivers/scsi/ibmvscsi/ |
H A D | ibmvscsi.c | 79 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 D | knc.c | 304 .max_events = ARRAY_SIZE(knc_perfmon_event_map),
|
H A D | p4.c | 1349 .max_events = ARRAY_SIZE(p4_general_events),
|
H A D | core.c | 5645 .max_events = ARRAY_SIZE(intel_perfmon_event_map), 5699 .max_events = ARRAY_SIZE(intel_perfmon_event_map),
|
/linux/arch/sh/kernel/ |
H A D | perf_event.c | 143 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()
|
/linux/Documentation/translations/zh_CN/networking/ |
H A D | napi.rst | 302 序可通过在调用 epoll_wait 时设置 ``max_events`` 来控制获取的数据量。
|
/linux/tools/perf/ |
H A D | builtin-trace.c | 168 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 D | io_uring.c | 1342 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 D | fanotify_user.c | 1645 group->max_events = UINT_MAX; in SYSCALL_DEFINE2() 1647 group->max_events = fanotify_max_queued_events; in SYSCALL_DEFINE2()
|
H A D | fanotify.c | 837 if (group->max_events == UINT_MAX) in fanotify_alloc_event()
|
/linux/arch/x86/events/amd/ |
H A D | core.c | 1322 .max_events = ARRAY_SIZE(amd_perfmon_event_map),
|
/linux/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()
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.c | 1353 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 D | napi.rst | 372 they retrieve by setting ``max_events`` when calling epoll_wait.
|