Home
last modified time | relevance | path

Searched defs:filp (Results 1 – 25 of 28) sorted by relevance

12

/kernel/power/
Duser.c47 static int snapshot_open(struct inode *inode, struct file *filp) in snapshot_open()
107 static int snapshot_release(struct inode *inode, struct file *filp) in snapshot_release()
134 static ssize_t snapshot_read(struct file *filp, char __user *buf, in snapshot_read()
168 static ssize_t snapshot_write(struct file *filp, const char __user *buf, in snapshot_write()
249 static long snapshot_ioctl(struct file *filp, unsigned int cmd, in snapshot_ioctl()
Dqos.c336 static int cpu_latency_qos_open(struct inode *inode, struct file *filp) in cpu_latency_qos_open()
350 static int cpu_latency_qos_release(struct inode *inode, struct file *filp) in cpu_latency_qos_release()
362 static ssize_t cpu_latency_qos_read(struct file *filp, char __user *buf, in cpu_latency_qos_read()
379 static ssize_t cpu_latency_qos_write(struct file *filp, const char __user *buf, in cpu_latency_qos_write()
/kernel/trace/rv/
Drv.c212 static ssize_t monitor_enable_read_data(struct file *filp, char __user *user_buf, size_t count, in monitor_enable_read_data()
282 static ssize_t monitor_enable_write_data(struct file *filp, const char __user *user_buf, in monitor_enable_write_data()
317 static ssize_t monitor_desc_read_data(struct file *filp, char __user *user_buf, size_t count, in monitor_desc_read_data()
512 static ssize_t enabled_monitors_write(struct file *filp, const char __user *user_buf, in enabled_monitors_write()
596 static ssize_t monitoring_on_read_data(struct file *filp, char __user *user_buf, in monitoring_on_read_data()
647 static ssize_t monitoring_on_write_data(struct file *filp, const char __user *user_buf, in monitoring_on_write_data()
Drv_reactors.c374 static ssize_t reacting_on_read_data(struct file *filp, in reacting_on_read_data()
399 static ssize_t reacting_on_write_data(struct file *filp, const char __user *user_buf, in reacting_on_write_data()
/kernel/trace/
Dtrace.c4857 int tracing_open_generic(struct inode *inode, struct file *filp) in tracing_open_generic()
4878 int tracing_open_generic_tr(struct inode *inode, struct file *filp) in tracing_open_generic_tr()
4896 int tracing_open_file_tr(struct inode *inode, struct file *filp) in tracing_open_file_tr()
4910 int tracing_release_file_tr(struct inode *inode, struct file *filp) in tracing_release_file_tr()
4919 int tracing_single_release_file_tr(struct inode *inode, struct file *filp) in tracing_single_release_file_tr()
4925 static int tracing_mark_open(struct inode *inode, struct file *filp) in tracing_mark_open()
5140 tracing_write_stub(struct file *filp, const char __user *ubuf, in tracing_write_stub()
5176 tracing_cpumask_read(struct file *filp, char __user *ubuf, in tracing_cpumask_read()
5244 tracing_cpumask_write(struct file *filp, const char __user *ubuf, in tracing_cpumask_write()
5482 tracing_trace_options_write(struct file *filp, const char __user *ubuf, in tracing_trace_options_write()
[all …]
Dtrace_events.c1370 event_enable_read(struct file *filp, char __user *ubuf, size_t cnt, in event_enable_read()
1400 event_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, in event_enable_write()
1436 system_enable_read(struct file *filp, char __user *ubuf, size_t cnt, in system_enable_read()
1483 system_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, in system_enable_write()
1661 event_id_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) in event_id_read()
1676 event_filter_read(struct file *filp, char __user *ubuf, size_t cnt, in event_filter_read()
1709 event_filter_write(struct file *filp, const char __user *ubuf, size_t cnt, in event_filter_write()
1740 static int subsystem_open(struct inode *inode, struct file *filp) in subsystem_open()
1789 static int system_tr_open(struct inode *inode, struct file *filp) in system_tr_open()
1831 subsystem_filter_read(struct file *filp, char __user *ubuf, size_t cnt, in subsystem_filter_read()
[all …]
Dtrace_stack.c324 stack_max_size_read(struct file *filp, char __user *ubuf, in stack_max_size_read()
338 stack_max_size_write(struct file *filp, const char __user *ubuf, in stack_max_size_write()
Dtrace_events_inject.c284 event_inject_write(struct file *filp, const char __user *ubuf, size_t cnt, in event_inject_write()
Dtrace_mmiotrace.c131 static ssize_t mmio_read(struct trace_iterator *iter, struct file *filp, in mmio_read()
Dtrace_functions_graph.c1299 graph_depth_write(struct file *filp, const char __user *ubuf, size_t cnt, in graph_depth_write()
1317 graph_depth_read(struct file *filp, char __user *ubuf, size_t cnt, in graph_depth_read()
Dtrace_events_trigger.c326 event_trigger_write(struct file *filp, const char __user *ubuf, in event_trigger_write()
333 event_trigger_open(struct inode *inode, struct file *filp) in event_trigger_open()
Dtrace_hwlat.c680 static ssize_t hwlat_mode_write(struct file *filp, const char __user *ubuf, in hwlat_mode_write()
Dblktrace.c414 static ssize_t blk_dropped_read(struct file *filp, char __user *buffer, in blk_dropped_read()
432 static ssize_t blk_msg_write(struct file *filp, const char __user *buffer, in blk_msg_write()
Dtrace_osnoise.c1876 osnoise_cpus_read(struct file *filp, char __user *ubuf, size_t count, in osnoise_cpus_read()
1924 osnoise_cpus_write(struct file *filp, const char __user *ubuf, size_t count, in osnoise_cpus_write()
Dftrace.c882 ftrace_profile_write(struct file *filp, const char __user *ubuf, in ftrace_profile_write()
927 ftrace_profile_read(struct file *filp, char __user *ubuf, in ftrace_profile_read()
7948 pid_write(struct file *filp, const char __user *ubuf, in pid_write()
8023 ftrace_pid_write(struct file *filp, const char __user *ubuf, in ftrace_pid_write()
8030 ftrace_no_pid_write(struct file *filp, const char __user *ubuf, in ftrace_no_pid_write()
Dtrace.h1515 static inline void *event_file_data(struct file *filp) in event_file_data()
/kernel/sched/
Ddebug.c126 sched_feat_write(struct file *filp, const char __user *ubuf, in sched_feat_write()
158 static int sched_feat_open(struct inode *inode, struct file *filp) in sched_feat_open()
173 static ssize_t sched_scaling_write(struct file *filp, const char __user *ubuf, in sched_scaling_write()
206 static int sched_scaling_open(struct inode *inode, struct file *filp) in sched_scaling_open()
223 static ssize_t sched_dynamic_write(struct file *filp, const char __user *ubuf, in sched_dynamic_write()
268 static int sched_dynamic_open(struct inode *inode, struct file *filp) in sched_dynamic_open()
287 static int sched_debug_open(struct inode *inode, struct file *filp) in sched_debug_open()
/kernel/
Drelay.c813 static int relay_file_open(struct inode *inode, struct file *filp) in relay_file_open()
829 static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma) in relay_file_mmap()
842 static __poll_t relay_file_poll(struct file *filp, poll_table *wait) in relay_file_poll()
867 static int relay_file_release(struct inode *inode, struct file *filp) in relay_file_release()
1033 static ssize_t relay_file_read(struct file *filp, in relay_file_read()
Dkcmp.c103 struct file *filp, *filp_epoll, *filp_tgt; in kcmp_epoll_target() local
Dlatencytop.c279 static int lstats_open(struct inode *inode, struct file *filp) in lstats_open()
Dksysfs.c196 static ssize_t notes_read(struct file *filp, struct kobject *kobj, in notes_read()
/kernel/bpf/
Dsyscall.c662 static int bpf_map_release(struct inode *inode, struct file *filp) in bpf_map_release()
699 static void bpf_map_show_fdinfo(struct seq_file *m, struct file *filp) in bpf_map_show_fdinfo()
737 static ssize_t bpf_dummy_read(struct file *filp, char __user *buf, size_t siz, in bpf_dummy_read()
746 static ssize_t bpf_dummy_write(struct file *filp, const char __user *buf, in bpf_dummy_write()
778 static int bpf_map_mmap(struct file *filp, struct vm_area_struct *vma) in bpf_map_mmap()
827 static __poll_t bpf_map_poll(struct file *filp, struct poll_table_struct *pts) in bpf_map_poll()
2088 static int bpf_prog_release(struct inode *inode, struct file *filp) in bpf_prog_release()
2141 static void bpf_prog_show_fdinfo(struct seq_file *m, struct file *filp) in bpf_prog_show_fdinfo()
2760 static int bpf_link_release(struct inode *inode, struct file *filp) in bpf_link_release()
2780 static void bpf_link_show_fdinfo(struct seq_file *m, struct file *filp) in bpf_link_show_fdinfo()
Dringbuf.c313 static __poll_t ringbuf_map_poll_kern(struct bpf_map *map, struct file *filp, in ringbuf_map_poll_kern()
326 static __poll_t ringbuf_map_poll_user(struct bpf_map *map, struct file *filp, in ringbuf_map_poll_user()
/kernel/module/
Dsysfs.c149 static ssize_t module_notes_read(struct file *filp, struct kobject *kobj, in module_notes_read()
/kernel/events/
Duprobes.c787 static int __copy_insn(struct address_space *mapping, struct file *filp, in __copy_insn()
809 static int copy_insn(struct uprobe *uprobe, struct file *filp) in copy_insn()

12