Home
last modified time | relevance | path

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

/linux/io_uring/
H A Dtw.c317 int min_events, int max_events) in __io_run_local_work() argument
330 ret = __io_run_local_work_loop(&ctx->retry_llist.first, tw, max_events); in __io_run_local_work()
339 ret += __io_run_local_work_loop(&node, tw, max_events - ret); in __io_run_local_work()
364 int io_run_local_work(struct io_ring_ctx *ctx, int min_events, int max_events) in io_run_local_work() argument
370 ret = __io_run_local_work(ctx, ts, min_events, max_events); in io_run_local_work()
/linux/arch/sh/include/asm/
H A Dperf_event.h18 unsigned int max_events; member
/linux/tools/perf/util/
H A Devsel_config.h50 unsigned long max_events; member
H A Dbpf_counter_cgroup.c79 int err, max_events = BPERF_CGROUP__MAX_EVENTS * nr_cgroups; in test_max_events_program_load() local
86 setup_rodata(test_skel, max_events); in test_max_events_program_load()
H A Devsel.h68 unsigned long max_events; member
H A Devsel.c395 evsel->max_events = ULONG_MAX; in evsel__init()
544 evsel->max_events = orig->max_events; in evsel__clone()
1227 evsel->max_events = term->val.max_events; in evsel__apply_config_terms()
H A Dparse-events.c1156 t->val.max_events = val; in add_config_term()
/linux/arch/sparc/kernel/
H A 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),
1434 if (attr->config >= sparc_pmu->max_events) in sparc_pmu_event_init()
/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.c510 if (attr->config >= x86_pmu.max_events) in x86_setup_perfctr()
513 attr->config = array_index_nospec((unsigned long)attr->config, x86_pmu.max_events); in x86_setup_perfctr()
827 int max_events; member
844 sched->max_events = num; in perf_sched_init()
898 if (sched->state.event >= sched->max_events) in __perf_sched_find_counter()
969 if (sched->state.event >= sched->max_events) { in perf_sched_next_event()
1901 if (pmu_attr->id < x86_pmu.max_events) in events_sysfs_show()
2014 if (idx >= x86_pmu.max_events) in is_visible()
3145 int max = x86_pmu.max_events; in perf_get_hw_event_config()
H A Dperf_event.h851 int max_events; member
/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c79 static int max_events = IBMVSCSI_MAX_REQUESTS_DEFAULT + 2; variable
2119 unsigned long desired_io = max_events * sizeof(union viosrp_iu); in ibmvscsi_get_desired_dma()
2268 rc = ibmvscsi_init_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2273 if (initialize_event_pool(&hostdata->pool, max_events, hostdata) != 0) { in ibmvscsi_probe()
2333 ibmvscsi_release_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2355 max_events); in ibmvscsi_remove()
2415 max_events = max_requests + 2; in ibmvscsi_module_init()
/linux/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c277 .max_events = ARRAY_SIZE(sh4a_general_events),
/linux/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c243 .max_events = ARRAY_SIZE(sh7750_general_events),
/linux/arch/sh/kernel/
H A Dperf_event.c143 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()
/linux/tools/perf/
H A Dbuiltin-trace.c168 unsigned long max_events; member
3046 if (++trace->nr_events_printed == trace->max_events && trace->max_events != ULONG_MAX) in trace__sys_exit()
3261 if (evsel->nr_events_printed >= evsel->max_events) in trace__event_handler()
3336 if (evsel->max_events != ULONG_MAX && ++evsel->nr_events_printed == evsel->max_events) { in trace__event_handler()
3651 if (trace->nr_events_printed >= trace->max_events && trace->max_events != ULONG_MAX) in trace__handle_event()
5394 .max_events = ULONG_MAX, in cmd_trace()
5454 OPT_ULONG(0, "max-events", &trace.max_events, in cmd_trace()
/linux/fs/notify/fanotify/
H A Dfanotify_user.c1743 group->max_events = UINT_MAX; in SYSCALL_DEFINE2()
1745 group->max_events = fanotify_max_queued_events; in SYSCALL_DEFINE2()
/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/include/net/bluetooth/
H A Dhci.h1999 __u8 max_events;
1988 __u8 max_events; global() member
/linux/arch/x86/events/intel/
H A Dcore.c6296 .max_events = ARRAY_SIZE(intel_perfmon_event_map),
6350 .max_events = ARRAY_SIZE(intel_perfmon_event_map),