Home
last modified time | relevance | path

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

123

/kernel/trace/
Dtrace_events.c62 #define do_for_each_event_file(tr, file) \ argument
66 #define do_for_each_event_file_safe(tr, file) \ argument
283 struct trace_event_file *file = data; in trace_event_reg() local
320 struct trace_event_file *file; in trace_event_enable_cmd_record() local
342 struct trace_event_file *file; in trace_event_enable_tgid_record() local
362 static int __ftrace_event_enable_disable(struct trace_event_file *file, in __ftrace_event_enable_disable()
480 int trace_event_enable_disable(struct trace_event_file *file, in trace_event_enable_disable()
486 static int ftrace_event_enable_disable(struct trace_event_file *file, in ftrace_event_enable_disable()
494 struct trace_event_file *file; in ftrace_clear_events() local
603 struct trace_event_file *file; in __ftrace_clear_event_pids() local
[all …]
Dtrace_events_trigger.c56 event_triggers_call(struct trace_event_file *file, void *rec, in event_triggers_call()
99 event_triggers_post_call(struct trace_event_file *file, in event_triggers_post_call()
175 static int event_trigger_regex_open(struct inode *inode, struct file *file) in event_trigger_regex_open()
216 static int trigger_process_regex(struct trace_event_file *file, char *buff) in trigger_process_regex()
238 static ssize_t event_trigger_regex_write(struct file *file, in event_trigger_regex_write()
278 static int event_trigger_regex_release(struct inode *inode, struct file *file) in event_trigger_regex_release()
305 event_trigger_release(struct inode *inode, struct file *file) in event_trigger_release()
440 int trace_event_trigger_enable_disable(struct trace_event_file *file, in trace_event_trigger_enable_disable()
476 struct trace_event_file *file; in clear_event_triggers() local
499 void update_cond_flag(struct trace_event_file *file) in update_cond_flag()
[all …]
Dtrace_events_filter.c976 static inline struct event_filter *event_filter(struct trace_event_file *file) in event_filter()
982 void print_event_filter(struct trace_event_file *file, struct trace_seq *s) in print_event_filter()
1020 static void filter_disable(struct trace_event_file *file) in filter_disable()
1045 static inline void __remove_filter(struct trace_event_file *file) in __remove_filter()
1054 struct trace_event_file *file; in filter_free_subsystem_preds() local
1063 static inline void __free_subsystem_filter(struct trace_event_file *file) in __free_subsystem_filter()
1072 struct trace_event_file *file; in filter_free_subsystem_filters() local
1543 static inline void event_set_filtered_flag(struct trace_event_file *file) in event_set_filtered_flag()
1553 static inline void event_set_filter(struct trace_event_file *file, in event_set_filter()
1559 static inline void event_clear_filter(struct trace_event_file *file) in event_clear_filter()
[all …]
Dtrace_events_hist.c603 static void last_cmd_set(struct trace_event_file *file, char *str) in last_cmd_set()
1470 static int synth_events_open(struct inode *inode, struct file *file) in synth_events_open()
1487 static ssize_t synth_events_write(struct file *file, in synth_events_write()
1763 struct trace_event_file *file, in find_var()
1795 struct trace_event_file *file, *found = NULL; in find_var_file() local
1819 static struct hist_field *find_file_var(struct trace_event_file *file, in find_file_var()
1845 struct trace_event_file *file; in find_match_var() local
1880 struct trace_event_file *file; in find_event_var() local
2784 parse_field(struct hist_trigger_data *hist_data, struct trace_event_file *file, in parse_field()
2865 struct trace_event_file *file, char *str, in parse_atom()
[all …]
Dtrace_syscalls.c404 static int reg_event_syscall_enter(struct trace_event_file *file, in reg_event_syscall_enter()
425 static void unreg_event_syscall_enter(struct trace_event_file *file, in unreg_event_syscall_enter()
442 static int reg_event_syscall_exit(struct trace_event_file *file, in reg_event_syscall_exit()
463 static void unreg_event_syscall_exit(struct trace_event_file *file, in unreg_event_syscall_exit()
769 struct trace_event_file *file = data; in syscall_enter_register() local
797 struct trace_event_file *file = data; in syscall_exit_register() local
Dtrace_kprobe.c352 struct trace_event_file *file) in enable_trace_kprobe()
403 struct trace_event_file *file) in disable_trace_kprobe()
956 static int probes_open(struct inode *inode, struct file *file) in probes_open()
973 static ssize_t probes_write(struct file *file, const char __user *buffer, in probes_write()
1014 static int profile_open(struct inode *inode, struct file *file) in profile_open()
1493 struct trace_event_file *file = data; in kprobe_register() local
1652 struct trace_event_file *file; in enable_boot_kprobe_events() local
1732 struct trace_event_file *file; in find_trace_probe_file() local
1750 struct trace_event_file *file; in kprobe_trace_self_tests_init() local
Dtrace_dynevent.c173 static int dyn_event_open(struct inode *inode, struct file *file) in dyn_event_open()
190 static ssize_t dyn_event_write(struct file *file, const char __user *buffer, in dyn_event_write()
Dtrace_stat.c37 struct dentry *file; member
235 static int tracing_stat_open(struct inode *inode, struct file *file) in tracing_stat_open()
/kernel/irq/
Dproc.c115 static ssize_t write_irq_affinity(int type, struct file *file, in write_irq_affinity()
157 static ssize_t irq_affinity_proc_write(struct file *file, in irq_affinity_proc_write()
163 static ssize_t irq_affinity_list_proc_write(struct file *file, in irq_affinity_list_proc_write()
169 static int irq_affinity_proc_open(struct inode *inode, struct file *file) in irq_affinity_proc_open()
174 static int irq_affinity_list_proc_open(struct inode *inode, struct file *file) in irq_affinity_list_proc_open()
213 static ssize_t default_affinity_write(struct file *file, in default_affinity_write()
244 static int default_affinity_open(struct inode *inode, struct file *file) in default_affinity_open()
Ddebugfs.c175 static int irq_debug_open(struct inode *inode, struct file *file) in irq_debug_open()
180 static ssize_t irq_debug_write(struct file *file, const char __user *user_buf, in irq_debug_write()
/kernel/sched/
Dstats.c83 static void *schedstat_start(struct seq_file *file, loff_t *offset) in schedstat_start()
105 static void *schedstat_next(struct seq_file *file, void *data, loff_t *offset) in schedstat_next()
112 static void schedstat_stop(struct seq_file *file, void *data) in schedstat_stop()
Dpsi.c992 static int psi_io_open(struct inode *inode, struct file *file) in psi_io_open()
997 static int psi_memory_open(struct inode *inode, struct file *file) in psi_memory_open()
1002 static int psi_cpu_open(struct inode *inode, struct file *file) in psi_cpu_open()
1162 struct file *file, poll_table *wait) in psi_trigger_poll()
1191 static ssize_t psi_write(struct file *file, const char __user *user_buf, in psi_write()
1221 static ssize_t psi_io_write(struct file *file, const char __user *user_buf, in psi_io_write()
1227 static ssize_t psi_memory_write(struct file *file, const char __user *user_buf, in psi_memory_write()
1233 static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf, in psi_cpu_write()
1239 static __poll_t psi_fop_poll(struct file *file, poll_table *wait) in psi_fop_poll()
1246 static int psi_fop_release(struct inode *inode, struct file *file) in psi_fop_release()
/kernel/
Dacct.c90 struct file *file; member
186 struct file *file = acct->file; in close_work() local
195 struct file *file; in acct_on() local
476 struct file *file = acct->file; in do_acct_process() local
Dsysctl_binary.c906 static ssize_t bin_dir(struct file *file, in bin_dir()
913 static ssize_t bin_string(struct file *file, in bin_string()
956 static ssize_t bin_intvec(struct file *file, in bin_intvec()
1029 static ssize_t bin_ulongvec(struct file *file, in bin_ulongvec()
1102 static ssize_t bin_uuid(struct file *file, in bin_uuid()
1137 static ssize_t bin_dn_node_address(struct file *file, in bin_dn_node_address()
1283 struct file *file; in binary_sysctl() local
Dprofile.c422 static int prof_cpu_mask_proc_open(struct inode *inode, struct file *file) in prof_cpu_mask_proc_open()
427 static ssize_t prof_cpu_mask_proc_write(struct file *file, in prof_cpu_mask_proc_write()
466 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile()
499 static ssize_t write_profile(struct file *file, const char __user *buf, in write_profile()
Duser_namespace.c844 static ssize_t map_write(struct file *file, const char __user *buf, in map_write()
1032 ssize_t proc_uid_map_write(struct file *file, const char __user *buf, in proc_uid_map_write()
1049 ssize_t proc_gid_map_write(struct file *file, const char __user *buf, in proc_gid_map_write()
1066 ssize_t proc_projid_map_write(struct file *file, const char __user *buf, in proc_projid_map_write()
1084 static bool new_idmap_permitted(const struct file *file, in new_idmap_permitted()
1133 ssize_t proc_setgroups_write(struct file *file, const char __user *buf, in proc_setgroups_write()
Dconfigs.c41 ikconfig_read_current(struct file *file, char __user *buf, in ikconfig_read_current()
Dkheaders.c33 ikheaders_read(struct file *file, struct kobject *kobj, in ikheaders_read()
Dfail_function.c217 static int fei_open(struct inode *inode, struct file *file) in fei_open()
239 static ssize_t fei_write(struct file *file, const char __user *buffer, in fei_write()
/kernel/locking/
Dlock_events.c61 ssize_t __weak lockevent_read(struct file *file, char __user *user_buf, in lockevent_read()
88 static ssize_t lockevent_write(struct file *file, const char __user *user_buf, in lockevent_write()
Dlockdep_proc.c587 static int lock_stat_open(struct inode *inode, struct file *file) in lock_stat_open()
619 static ssize_t lock_stat_write(struct file *file, const char __user *buf, in lock_stat_write()
638 static int lock_stat_release(struct inode *inode, struct file *file) in lock_stat_release()
/kernel/gcov/
Dfs.c178 static int gcov_seq_open(struct inode *inode, struct file *file) in gcov_seq_open()
218 static int gcov_seq_release(struct inode *inode, struct file *file) in gcov_seq_release()
272 static ssize_t gcov_seq_write(struct file *file, const char __user *addr, in gcov_seq_write()
525 static ssize_t reset_write(struct file *file, const char __user *addr, in reset_write()
547 static ssize_t reset_read(struct file *file, char __user *addr, size_t len, in reset_read()
/kernel/time/
Dtest_udelay.c95 static int udelay_test_open(struct inode *inode, struct file *file) in udelay_test_open()
100 static ssize_t udelay_test_write(struct file *file, const char __user *buf, in udelay_test_write()
Dtimer_list.c340 static void *timer_list_start(struct seq_file *file, loff_t *offset) in timer_list_start()
351 static void *timer_list_next(struct seq_file *file, void *v, loff_t *offset) in timer_list_next()
/kernel/bpf/
Dsysfs_btf.c16 btf_vmlinux_read(struct file *file, struct kobject *kobj, in btf_vmlinux_read()

123