Home
last modified time | relevance | path

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

123

/kernel/irq/
Dproc.c143 static ssize_t write_irq_affinity(int type, struct file *file, in write_irq_affinity()
189 static ssize_t irq_affinity_proc_write(struct file *file, in irq_affinity_proc_write()
195 static ssize_t irq_affinity_list_proc_write(struct file *file, in irq_affinity_list_proc_write()
201 static int irq_affinity_proc_open(struct inode *inode, struct file *file) in irq_affinity_proc_open()
206 static int irq_affinity_list_proc_open(struct inode *inode, struct file *file) in irq_affinity_list_proc_open()
211 static int irq_affinity_hint_proc_open(struct inode *inode, struct file *file) in irq_affinity_hint_proc_open()
250 static int irq_effective_aff_proc_open(struct inode *inode, struct file *file) in irq_effective_aff_proc_open()
256 struct file *file) in irq_effective_aff_list_proc_open()
283 static ssize_t default_affinity_write(struct file *file, in default_affinity_write()
319 static int default_affinity_open(struct inode *inode, struct file *file) in default_affinity_open()
[all …]
Ddebugfs.c170 static int irq_debug_open(struct inode *inode, struct file *file) in irq_debug_open()
175 static ssize_t irq_debug_write(struct file *file, const char __user *user_buf, in irq_debug_write()
/kernel/trace/
Dtrace_events.c60 #define do_for_each_event_file(tr, file) \ argument
64 #define do_for_each_event_file_safe(tr, file) \ argument
289 struct trace_event_file *file = data; in trace_event_reg() local
326 struct trace_event_file *file; in trace_event_enable_cmd_record() local
348 struct trace_event_file *file; in trace_event_enable_tgid_record() local
368 static int __ftrace_event_enable_disable(struct trace_event_file *file, in __ftrace_event_enable_disable()
486 int trace_event_enable_disable(struct trace_event_file *file, in trace_event_enable_disable()
492 static int ftrace_event_enable_disable(struct trace_event_file *file, in ftrace_event_enable_disable()
500 struct trace_event_file *file; in ftrace_clear_events() local
609 struct trace_event_file *file; in __ftrace_clear_event_pids() local
[all …]
Dtrace_events_trigger.c66 event_triggers_call(struct trace_event_file *file, void *rec) in event_triggers_call()
109 event_triggers_post_call(struct trace_event_file *file, in event_triggers_post_call()
187 static int event_trigger_regex_open(struct inode *inode, struct file *file) in event_trigger_regex_open()
224 static int trigger_process_regex(struct trace_event_file *file, char *buff) in trigger_process_regex()
246 static ssize_t event_trigger_regex_write(struct file *file, in event_trigger_regex_write()
286 static int event_trigger_regex_release(struct inode *inode, struct file *file) in event_trigger_regex_release()
312 event_trigger_release(struct inode *inode, struct file *file) in event_trigger_release()
447 int trace_event_trigger_enable_disable(struct trace_event_file *file, in trace_event_trigger_enable_disable()
483 struct trace_event_file *file; in clear_event_triggers() local
506 void update_cond_flag(struct trace_event_file *file) in update_cond_flag()
[all …]
Dtrace_events_hist.c431 struct trace_event_file *file, in create_val_field()
473 struct trace_event_file *file) in create_val_fields()
511 struct trace_event_file *file, in create_key_field()
588 struct trace_event_file *file) in create_key_fields()
622 struct trace_event_file *file) in create_hist_fields()
789 struct trace_event_file *file) in create_hist_data()
1112 static int event_hist_open(struct inode *inode, struct file *file) in event_hist_open()
1405 struct trace_event_file *file) in hist_register_trigger()
1478 struct trace_event_file *file) in hist_unregister_trigger()
1503 static void hist_unreg_all(struct trace_event_file *file) in hist_unreg_all()
[all …]
Dtrace_syscalls.c402 static int reg_event_syscall_enter(struct trace_event_file *file, in reg_event_syscall_enter()
423 static void unreg_event_syscall_enter(struct trace_event_file *file, in unreg_event_syscall_enter()
440 static int reg_event_syscall_exit(struct trace_event_file *file, in reg_event_syscall_exit()
461 static void unreg_event_syscall_exit(struct trace_event_file *file, in unreg_event_syscall_exit()
762 struct trace_event_file *file = data; in syscall_enter_register() local
790 struct trace_event_file *file = data; in syscall_exit_register() local
Dtrace_events_filter.c723 static inline struct event_filter *event_filter(struct trace_event_file *file) in event_filter()
729 void print_event_filter(struct trace_event_file *file, struct trace_seq *s) in print_event_filter()
857 static void filter_disable(struct trace_event_file *file) in filter_disable()
914 static inline void __remove_filter(struct trace_event_file *file) in __remove_filter()
923 struct trace_event_file *file; in filter_free_subsystem_preds() local
932 static inline void __free_subsystem_filter(struct trace_event_file *file) in __free_subsystem_filter()
941 struct trace_event_file *file; in filter_free_subsystem_filters() local
1739 static inline void event_set_filtered_flag(struct trace_event_file *file) in event_set_filtered_flag()
1749 static inline void event_set_filter(struct trace_event_file *file, in event_set_filter()
1755 static inline void event_clear_filter(struct trace_event_file *file) in event_clear_filter()
[all …]
Dtrace_kprobe.c377 enable_trace_kprobe(struct trace_kprobe *tk, struct trace_event_file *file) in enable_trace_kprobe()
423 disable_trace_kprobe(struct trace_kprobe *tk, struct trace_event_file *file) in disable_trace_kprobe()
905 static int probes_open(struct inode *inode, struct file *file) in probes_open()
918 static ssize_t probes_write(struct file *file, const char __user *buffer, in probes_write()
954 static int profile_open(struct inode *inode, struct file *file) in profile_open()
1265 struct trace_event_file *file = data; in kprobe_register() local
1420 struct trace_event_file *file; in find_trace_probe_file() local
1438 struct trace_event_file *file; in kprobe_trace_self_tests_init() local
Dtrace_uprobe.c641 static int probes_open(struct inode *inode, struct file *file) in probes_open()
654 static ssize_t probes_write(struct file *file, const char __user *buffer, in probes_write()
686 static int profile_open(struct inode *inode, struct file *file) in profile_open()
905 probe_event_enable(struct trace_uprobe *tu, struct trace_event_file *file, in probe_event_enable()
963 probe_event_disable(struct trace_uprobe *tu, struct trace_event_file *file) in probe_event_disable()
1194 struct trace_event_file *file = data; in trace_uprobe_register() local
/kernel/sched/
Dstats.c84 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()
111 static void schedstat_stop(struct seq_file *file, void *data) in schedstat_stop()
122 static int schedstat_open(struct inode *inode, struct file *file) in schedstat_open()
Dpsi.c993 static int psi_io_open(struct inode *inode, struct file *file) in psi_io_open()
998 static int psi_memory_open(struct inode *inode, struct file *file) in psi_memory_open()
1003 static int psi_cpu_open(struct inode *inode, struct file *file) in psi_cpu_open()
1154 unsigned int psi_trigger_poll(void **trigger_ptr, struct file *file, in psi_trigger_poll()
1184 static ssize_t psi_write(struct file *file, const char __user *user_buf, in psi_write()
1217 static ssize_t psi_io_write(struct file *file, const char __user *user_buf, in psi_io_write()
1223 static ssize_t psi_memory_write(struct file *file, const char __user *user_buf, in psi_memory_write()
1229 static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf, in psi_cpu_write()
1235 static unsigned int psi_fop_poll(struct file *file, poll_table *wait) in psi_fop_poll()
1242 static int psi_fop_release(struct inode *inode, struct file *file) in psi_fop_release()
/kernel/locking/
Dlockdep_proc.c104 static int lockdep_open(struct inode *inode, struct file *file) in lockdep_open()
174 static int lockdep_chains_open(struct inode *inode, struct file *file) in lockdep_chains_open()
360 static int lockdep_stats_open(struct inode *inode, struct file *file) in lockdep_stats_open()
617 static int lock_stat_open(struct inode *inode, struct file *file) in lock_stat_open()
649 static ssize_t lock_stat_write(struct file *file, const char __user *buf, in lock_stat_write()
668 static int lock_stat_release(struct inode *inode, struct file *file) in lock_stat_release()
Dqspinlock_stat.h102 static ssize_t qstat_read(struct file *file, char __user *user_buf, in qstat_read()
169 static ssize_t qstat_write(struct file *file, const char __user *user_buf, in qstat_write()
/kernel/
Dpanic.c521 void __warn(const char *file, int line, void *caller, unsigned taint, in __warn()
564 void warn_slowpath_fmt(const char *file, int line, const char *fmt, ...) in warn_slowpath_fmt()
576 void warn_slowpath_fmt_taint(const char *file, int line, in warn_slowpath_fmt_taint()
588 void warn_slowpath_null(const char *file, int line) in warn_slowpath_null()
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.c923 static ssize_t bin_dir(struct file *file, in bin_dir()
930 static ssize_t bin_string(struct file *file, in bin_string()
973 static ssize_t bin_intvec(struct file *file, in bin_intvec()
1046 static ssize_t bin_ulongvec(struct file *file, in bin_ulongvec()
1119 static ssize_t bin_uuid(struct file *file, in bin_uuid()
1154 static ssize_t bin_dn_node_address(struct file *file, in bin_dn_node_address()
1300 struct file *file; in binary_sysctl() local
Dprofile.c421 static int prof_cpu_mask_proc_open(struct inode *inode, struct file *file) in prof_cpu_mask_proc_open()
426 static ssize_t prof_cpu_mask_proc_write(struct file *file, in prof_cpu_mask_proc_write()
465 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_profile()
498 static ssize_t write_profile(struct file *file, const char __user *buf, in write_profile()
Duser_namespace.c641 static ssize_t map_write(struct file *file, const char __user *buf, in map_write()
800 ssize_t proc_uid_map_write(struct file *file, const char __user *buf, in proc_uid_map_write()
817 ssize_t proc_gid_map_write(struct file *file, const char __user *buf, in proc_gid_map_write()
834 ssize_t proc_projid_map_write(struct file *file, const char __user *buf, in proc_projid_map_write()
852 static bool new_idmap_permitted(const struct file *file, in new_idmap_permitted()
901 ssize_t proc_setgroups_write(struct file *file, const char __user *buf, in proc_setgroups_write()
Dexec_domain.c31 static int execdomains_proc_open(struct inode *inode, struct file *file) in execdomains_proc_open()
Dconfigs.c58 ikconfig_read_current(struct file *file, char __user *buf, in ikconfig_read_current()
Dcred.c790 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) in __invalid_creds()
803 const char *file, unsigned line) in __validate_process_creds()
/kernel/gcov/
Dfs.c179 static int gcov_seq_open(struct inode *inode, struct file *file) in gcov_seq_open()
219 static int gcov_seq_release(struct inode *inode, struct file *file) in gcov_seq_release()
273 static ssize_t gcov_seq_write(struct file *file, const char __user *addr, in gcov_seq_write()
533 static ssize_t reset_write(struct file *file, const char __user *addr, in reset_write()
555 static ssize_t reset_read(struct file *file, char __user *addr, size_t len, in reset_read()
/kernel/time/
Dtest_udelay.c103 static int udelay_test_open(struct inode *inode, struct file *file) in udelay_test_open()
108 static ssize_t udelay_test_write(struct file *file, const char __user *buf, in udelay_test_write()
Dtimekeeping_debug.c46 static int tk_debug_sleep_time_open(struct inode *inode, struct file *file) in tk_debug_sleep_time_open()
Dtimer_list.c347 static void *timer_list_start(struct seq_file *file, loff_t *offset) in timer_list_start()
358 static void *timer_list_next(struct seq_file *file, void *v, loff_t *offset) in timer_list_next()

123