Home
last modified time | relevance | path

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

/kernel/power/
Duser.c47 static int snapshot_open(struct inode *inode, struct file *filp) in snapshot_open()
106 static int snapshot_release(struct inode *inode, struct file *filp) in snapshot_release()
132 static ssize_t snapshot_read(struct file *filp, char __user *buf, in snapshot_read()
165 static ssize_t snapshot_write(struct file *filp, const char __user *buf, in snapshot_write()
245 static long snapshot_ioctl(struct file *filp, unsigned int cmd, in snapshot_ioctl()
Dqos.c338 static int cpu_latency_qos_open(struct inode *inode, struct file *filp) in cpu_latency_qos_open()
352 static int cpu_latency_qos_release(struct inode *inode, struct file *filp) in cpu_latency_qos_release()
364 static ssize_t cpu_latency_qos_read(struct file *filp, char __user *buf, in cpu_latency_qos_read()
381 static ssize_t cpu_latency_qos_write(struct file *filp, const char __user *buf, in cpu_latency_qos_write()
/kernel/trace/
Dtrace.c4451 int tracing_open_generic(struct inode *inode, struct file *filp) in tracing_open_generic()
4472 int tracing_open_generic_tr(struct inode *inode, struct file *filp) in tracing_open_generic_tr()
4490 int tracing_open_file_tr(struct inode *inode, struct file *filp) in tracing_open_file_tr()
4504 int tracing_release_file_tr(struct inode *inode, struct file *filp) in tracing_release_file_tr()
4721 tracing_write_stub(struct file *filp, const char __user *ubuf, in tracing_write_stub()
4757 tracing_cpumask_read(struct file *filp, char __user *ubuf, in tracing_cpumask_read()
4825 tracing_cpumask_write(struct file *filp, const char __user *ubuf, in tracing_cpumask_write()
5063 tracing_trace_options_write(struct file *filp, const char __user *ubuf, in tracing_trace_options_write()
5374 tracing_readme_read(struct file *filp, char __user *ubuf, in tracing_readme_read()
5425 static int tracing_saved_tgids_open(struct inode *inode, struct file *filp) in tracing_saved_tgids_open()
[all …]
Dtrace_events.c1128 event_enable_read(struct file *filp, char __user *ubuf, size_t cnt, in event_enable_read()
1158 event_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, in event_enable_write()
1194 system_enable_read(struct file *filp, char __user *ubuf, size_t cnt, in system_enable_read()
1241 system_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, in system_enable_write()
1414 event_id_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) in event_id_read()
1429 event_filter_read(struct file *filp, char __user *ubuf, size_t cnt, in event_filter_read()
1462 event_filter_write(struct file *filp, const char __user *ubuf, size_t cnt, in event_filter_write()
1493 static int subsystem_open(struct inode *inode, struct file *filp) in subsystem_open()
1543 static int system_tr_open(struct inode *inode, struct file *filp) in system_tr_open()
1585 subsystem_filter_read(struct file *filp, char __user *ubuf, size_t cnt, in subsystem_filter_read()
[all …]
Dtrace_hwlat.c420 static ssize_t hwlat_read(struct file *filp, char __user *ubuf, in hwlat_read()
457 hwlat_width_write(struct file *filp, const char __user *ubuf, in hwlat_width_write()
496 hwlat_window_write(struct file *filp, const char __user *ubuf, in hwlat_window_write()
Dtrace_stack.c325 stack_max_size_read(struct file *filp, char __user *ubuf, in stack_max_size_read()
339 stack_max_size_write(struct file *filp, const char __user *ubuf, in stack_max_size_write()
Dtrace_events_inject.c279 event_inject_write(struct file *filp, const char __user *ubuf, size_t cnt, in event_inject_write()
Dtrace_mmiotrace.c133 static ssize_t mmio_read(struct trace_iterator *iter, struct file *filp, in mmio_read()
Dtrace_functions_graph.c1301 graph_depth_write(struct file *filp, const char __user *ubuf, size_t cnt, in graph_depth_write()
1319 graph_depth_read(struct file *filp, char __user *ubuf, size_t cnt, in graph_depth_read()
Dtrace_events_trigger.c298 event_trigger_write(struct file *filp, const char __user *ubuf, in event_trigger_write()
305 event_trigger_open(struct inode *inode, struct file *filp) in event_trigger_open()
Dblktrace.c373 static ssize_t blk_dropped_read(struct file *filp, char __user *buffer, in blk_dropped_read()
391 static ssize_t blk_msg_write(struct file *filp, const char __user *buffer, in blk_msg_write()
Dftrace.c885 ftrace_profile_write(struct file *filp, const char __user *ubuf, in ftrace_profile_write()
930 ftrace_profile_read(struct file *filp, char __user *ubuf, in ftrace_profile_read()
7413 pid_write(struct file *filp, const char __user *ubuf, in pid_write()
7488 ftrace_pid_write(struct file *filp, const char __user *ubuf, in ftrace_pid_write()
7495 ftrace_no_pid_write(struct file *filp, const char __user *ubuf, in ftrace_no_pid_write()
Dtrace.h1691 static inline void *event_file_data(struct file *filp) in event_file_data()
Dring_buffer.c1001 struct file *filp, poll_table *poll_table, int full) in ring_buffer_poll_wait()
/kernel/
Drelay.c99 struct file *filp = vma->vm_file; in relay_mmap_buf() local
290 struct file *filp) in buf_mapped_default_callback()
298 struct file *filp) in buf_unmapped_default_callback()
901 static int relay_file_open(struct inode *inode, struct file *filp) in relay_file_open()
917 static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma) in relay_file_mmap()
930 static __poll_t relay_file_poll(struct file *filp, poll_table *wait) in relay_file_poll()
955 static int relay_file_release(struct inode *inode, struct file *filp) in relay_file_release()
1121 static ssize_t relay_file_read(struct file *filp, in relay_file_read()
Dlatencytop.c253 static int lstats_open(struct inode *inode, struct file *filp) in lstats_open()
Dkcmp.c108 struct file *filp, *filp_epoll, *filp_tgt; in kcmp_epoll_target() local
Dksysfs.c197 static ssize_t notes_read(struct file *filp, struct kobject *kobj, in notes_read()
Dmodule.c1674 static ssize_t module_notes_read(struct file *filp, struct kobject *kobj, in module_notes_read()
/kernel/bpf/
Dsyscall.c524 static int bpf_map_release(struct inode *inode, struct file *filp) in bpf_map_release()
548 static void bpf_map_show_fdinfo(struct seq_file *m, struct file *filp) in bpf_map_show_fdinfo()
586 static ssize_t bpf_dummy_read(struct file *filp, char __user *buf, size_t siz, in bpf_dummy_read()
595 static ssize_t bpf_dummy_write(struct file *filp, const char __user *buf, in bpf_dummy_write()
627 static int bpf_map_mmap(struct file *filp, struct vm_area_struct *vma) in bpf_map_mmap()
675 static __poll_t bpf_map_poll(struct file *filp, struct poll_table_struct *pts) in bpf_map_poll()
1792 static int bpf_prog_release(struct inode *inode, struct file *filp) in bpf_prog_release()
1825 static void bpf_prog_show_fdinfo(struct seq_file *m, struct file *filp) in bpf_prog_show_fdinfo()
2386 static int bpf_link_release(struct inode *inode, struct file *filp) in bpf_link_release()
2406 static void bpf_link_show_fdinfo(struct seq_file *m, struct file *filp) in bpf_link_show_fdinfo()
Dringbuf.c272 static __poll_t ringbuf_map_poll(struct bpf_map *map, struct file *filp, in ringbuf_map_poll()
Dbtf.c5425 static void bpf_btf_show_fdinfo(struct seq_file *m, struct file *filp) in bpf_btf_show_fdinfo()
5433 static int btf_release(struct inode *inode, struct file *filp) in btf_release()
/kernel/sched/
Ddebug.c127 sched_feat_write(struct file *filp, const char __user *ubuf, in sched_feat_write()
159 static int sched_feat_open(struct inode *inode, struct file *filp) in sched_feat_open()
/kernel/events/
Duprobes.c791 static int __copy_insn(struct address_space *mapping, struct file *filp, in __copy_insn()
813 static int copy_insn(struct uprobe *uprobe, struct file *filp) in copy_insn()
Dcore.c6338 static int perf_fasync(int fd, struct file *filp, int on) in perf_fasync()