/kernel/ |
H A D | latencytop.c | 274 static int lstats_open(struct inode *inode, struct file *filp) argument 276 return single_open(filp, lstats_show, NULL);
|
H A D | ksysfs.c | 171 static ssize_t notes_read(struct file *filp, struct kobject *kobj, argument
|
H A D | relay.c | 102 struct file *filp = vma->vm_file; local 113 buf->chan->cb->buf_mapped(buf, filp); 291 struct file *filp) 299 struct file *filp) 870 * @filp: the file 874 static int relay_file_open(struct inode *inode, struct file *filp) argument 878 filp->private_data = buf; 880 return nonseekable_open(inode, filp); 885 * @filp: the file 890 static int relay_file_mmap(struct file *filp, struc argument 290 buf_mapped_default_callback(struct rchan_buf *buf, struct file *filp) argument 298 buf_unmapped_default_callback(struct rchan_buf *buf, struct file *filp) argument 903 relay_file_poll(struct file *filp, poll_table *wait) argument 928 relay_file_release(struct inode *inode, struct file *filp) argument 1128 relay_file_read_subbufs(struct file *filp, loff_t *ppos, subbuf_actor_t subbuf_actor, read_descriptor_t *desc) argument 1164 relay_file_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument [all...] |
H A D | kprobes.c | 2255 static int kprobes_open(struct inode *inode, struct file *filp) argument 2257 return seq_open(filp, &kprobes_seq_ops); 2295 static int kprobe_blacklist_open(struct inode *inode, struct file *filp) argument 2297 return seq_open(filp, &kprobe_blacklist_seq_ops);
|
H A D | module.c | 1398 static ssize_t module_notes_read(struct file *filp, struct kobject *kobj, argument
|
/kernel/bpf/ |
H A D | syscall.c | 66 static int bpf_map_release(struct inode *inode, struct file *filp) argument 68 struct bpf_map *map = filp->private_data; 413 static int bpf_prog_release(struct inode *inode, struct file *filp) argument 415 struct bpf_prog *prog = filp->private_data;
|
/kernel/power/ |
H A D | user.c | 47 static int snapshot_open(struct inode *inode, struct file *filp) argument 62 if ((filp->f_flags & O_ACCMODE) == O_RDWR) { 67 nonseekable_open(inode, filp); 69 filp->private_data = data; 71 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) { 110 static int snapshot_release(struct inode *inode, struct file *filp) argument 117 data = filp->private_data; 135 static ssize_t snapshot_read(struct file *filp, char __user *buf, argument 144 data = filp->private_data; 168 static ssize_t snapshot_write(struct file *filp, cons argument 197 snapshot_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | qos.c | 131 static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf, 133 static ssize_t pm_qos_power_read(struct file *filp, char __user *buf, 135 static int pm_qos_power_open(struct inode *inode, struct file *filp); 136 static int pm_qos_power_release(struct inode *inode, struct file *filp); 534 static int pm_qos_power_open(struct inode *inode, struct file *filp) argument 545 filp->private_data = req; 552 static int pm_qos_power_release(struct inode *inode, struct file *filp) argument 556 req = filp->private_data; 564 static ssize_t pm_qos_power_read(struct file *filp, char __user *buf, argument 569 struct pm_qos_request *req = filp 583 pm_qos_power_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) argument [all...] |
/kernel/time/ |
H A D | timer_list.c | 348 static int timer_list_open(struct inode *inode, struct file *filp) argument 350 return seq_open_private(filp, &timer_list_sops,
|
H A D | timer_stats.c | 395 static int tstats_open(struct inode *inode, struct file *filp) argument 397 return single_open(filp, tstats_show, NULL);
|
/kernel/trace/ |
H A D | trace_mmiotrace.c | 139 static ssize_t mmio_read(struct trace_iterator *iter, struct file *filp, argument
|
H A D | trace_stack.c | 231 stack_max_size_read(struct file *filp, char __user *ubuf, argument 234 unsigned long *ptr = filp->private_data; 245 stack_max_size_write(struct file *filp, const char __user *ubuf, argument 248 long *ptr = filp->private_data;
|
H A D | trace_events_trigger.c | 284 event_trigger_write(struct file *filp, const char __user *ubuf, argument 287 return event_trigger_regex_write(filp, ubuf, cnt, ppos); 291 event_trigger_open(struct inode *inode, struct file *filp) argument 293 return event_trigger_regex_open(inode, filp);
|
H A D | trace_functions_graph.c | 1545 graph_depth_write(struct file *filp, const char __user *ubuf, size_t cnt, argument 1563 graph_depth_read(struct file *filp, char __user *ubuf, size_t cnt, argument
|
H A D | blktrace.c | 325 static ssize_t blk_dropped_read(struct file *filp, char __user *buffer, argument 328 struct blk_trace *bt = filp->private_data; 343 static ssize_t blk_msg_write(struct file *filp, const char __user *buffer, argument 362 bt = filp->private_data;
|
H A D | trace_events.c | 722 event_enable_read(struct file *filp, char __user *ubuf, size_t cnt, argument 730 file = event_file_data(filp); 752 event_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, argument 772 file = event_file_data(filp); 788 system_enable_read(struct file *filp, char __user *ubuf, size_t cnt, argument 792 struct ftrace_subsystem_dir *dir = filp->private_data; 834 system_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, argument 837 struct ftrace_subsystem_dir *dir = filp->private_data; 1005 event_id_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 1007 int id = (long)event_file_data(filp); 1023 event_filter_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 1055 event_filter_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 1092 subsystem_open(struct inode *inode, struct file *filp) argument 1142 system_tr_open(struct inode *inode, struct file *filp) argument 1195 subsystem_filter_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 1221 subsystem_filter_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 1252 show_header(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument [all...] |
H A D | trace.h | 367 struct file *filp, char __user *ubuf, 370 struct file *filp, 535 int tracing_open_generic(struct inode *inode, struct file *filp); 1091 static inline void *event_file_data(struct file *filp) argument 1093 return ACCESS_ONCE(file_inode(filp)->i_private);
|
H A D | ring_buffer.c | 630 * @filp: the file descriptor 641 struct file *filp, poll_table *poll_table) 656 poll_wait(filp, &work->waiters, poll_table); 640 ring_buffer_poll_wait(struct ring_buffer *buffer, int cpu, struct file *filp, poll_table *poll_table) argument
|
H A D | ftrace.c | 933 ftrace_profile_write(struct file *filp, const char __user *ubuf, argument 978 ftrace_profile_read(struct file *filp, char __user *ubuf, argument 5113 ftrace_pid_write(struct file *filp, const char __user *ubuf, argument
|
H A D | trace.c | 3114 int tracing_open_generic(struct inode *inode, struct file *filp) argument 3119 filp->private_data = inode->i_private; 3132 static int tracing_open_generic_tr(struct inode *inode, struct file *filp) argument 3142 filp->private_data = inode->i_private; 3336 tracing_write_stub(struct file *filp, const char __user *ubuf, argument 3382 tracing_cpumask_read(struct file *filp, char __user *ubuf, argument 3385 struct trace_array *tr = file_inode(filp)->i_private; 3405 tracing_cpumask_write(struct file *filp, const char __user *ubuf, argument 3408 struct trace_array *tr = file_inode(filp)->i_private; 3602 tracing_trace_options_write(struct file *filp, cons argument 3783 tracing_readme_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 3857 tracing_saved_cmdlines_open(struct inode *inode, struct file *filp) argument 3873 tracing_saved_cmdlines_size_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 3916 tracing_saved_cmdlines_size_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 3990 tracing_set_trace_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 4277 tracing_set_trace_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 4340 tracing_thresh_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 4347 tracing_thresh_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 4372 tracing_max_lat_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 4379 tracing_max_lat_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 4385 tracing_open_pipe(struct inode *inode, struct file *filp) argument 4478 trace_poll(struct trace_iterator *iter, struct file *filp, poll_table *poll_table) argument 4495 tracing_poll_pipe(struct file *filp, poll_table *poll_table) argument 4503 tracing_wait_pipe(struct file *filp) argument 4543 tracing_read_pipe(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 4691 tracing_splice_read_pipe(struct file *filp, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) argument 4783 tracing_entries_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 4831 tracing_entries_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 4859 tracing_total_entries_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 4883 tracing_free_buffer_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 4897 tracing_free_buffer_release(struct inode *inode, struct file *filp) argument 4913 tracing_mark_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *fpos) argument 5066 tracing_clock_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *fpos) argument 5160 tracing_snapshot_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 5258 snapshot_raw_open(struct inode *inode, struct file *filp) argument 5368 tracing_buffers_open(struct inode *inode, struct file *filp) argument 5408 tracing_buffers_poll(struct file *filp, poll_table *poll_table) argument 5417 tracing_buffers_read(struct file *filp, char __user *ubuf, size_t count, loff_t *ppos) argument 5706 tracing_stats_read(struct file *filp, char __user *ubuf, size_t count, loff_t *ppos) argument 5783 tracing_read_dyn_info(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 6028 trace_options_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 6043 trace_options_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 6080 trace_options_core_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 6095 trace_options_core_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 6260 rb_simple_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument 6274 rb_simple_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument [all...] |
/kernel/sched/ |
H A D | debug.c | 470 static int sched_debug_open(struct inode *inode, struct file *filp) argument 474 ret = seq_open(filp, &sched_debug_sops);
|
H A D | core.c | 226 sched_feat_write(struct file *filp, const char __user *ubuf, argument 244 inode = file_inode(filp); 256 static int sched_feat_open(struct inode *inode, struct file *filp) argument 258 return single_open(filp, sched_feat_show, NULL);
|
/kernel/events/ |
H A D | uprobes.c | 537 static int __copy_insn(struct address_space *mapping, struct file *filp, argument 547 page = read_mapping_page(mapping, offset >> PAGE_CACHE_SHIFT, filp); 559 static int copy_insn(struct uprobe *uprobe, struct file *filp) argument 573 err = __copy_insn(mapping, filp, insn, len, offs);
|
H A D | core.c | 4367 static int perf_fasync(int fd, struct file *filp, int on) argument 4369 struct inode *inode = file_inode(filp); 4370 struct perf_event *event = filp->private_data; 4374 retval = fasync_helper(fd, filp, on, &event->fasync); 7830 * which has a filp for sure, which we use as the reference
|