Home
last modified time | relevance | path

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

1234

/kernel/trace/
Dtrace_events_trigger.c56 event_triggers_call(struct trace_event_file *file, in event_triggers_call()
87 bool __trace_trigger_soft_disabled(struct trace_event_file *file) in __trace_trigger_soft_disabled()
114 event_triggers_post_call(struct trace_event_file *file, in event_triggers_post_call()
141 static bool check_user_trigger(struct trace_event_file *file) in check_user_trigger()
204 static int event_trigger_regex_open(struct inode *inode, struct file *file) in event_trigger_regex_open()
245 int trigger_process_regex(struct trace_event_file *file, char *buff) in trigger_process_regex()
273 static ssize_t event_trigger_regex_write(struct file *file, in event_trigger_regex_write()
313 static int event_trigger_regex_release(struct inode *inode, struct file *file) in event_trigger_regex_release()
340 event_trigger_release(struct inode *inode, struct file *file) in event_trigger_release()
471 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
528 struct trace_event_file *file = data; in trace_event_reg() local
565 struct trace_event_file *file; in trace_event_enable_cmd_record() local
587 struct trace_event_file *file; in trace_event_enable_tgid_record() local
607 static int __ftrace_event_enable_disable(struct trace_event_file *file, in __ftrace_event_enable_disable()
719 int trace_event_enable_disable(struct trace_event_file *file, in trace_event_enable_disable()
725 static int ftrace_event_enable_disable(struct trace_event_file *file, in ftrace_event_enable_disable()
733 struct trace_event_file *file; in ftrace_clear_events() local
884 struct trace_event_file *file; in __ftrace_clear_event_pids() local
[all …]
Dtrace_eprobe.c40 struct trace_event_file *file; member
584 struct trace_event_file *file, in eprobe_trigger_cmd_parse()
593 struct trace_event_file *file) in eprobe_trigger_reg_func()
600 struct trace_event_file *file) in eprobe_trigger_unreg_func()
624 new_eprobe_trigger(struct trace_eprobe *ep, struct trace_event_file *file) in new_eprobe_trigger()
675 struct trace_event_file *file; in enable_eprobe() local
701 struct trace_event_file *file; in disable_eprobe() local
740 struct trace_event_file *file) in enable_trace_eprobe()
799 struct trace_event_file *file) in disable_trace_eprobe()
840 struct trace_event_file *file = data; in eprobe_register() local
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_events_hist.c770 static void last_cmd_set(struct trace_event_file *file, char *str) in last_cmd_set()
1126 struct trace_event_file *file, in find_var()
1158 struct trace_event_file *file, *found = NULL; in find_var_file() local
1182 static struct hist_field *find_file_var(struct trace_event_file *file, in find_file_var()
1208 struct trace_event_file *file; in find_match_var() local
1243 struct trace_event_file *file; in find_event_var() local
2279 parse_field(struct hist_trigger_data *hist_data, struct trace_event_file *file, in parse_field()
2420 struct trace_event_file *file, char *str, in parse_atom()
2497 struct trace_event_file *file, in parse_unary()
2629 struct trace_event_file *file, in parse_expr()
[all …]
Dtrace_syscalls.c368 static int reg_event_syscall_enter(struct trace_event_file *file, in reg_event_syscall_enter()
389 static void unreg_event_syscall_enter(struct trace_event_file *file, in unreg_event_syscall_enter()
406 static int reg_event_syscall_exit(struct trace_event_file *file, in reg_event_syscall_exit()
427 static void unreg_event_syscall_exit(struct trace_event_file *file, in unreg_event_syscall_exit()
757 struct trace_event_file *file = data; in syscall_enter_register() local
785 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.c1118 static inline struct event_filter *event_filter(struct trace_event_file *file) in event_filter()
1124 void print_event_filter(struct trace_event_file *file, struct trace_seq *s) in print_event_filter()
1162 static void filter_disable(struct trace_event_file *file) in filter_disable()
1187 static inline void __remove_filter(struct trace_event_file *file) in __remove_filter()
1196 struct trace_event_file *file; in filter_free_subsystem_preds() local
1205 static inline void __free_subsystem_filter(struct trace_event_file *file) in __free_subsystem_filter()
1214 struct trace_event_file *file; in filter_free_subsystem_filters() local
1761 static inline void event_set_filtered_flag(struct trace_event_file *file) in event_set_filtered_flag()
1771 static inline void event_set_filter(struct trace_event_file *file, in event_set_filter()
1777 static inline void event_clear_filter(struct trace_event_file *file) in event_clear_filter()
[all …]
Dtrace_kprobe.c350 struct trace_event_file *file) in enable_trace_kprobe()
400 struct trace_event_file *file) in disable_trace_kprobe()
1202 static int probes_open(struct inode *inode, struct file *file) in probes_open()
1219 static ssize_t probes_write(struct file *file, const char __user *buffer, in probes_write()
1263 static int profile_open(struct inode *inode, struct file *file) in profile_open()
1692 struct trace_event_file *file = data; in kprobe_register() local
1895 struct trace_event_file *file; in enable_boot_kprobe_events() local
1977 struct trace_event_file *file; in find_trace_probe_file() local
1995 struct trace_event_file *file; in kprobe_trace_self_tests_init() local
Dtrace_events_user.c904 struct trace_event_file *file; in user_event_ftrace() local
1392 static ssize_t user_events_write_core(struct file *file, struct iov_iter *i) in user_events_write_core()
1468 static int user_events_open(struct inode *node, struct file *file) in user_events_open()
1490 static ssize_t user_events_write(struct file *file, const char __user *ubuf, in user_events_write()
1654 static long user_events_ioctl(struct file *file, unsigned int cmd, in user_events_ioctl()
1681 static int user_events_release(struct inode *node, struct file *file) in user_events_release()
1735 static struct user_event_group *user_status_group(struct file *file) in user_status_group()
1748 static int user_status_mmap(struct file *file, struct vm_area_struct *vma) in user_status_mmap()
1838 static int user_status_open(struct inode *node, struct file *file) in user_status_open()
Dtrace_events_synth.c1644 __synth_event_trace_init(struct trace_event_file *file, in __synth_event_trace_init()
1673 __synth_event_trace_start(struct trace_event_file *file, in __synth_event_trace_start()
1729 int synth_event_trace(struct trace_event_file *file, unsigned int n_vals, ...) in synth_event_trace()
1833 int synth_event_trace_array(struct trace_event_file *file, u64 *vals, in synth_event_trace_array()
1935 int synth_event_trace_start(struct trace_event_file *file, in synth_event_trace_start()
2280 static int synth_events_open(struct inode *inode, struct file *file) in synth_events_open()
2297 static ssize_t synth_events_write(struct file *file, in synth_events_write()
/kernel/irq/
Dproc.c137 static ssize_t write_irq_affinity(int type, struct file *file, in write_irq_affinity()
179 static ssize_t irq_affinity_proc_write(struct file *file, in irq_affinity_proc_write()
185 static ssize_t irq_affinity_list_proc_write(struct file *file, in irq_affinity_list_proc_write()
191 static int irq_affinity_proc_open(struct inode *inode, struct file *file) in irq_affinity_proc_open()
196 static int irq_affinity_list_proc_open(struct inode *inode, struct file *file) in irq_affinity_list_proc_open()
235 static ssize_t default_affinity_write(struct file *file, in default_affinity_write()
266 static int default_affinity_open(struct inode *inode, struct file *file) in default_affinity_open()
Ddebugfs.c189 static int irq_debug_open(struct inode *inode, struct file *file) in irq_debug_open()
194 static ssize_t irq_debug_write(struct file *file, const char __user *user_buf, in irq_debug_write()
/kernel/sched/
Dpsi.c1377 struct file *file, poll_table *wait) in psi_trigger_poll()
1413 static int psi_io_open(struct inode *inode, struct file *file) in psi_io_open()
1418 static int psi_memory_open(struct inode *inode, struct file *file) in psi_memory_open()
1423 static int psi_cpu_open(struct inode *inode, struct file *file) in psi_cpu_open()
1428 static ssize_t psi_write(struct file *file, const char __user *user_buf, in psi_write()
1471 static ssize_t psi_io_write(struct file *file, const char __user *user_buf, in psi_io_write()
1477 static ssize_t psi_memory_write(struct file *file, const char __user *user_buf, in psi_memory_write()
1483 static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf, in psi_cpu_write()
1489 static __poll_t psi_fop_poll(struct file *file, poll_table *wait) in psi_fop_poll()
1496 static int psi_fop_release(struct inode *inode, struct file *file) in psi_fop_release()
[all …]
Dstats.c186 static void *schedstat_start(struct seq_file *file, loff_t *offset) in schedstat_start()
208 static void *schedstat_next(struct seq_file *file, void *data, loff_t *offset) in schedstat_next()
215 static void schedstat_stop(struct seq_file *file, void *data) in schedstat_stop()
/kernel/kcsan/
Ddebugfs.c194 static int show_info(struct seq_file *file, void *v) in show_info()
218 static int debugfs_open(struct inode *inode, struct file *file) in debugfs_open()
224 debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *off) in debugfs_write()
/kernel/
Dacct.c109 struct file *file; member
205 struct file *file = acct->file; in close_work() local
214 struct file *file; in acct_on() local
497 struct file *file = acct->file; in do_acct_process() local
Dprofile.c406 static int prof_cpu_mask_proc_open(struct inode *inode, struct file *file) in prof_cpu_mask_proc_open()
411 static ssize_t prof_cpu_mask_proc_write(struct file *file, in prof_cpu_mask_proc_write()
450 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile()
489 static ssize_t write_profile(struct file *file, const char __user *buf, in write_profile()
Duser_namespace.c878 static bool verify_root_map(const struct file *file, in verify_root_map()
920 static ssize_t map_write(struct file *file, const char __user *buf, in map_write()
1108 ssize_t proc_uid_map_write(struct file *file, const char __user *buf, in proc_uid_map_write()
1125 ssize_t proc_gid_map_write(struct file *file, const char __user *buf, in proc_gid_map_write()
1142 ssize_t proc_projid_map_write(struct file *file, const char __user *buf, in proc_projid_map_write()
1160 static bool new_idmap_permitted(const struct file *file, in new_idmap_permitted()
1213 ssize_t proc_setgroups_write(struct file *file, const char __user *buf, in proc_setgroups_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/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()
591 static int prepare_seq_file(struct file *file, struct bpf_iter_link *link, in prepare_seq_file()
639 struct file *file; in bpf_iter_new_fd() local
Dbpf_lsm.c161 BPF_CALL_3(bpf_ima_file_hash, struct file *, file, void *, dst, u32, size) in BPF_CALL_3()
/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/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