Home
last modified time | relevance | path

Searched refs:event_file (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/kernel/trace/
Dtrace_events_trigger.c116 struct trace_event_file *event_file = event_file_data(m->private); in trigger_next() local
121 return seq_list_next(t, &event_file->triggers, pos); in trigger_next()
126 struct trace_event_file *event_file; in trigger_start() local
130 event_file = event_file_data(m->private); in trigger_start()
131 if (unlikely(!event_file)) in trigger_start()
134 if (list_empty(&event_file->triggers)) in trigger_start()
137 return seq_list_start(&event_file->triggers, *pos); in trigger_start()
187 struct trace_event_file *event_file; in event_trigger_regex_open() local
190 event_file = event_file_data(file); in event_trigger_regex_open()
194 p->unreg_all(event_file); in event_trigger_regex_open()
[all …]
Dtrace_events_hist.c271 struct trace_event_file *event_file; member
1238 struct trace_array *tr = hist_data->event_file->tr; in hist_field_timestamp()
1337 struct trace_array *tr = hist_data->event_file->tr; in find_any_var_ref()
1373 struct trace_array *tr = hist_data->event_file->tr; in find_hist_vars()
1428 struct trace_array *tr = hist_data->event_file->tr; in save_hist_vars()
1452 struct trace_array *tr = hist_data->event_file->tr; in remove_hist_vars()
1525 file = var_hist_data->event_file; in find_var_file()
1564 struct trace_array *tr = hist_data->event_file->tr; in find_match_var()
1598 struct trace_array *tr = hist_data->event_file->tr; in find_event_var()
2407 call = hist_data->event_file->event_call; in local_field_var_ref()
[all …]
/Linux-v4.19/drivers/infiniband/core/
Duverbs_main.c1097 struct ib_uverbs_async_event_file *event_file; in ib_uverbs_free_hw_resources() local
1129 event_file = list_first_entry(&uverbs_dev-> in ib_uverbs_free_hw_resources()
1133 spin_lock_irq(&event_file->ev_queue.lock); in ib_uverbs_free_hw_resources()
1134 event_file->ev_queue.is_closed = 1; in ib_uverbs_free_hw_resources()
1135 spin_unlock_irq(&event_file->ev_queue.lock); in ib_uverbs_free_hw_resources()
1137 list_del(&event_file->list); in ib_uverbs_free_hw_resources()
1139 &event_file->uverbs_file->event_handler); in ib_uverbs_free_hw_resources()
1140 event_file->uverbs_file->event_handler.device = in ib_uverbs_free_hw_resources()
1143 wake_up_interruptible(&event_file->ev_queue.poll_wait); in ib_uverbs_free_hw_resources()
1144 kill_fasync(&event_file->ev_queue.async_queue, SIGIO, POLL_IN); in ib_uverbs_free_hw_resources()
/Linux-v4.19/kernel/events/
Dcore.c10399 struct file *event_file = NULL; in SYSCALL_DEFINE5() local
10622 event_file = anon_inode_getfile("[perf_event]", &perf_fops, event, in SYSCALL_DEFINE5()
10624 if (IS_ERR(event_file)) { in SYSCALL_DEFINE5()
10625 err = PTR_ERR(event_file); in SYSCALL_DEFINE5()
10626 event_file = NULL; in SYSCALL_DEFINE5()
10785 fd_install(event_fd, event_file); in SYSCALL_DEFINE5()
10793 fput(event_file); in SYSCALL_DEFINE5()
10802 if (!event_file) in SYSCALL_DEFINE5()