Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/core/
Duverbs_std_types_async_fd.c25 struct ib_uverbs_async_event_file *event_file = in uverbs_async_event_destroy_uobj() local
28 ib_unregister_event_handler(&event_file->event_handler); in uverbs_async_event_destroy_uobj()
31 ib_uverbs_async_handler(event_file, 0, IB_EVENT_DEVICE_FATAL, in uverbs_async_event_destroy_uobj()
37 struct ib_uverbs_async_event_file *event_file; in uverbs_async_event_release() local
44 event_file = in uverbs_async_event_release()
55 ib_uverbs_free_event_queue(&event_file->ev_queue); in uverbs_async_event_release()
Duverbs_std_types_wq.c66 obj->uevent.event_file = ib_uverbs_get_async_event(attrs, in UVERBS_HANDLER()
110 if (obj->uevent.event_file) in UVERBS_HANDLER()
111 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER()
Duverbs_std_types_cq.c104 obj->uevent.event_file = ib_uverbs_get_async_event( in UVERBS_HANDLER()
148 if (obj->uevent.event_file) in UVERBS_HANDLER()
149 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER()
Duverbs_std_types_srq.c101 obj->uevent.event_file = ib_uverbs_get_async_event(attrs, in UVERBS_HANDLER()
139 if (obj->uevent.event_file) in UVERBS_HANDLER()
140 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER()
Duverbs_std_types_qp.c228 obj->uevent.event_file = ib_uverbs_get_async_event(attrs, in UVERBS_HANDLER()
281 if (obj->uevent.event_file) in UVERBS_HANDLER()
282 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER()
Duverbs.h183 struct ib_uverbs_async_event_file *event_file; member
Duverbs_cmd.c1060 obj->uevent.event_file = READ_ONCE(attrs->ufile->default_async_file); in create_cq()
1061 if (obj->uevent.event_file) in create_cq()
1062 uverbs_uobject_get(&obj->uevent.event_file->uobj); in create_cq()
1446 obj->uevent.event_file = READ_ONCE(attrs->ufile->default_async_file); in create_qp()
1447 if (obj->uevent.event_file) in create_qp()
1448 uverbs_uobject_get(&obj->uevent.event_file->uobj); in create_qp()
2940 obj->uevent.event_file = READ_ONCE(attrs->ufile->default_async_file); in ib_uverbs_ex_create_wq()
2941 if (obj->uevent.event_file) in ib_uverbs_ex_create_wq()
2942 uverbs_uobject_get(&obj->uevent.event_file->uobj); in ib_uverbs_ex_create_wq()
3429 obj->uevent.event_file = READ_ONCE(attrs->ufile->default_async_file); in __uverbs_create_xsrq()
[all …]
Duverbs_main.c163 struct ib_uverbs_async_event_file *async_file = uobj->event_file; in ib_uverbs_release_uevent()
442 ib_uverbs_async_handler(eobj->event_file, in uverbs_uobj_event()
/linux-6.6.21/kernel/trace/
Dtrace_events_trigger.c134 struct trace_event_file *event_file = event_file_data(m->private); in trigger_next() local
140 return seq_list_next(t, &event_file->triggers, pos); in trigger_next()
158 struct trace_event_file *event_file; in trigger_start() local
162 event_file = event_file_data(m->private); in trigger_start()
163 if (unlikely(!event_file)) in trigger_start()
166 if (list_empty(&event_file->triggers) || !check_user_trigger(event_file)) in trigger_start()
169 return seq_list_start(&event_file->triggers, *pos); in trigger_start()
223 struct trace_event_file *event_file; in event_trigger_regex_open() local
226 event_file = event_file_data(file); in event_trigger_regex_open()
230 p->unreg_all(event_file); in event_trigger_regex_open()
[all …]
Dtrace_events_hist.c559 struct trace_event_file *event_file; member
874 struct trace_array *tr = hist_data->event_file->tr; in hist_field_timestamp()
965 struct trace_array *tr = hist_data->event_file->tr; in find_any_var_ref()
1014 struct trace_array *tr = hist_data->event_file->tr; in find_hist_vars()
1069 struct trace_array *tr = hist_data->event_file->tr; in save_hist_vars()
1093 struct trace_array *tr = hist_data->event_file->tr; in remove_hist_vars()
1168 file = var_hist_data->event_file; in find_var_file()
1209 struct trace_array *tr = hist_data->event_file->tr; in find_match_var()
1244 struct trace_array *tr = hist_data->event_file->tr; in find_event_var()
2257 call = hist_data->event_file->event_call; in local_field_var_ref()
[all …]
/linux-6.6.21/kernel/events/
Dcore.c12409 struct file *event_file = NULL; in SYSCALL_DEFINE5() local
12688 event_file = anon_inode_getfile("[perf_event]", &perf_fops, event, f_flags); in SYSCALL_DEFINE5()
12689 if (IS_ERR(event_file)) { in SYSCALL_DEFINE5()
12690 err = PTR_ERR(event_file); in SYSCALL_DEFINE5()
12691 event_file = NULL; in SYSCALL_DEFINE5()
12769 fd_install(event_fd, event_file); in SYSCALL_DEFINE5()