Home
last modified time | relevance | path

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

/linux/drivers/infiniband/core/
A 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()
A 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()
A 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()
A 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()
A 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()
A Duverbs_cmd.c1057 obj->uevent.event_file = READ_ONCE(attrs->ufile->default_async_file); in create_cq()
1058 if (obj->uevent.event_file) in create_cq()
1059 uverbs_uobject_get(&obj->uevent.event_file->uobj); in create_cq()
1444 obj->uevent.event_file = READ_ONCE(attrs->ufile->default_async_file); in create_qp()
1445 if (obj->uevent.event_file) in create_qp()
1446 uverbs_uobject_get(&obj->uevent.event_file->uobj); in create_qp()
2933 obj->uevent.event_file = READ_ONCE(attrs->ufile->default_async_file); in ib_uverbs_ex_create_wq()
2934 if (obj->uevent.event_file) in ib_uverbs_ex_create_wq()
2935 uverbs_uobject_get(&obj->uevent.event_file->uobj); in ib_uverbs_ex_create_wq()
3423 if (obj->uevent.event_file) in __uverbs_create_xsrq()
[all …]
A Duverbs.h183 struct ib_uverbs_async_event_file *event_file; member
A Duverbs_main.c152 struct ib_uverbs_async_event_file *async_file = uobj->event_file; in ib_uverbs_release_uevent()
433 ib_uverbs_async_handler(eobj->event_file, in uverbs_uobj_event()
/linux/kernel/trace/
A Dtrace_events_trigger.c141 struct trace_event_file *event_file; in trigger_start() local
145 event_file = event_file_data(m->private); in trigger_start()
146 if (unlikely(!event_file)) in trigger_start()
149 if (list_empty(&event_file->triggers) || !check_user_trigger(event_file)) in trigger_start()
206 struct trace_event_file *event_file; in event_trigger_regex_open() local
209 event_file = event_file_data(file); in event_trigger_regex_open()
213 p->unreg_all(event_file); in event_trigger_regex_open()
262 struct trace_event_file *event_file; in event_trigger_regex_write() local
279 event_file = event_file_data(file); in event_trigger_regex_write()
280 if (unlikely(!event_file)) { in event_trigger_regex_write()
[all …]
A Dtrace_events_hist.c515 struct trace_event_file *event_file; member
1105 file = var_hist_data->event_file; in find_var_file()
2165 call = hist_data->event_file->event_call; in local_field_var_ref()
2882 file = event_file(tr, subsys_name, event_name); in create_field_var_hist()
4860 hist_data->event_file = file; in create_hist_data()
5233 struct trace_event_file *event_file; in hist_show() local
5238 event_file = event_file_data(m->private); in hist_show()
5239 if (unlikely(!event_file)) { in hist_show()
5510 struct trace_event_file *event_file; in hist_debug_show() local
5515 event_file = event_file_data(m->private); in hist_debug_show()
[all …]
/linux/kernel/events/
A Dcore.c12028 struct file *event_file = NULL; in SYSCALL_DEFINE5() local
12243 event_file = anon_inode_getfile("[perf_event]", &perf_fops, event, in SYSCALL_DEFINE5()
12245 if (IS_ERR(event_file)) { in SYSCALL_DEFINE5()
12246 err = PTR_ERR(event_file); in SYSCALL_DEFINE5()
12247 event_file = NULL; in SYSCALL_DEFINE5()
12435 fd_install(event_fd, event_file); in SYSCALL_DEFINE5()
12446 fput(event_file); in SYSCALL_DEFINE5()
12455 if (!event_file) in SYSCALL_DEFINE5()

Completed in 55 milliseconds