Home
last modified time | relevance | path

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

1234

/kernel/trace/
Dtrace_events_trigger.c58 event_triggers_call(struct trace_event_file *file, in event_triggers_call()
89 bool __trace_trigger_soft_disabled(struct trace_event_file *file) in __trace_trigger_soft_disabled()
116 event_triggers_post_call(struct trace_event_file *file, in event_triggers_post_call()
143 static bool check_user_trigger(struct trace_event_file *file) in check_user_trigger()
206 static int event_trigger_regex_open(struct inode *inode, struct file *file) in event_trigger_regex_open()
247 int trigger_process_regex(struct trace_event_file *file, char *buff) in trigger_process_regex()
275 static ssize_t event_trigger_regex_write(struct file *file, in event_trigger_regex_write()
315 static int event_trigger_regex_release(struct inode *inode, struct file *file) in event_trigger_regex_release()
342 event_trigger_release(struct inode *inode, struct file *file) in event_trigger_release()
473 int trace_event_trigger_enable_disable(struct trace_event_file *file, in trace_event_trigger_enable_disable()
[all …]
Dtrace_events.c72 #define do_for_each_event_file(tr, file) \ argument
76 #define do_for_each_event_file_safe(tr, file) \ argument
676 struct trace_event_file *file = data; in trace_event_reg() local
713 struct trace_event_file *file; in trace_event_enable_cmd_record() local
735 struct trace_event_file *file; in trace_event_enable_tgid_record() local
755 static int __ftrace_event_enable_disable(struct trace_event_file *file, in __ftrace_event_enable_disable()
869 int trace_event_enable_disable(struct trace_event_file *file, in trace_event_enable_disable()
875 static int ftrace_event_enable_disable(struct trace_event_file *file, in ftrace_event_enable_disable()
883 struct trace_event_file *file; in ftrace_clear_events() local
1034 struct trace_event_file *file; in __ftrace_clear_event_pids() local
[all …]
Dtrace_eprobe.c40 struct trace_event_file *file; member
489 struct trace_event_file *file, in eprobe_trigger_cmd_parse()
498 struct trace_event_file *file) in eprobe_trigger_reg_func()
505 struct trace_event_file *file) in eprobe_trigger_unreg_func()
529 new_eprobe_trigger(struct trace_eprobe *ep, struct trace_event_file *file) in new_eprobe_trigger()
580 struct trace_event_file *file; in enable_eprobe() local
606 struct trace_event_file *file; in disable_eprobe() local
645 struct trace_event_file *file) in enable_trace_eprobe()
702 struct trace_event_file *file) in disable_trace_eprobe()
741 struct trace_event_file *file = data; in eprobe_register() local
Dtrace_events_hist.c773 static void last_cmd_set(struct trace_event_file *file, char *str) in last_cmd_set()
1122 struct trace_event_file *file, in find_var()
1154 struct trace_event_file *file, *found = NULL; in find_var_file() local
1178 static struct hist_field *find_file_var(struct trace_event_file *file, in find_file_var()
1204 struct trace_event_file *file; in find_match_var() local
1239 struct trace_event_file *file; in find_event_var() local
2294 parse_field(struct hist_trigger_data *hist_data, struct trace_event_file *file, in parse_field()
2445 struct trace_event_file *file, char *str, in parse_atom()
2522 struct trace_event_file *file, in parse_unary()
2654 struct trace_event_file *file, in parse_expr()
[all …]
Dtrace_recursion_record.c181 static int recursed_function_open(struct inode *inode, struct file *file) in recursed_function_open()
203 static ssize_t recursed_function_write(struct file *file, in recursed_function_write()
210 static int recursed_function_release(struct inode *inode, struct file *file) in recursed_function_release()
Dtrace_syscalls.c380 static int reg_event_syscall_enter(struct trace_event_file *file, in reg_event_syscall_enter()
401 static void unreg_event_syscall_enter(struct trace_event_file *file, in unreg_event_syscall_enter()
418 static int reg_event_syscall_exit(struct trace_event_file *file, in reg_event_syscall_exit()
439 static void unreg_event_syscall_exit(struct trace_event_file *file, in unreg_event_syscall_exit()
777 struct trace_event_file *file = data; in syscall_enter_register() local
805 struct trace_event_file *file = data; in syscall_exit_register() local
Dtrace_events_inject.c17 trace_inject_entry(struct trace_event_file *file, void *rec, int len) in trace_inject_entry()
288 struct trace_event_file *file; in event_inject_write() local
324 event_inject_read(struct file *file, char __user *buf, size_t size, in event_inject_read()
Dtrace_events_filter.c1251 static inline struct event_filter *event_filter(struct trace_event_file *file) in event_filter()
1257 void print_event_filter(struct trace_event_file *file, struct trace_seq *s) in print_event_filter()
1295 static void filter_disable(struct trace_event_file *file) in filter_disable()
1320 static inline void __remove_filter(struct trace_event_file *file) in __remove_filter()
1329 struct trace_event_file *file; in filter_free_subsystem_preds() local
1338 static inline void __free_subsystem_filter(struct trace_event_file *file) in __free_subsystem_filter()
1347 struct trace_event_file *file; in filter_free_subsystem_filters() local
2113 static inline void event_set_filtered_flag(struct trace_event_file *file) in event_set_filtered_flag()
2123 static inline void event_set_filter(struct trace_event_file *file, in event_set_filter()
2129 static inline void event_clear_filter(struct trace_event_file *file) in event_clear_filter()
[all …]
Dtrace_kprobe.c357 struct trace_event_file *file) in enable_trace_kprobe()
407 struct trace_event_file *file) in disable_trace_kprobe()
1317 static int probes_open(struct inode *inode, struct file *file) in probes_open()
1334 static ssize_t probes_write(struct file *file, const char __user *buffer, in probes_write()
1383 static int profile_open(struct inode *inode, struct file *file) in profile_open()
1776 struct trace_event_file *file = data; in kprobe_register() local
1967 struct trace_event_file *file; in enable_boot_kprobe_events() local
2049 struct trace_event_file *file; in find_trace_probe_file() local
2067 struct trace_event_file *file; in kprobe_trace_self_tests_init() local
Dtrace_events_synth.c1660 __synth_event_trace_init(struct trace_event_file *file, in __synth_event_trace_init()
1689 __synth_event_trace_start(struct trace_event_file *file, in __synth_event_trace_start()
1745 int synth_event_trace(struct trace_event_file *file, unsigned int n_vals, ...) in synth_event_trace()
1849 int synth_event_trace_array(struct trace_event_file *file, u64 *vals, in synth_event_trace_array()
1951 int synth_event_trace_start(struct trace_event_file *file, in synth_event_trace_start()
2296 static int synth_events_open(struct inode *inode, struct file *file) in synth_events_open()
2313 static ssize_t synth_events_write(struct file *file, in synth_events_write()
Dtrace_boot.c419 trace_boot_init_histograms(struct trace_event_file *file, in trace_boot_init_histograms()
454 trace_boot_init_histograms(struct trace_event_file *file, in trace_boot_init_histograms()
465 struct trace_event_file *file; in trace_boot_init_one_event() local
/kernel/sched/
Dpsi.c1285 enum psi_res res, struct file *file, in psi_trigger_create()
1474 struct file *file, poll_table *wait) in psi_trigger_poll()
1513 static int psi_io_open(struct inode *inode, struct file *file) in psi_io_open()
1518 static int psi_memory_open(struct inode *inode, struct file *file) in psi_memory_open()
1523 static int psi_cpu_open(struct inode *inode, struct file *file) in psi_cpu_open()
1528 static ssize_t psi_write(struct file *file, const char __user *user_buf, in psi_write()
1571 static ssize_t psi_io_write(struct file *file, const char __user *user_buf, in psi_io_write()
1577 static ssize_t psi_memory_write(struct file *file, const char __user *user_buf, in psi_memory_write()
1583 static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf, in psi_cpu_write()
1589 static __poll_t psi_fop_poll(struct file *file, poll_table *wait) in psi_fop_poll()
[all …]
Dstats.c175 static void *schedstat_start(struct seq_file *file, loff_t *offset) in schedstat_start()
197 static void *schedstat_next(struct seq_file *file, void *data, loff_t *offset) in schedstat_next()
204 static void schedstat_stop(struct seq_file *file, void *data) in schedstat_stop()
/kernel/irq/
Dproc.c135 static ssize_t write_irq_affinity(int type, struct file *file, in write_irq_affinity()
177 static ssize_t irq_affinity_proc_write(struct file *file, in irq_affinity_proc_write()
183 static ssize_t irq_affinity_list_proc_write(struct file *file, in irq_affinity_list_proc_write()
189 static int irq_affinity_proc_open(struct inode *inode, struct file *file) in irq_affinity_proc_open()
194 static int irq_affinity_list_proc_open(struct inode *inode, struct file *file) in irq_affinity_list_proc_open()
233 static ssize_t default_affinity_write(struct file *file, in default_affinity_write()
264 static int default_affinity_open(struct inode *inode, struct file *file) in default_affinity_open()
Ddebugfs.c185 static int irq_debug_open(struct inode *inode, struct file *file) in irq_debug_open()
190 static ssize_t irq_debug_write(struct file *file, const char __user *user_buf, in irq_debug_write()
/kernel/
Dacct.c109 struct file *file; member
210 struct file *file = acct->file; in close_work() local
222 struct file *file; in acct_on() local
459 struct file *file = acct->file; in fill_ac() local
546 struct file *file = acct->file; in acct_write_process() local
Duser_namespace.c880 static bool verify_root_map(const struct file *file, in verify_root_map()
922 static ssize_t map_write(struct file *file, const char __user *buf, in map_write()
1110 ssize_t proc_uid_map_write(struct file *file, const char __user *buf, in proc_uid_map_write()
1127 ssize_t proc_gid_map_write(struct file *file, const char __user *buf, in proc_gid_map_write()
1144 ssize_t proc_projid_map_write(struct file *file, const char __user *buf, in proc_projid_map_write()
1162 static bool new_idmap_permitted(const struct file *file, in new_idmap_permitted()
1215 ssize_t proc_setgroups_write(struct file *file, const char __user *buf, in proc_setgroups_write()
Dprofile.c207 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile()
245 static ssize_t write_profile(struct file *file, const char __user *buf, in write_profile()
/kernel/kcsan/
Ddebugfs.c192 static int show_info(struct seq_file *file, void *v) in show_info()
216 static int debugfs_open(struct inode *inode, struct file *file) in debugfs_open()
222 debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *off) in debugfs_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()
/kernel/gcov/
Dfs.c288 static int gcov_seq_open(struct inode *inode, struct file *file) in gcov_seq_open()
328 static int gcov_seq_release(struct inode *inode, struct file *file) in gcov_seq_release()
382 static ssize_t gcov_seq_write(struct file *file, const char __user *addr, in gcov_seq_write()
635 static ssize_t reset_write(struct file *file, const char __user *addr, in reset_write()
657 static ssize_t reset_read(struct file *file, char __user *addr, size_t len, in reset_read()
/kernel/time/
Dtest_udelay.c94 static int udelay_test_open(struct inode *inode, struct file *file) in udelay_test_open()
99 static ssize_t udelay_test_write(struct file *file, const char __user *buf, in udelay_test_write()
/kernel/bpf/
Dbpf_iter.c94 static ssize_t bpf_seq_read(struct file *file, char __user *buf, size_t size, in bpf_seq_read()
256 static int iter_open(struct inode *inode, struct file *file) in iter_open()
263 static int iter_release(struct inode *inode, struct file *file) in iter_release()
590 static int prepare_seq_file(struct file *file, struct bpf_iter_link *link, in prepare_seq_file()
638 struct file *file; in bpf_iter_new_fd() local
Dbpf_lsm.c188 BPF_CALL_3(bpf_ima_file_hash, struct file *, file, void *, dst, u32, size) in BPF_CALL_3()
/kernel/trace/rv/
Drv_reactors.c124 static int available_reactors_open(struct inode *inode, struct file *file) in available_reactors_open()
187 monitor_reactors_write(struct file *file, const char __user *user_buf, in monitor_reactors_write()
247 static int monitor_reactors_open(struct inode *inode, struct file *file) in monitor_reactors_open()

1234