Home
last modified time | relevance | path

Searched refs:private_data (Results 1 – 25 of 34) sorted by relevance

12

/kernel/bpf/
Ddisasm.c28 return cbs->cb_call(cbs->private_data, insn); in __func_get_name()
41 return cbs->cb_imm(cbs->private_data, insn, full_imm); in __func_imm_name()
108 void *private_data, in print_bpf_end_insn() argument
111 verbose(private_data, "(%02x) r%d = %s%d r%d\n", in print_bpf_end_insn()
127 verbose(cbs->private_data, "BUG_alu64_%02x\n", insn->code); in print_bpf_insn()
129 print_bpf_end_insn(verbose, cbs->private_data, insn); in print_bpf_insn()
131 verbose(cbs->private_data, "(%02x) %c%d = -%c%d\n", in print_bpf_insn()
136 verbose(cbs->private_data, "(%02x) %c%d %s %c%d\n", in print_bpf_insn()
143 verbose(cbs->private_data, "(%02x) %c%d %s %d\n", in print_bpf_insn()
151 verbose(cbs->private_data, "(%02x) *(%s *)(r%d %+d) = r%d\n", in print_bpf_insn()
[all …]
Ddisasm.h22 typedef __printf(2, 3) void (*bpf_insn_print_t)(void *private_data,
24 typedef const char *(*bpf_insn_revmap_call_t)(void *private_data,
26 typedef const char *(*bpf_insn_print_imm_t)(void *private_data,
34 void *private_data; member
Doffload.c268 static struct ns_common *bpf_prog_offload_info_fill_ns(void *private_data) in bpf_prog_offload_info_fill_ns() argument
270 struct ns_get_path_bpf_prog_args *args = private_data; in bpf_prog_offload_info_fill_ns()
496 static struct ns_common *bpf_map_offload_info_fill_ns(void *private_data) in bpf_map_offload_info_fill_ns() argument
498 struct ns_get_path_bpf_map_args *args = private_data; in bpf_map_offload_info_fill_ns()
Dsyscall.c350 struct bpf_map *map = filp->private_data; in bpf_map_release()
374 const struct bpf_map *map = filp->private_data; in bpf_map_show_fdinfo()
655 return f.file->private_data; in __bpf_map_get()
1369 struct bpf_prog *prog = filp->private_data; in bpf_prog_release()
1402 const struct bpf_prog *prog = filp->private_data; in bpf_prog_show_fdinfo()
1456 return f.file->private_data; in ____bpf_prog_get()
1797 struct bpf_raw_tracepoint *raw_tp = filp->private_data; in bpf_raw_tracepoint_release()
2671 err = bpf_prog_get_info_by_fd(f.file->private_data, attr, in bpf_obj_get_info_by_fd()
2674 err = bpf_map_get_info_by_fd(f.file->private_data, attr, in bpf_obj_get_info_by_fd()
2677 err = bpf_btf_get_info_by_fd(f.file->private_data, attr, uattr); in bpf_obj_get_info_by_fd()
[all …]
Dinode.c267 m = file->private_data; in bpffs_map_open()
275 struct seq_file *m = file->private_data; in bpffs_map_release()
/kernel/time/
Dposix-clock.c22 struct posix_clock *clk = fp->private_data; in get_posix_clock()
127 fp->private_data = clk; in posix_clock_open()
136 struct posix_clock *clk = fp->private_data; in posix_clock_release()
144 fp->private_data = NULL; in posix_clock_release()
207 if (fp->f_op->open != posix_clock_open || !fp->private_data) in get_clock_desc()
/kernel/trace/
Dtracing_map.h144 void *private_data; member
192 void *private_data; member
244 void *private_data);
Dtrace_events_trigger.c206 struct seq_file *m = file->private_data; in event_trigger_regex_open()
645 trigger_data->private_data = file; in event_trigger_callback()
1064 struct trace_event_file *file = data->private_data; in snapshot_trigger()
1251 struct enable_trigger_data *enable_data = data->private_data; in event_enable_trigger()
1263 struct enable_trigger_data *enable_data = data->private_data; in event_enable_count_trigger()
1282 struct enable_trigger_data *enable_data = data->private_data; in event_enable_trigger_print()
1307 struct enable_trigger_data *enable_data = data->private_data; in event_enable_trigger_free()
1417 trigger_data->private_data = enable_data; in event_enable_trigger_func()
1501 struct enable_trigger_data *enable_data = data->private_data; in event_enable_register_trigger()
1509 test_enable_data = test->private_data; in event_enable_register_trigger()
[all …]
Dtrace_events_hist.c550 elt_data = track_data->elt.private_data; in track_data_free()
584 data->elt.private_data = elt_data; in track_data_alloc()
1778 test_data = test->private_data; in find_var()
1830 test_data = test->private_data; in find_file_var()
1910 elt_data = elt->private_data; in hist_field_var_ref()
2253 struct hist_elt_data *elt_data = elt->private_data; in hist_trigger_elt_data_free()
2260 struct hist_trigger_data *hist_data = elt->map->private_data; in hist_trigger_elt_data_alloc()
2295 elt->private_data = elt_data; in hist_trigger_elt_data_alloc()
2302 struct hist_elt_data *elt_data = elt->private_data; in hist_trigger_elt_data_init()
3148 if (test->private_data == hist_data) in find_trigger_filter()
[all …]
Dtrace.c4173 filp->private_data = inode->i_private; in tracing_open_generic()
4195 filp->private_data = inode->i_private; in tracing_open_generic_tr()
4203 struct seq_file *m = file->private_data; in tracing_release()
4392 m = file->private_data; in show_traces_open()
4717 struct seq_file *m = filp->private_data; in tracing_trace_options_write()
5435 struct trace_array *tr = filp->private_data; in tracing_set_trace_read()
5745 struct trace_array *tr = filp->private_data; in tracing_set_trace_write()
5815 struct trace_array *tr = filp->private_data; in tracing_thresh_write()
5842 return tracing_nsecs_read(filp->private_data, ubuf, cnt, ppos); in tracing_max_lat_read()
5849 return tracing_nsecs_write(filp->private_data, ubuf, cnt, ppos); in tracing_max_lat_write()
[all …]
Dtrace_events.c861 struct seq_file *m = file->private_data; in ftrace_event_write()
1096 struct trace_subsystem_dir *dir = filp->private_data; in system_enable_read()
1141 struct trace_subsystem_dir *dir = filp->private_data; in system_enable_write()
1304 m = file->private_data; in trace_format_open()
1457 filp->private_data = dir; in system_tr_open()
1464 struct trace_subsystem_dir *dir = file->private_data; in subsystem_release()
1485 struct trace_subsystem_dir *dir = filp->private_data; in subsystem_filter_read()
1512 struct trace_subsystem_dir *dir = filp->private_data; in subsystem_filter_write()
1536 int (*func)(struct trace_seq *s) = filp->private_data; in show_header()
1578 struct seq_file *m = filp->private_data; in ftrace_event_pid_write()
[all …]
Dtrace_stack.c328 unsigned long *ptr = filp->private_data; in stack_max_size_read()
342 long *ptr = filp->private_data; in stack_max_size_write()
Dtracing_map.c763 void *private_data) in tracing_map_create() argument
783 map->private_data = private_data; in tracing_map_create()
Dftrace.c3615 struct seq_file *m = file->private_data; in ftrace_regex_open()
3623 file->private_data = iter; in ftrace_regex_open()
4687 struct seq_file *m = file->private_data; in ftrace_regex_write()
4690 iter = file->private_data; in ftrace_regex_write()
5021 struct seq_file *m = (struct seq_file *)file->private_data; in ftrace_regex_release()
5032 iter = file->private_data; in ftrace_regex_release()
5250 struct seq_file *m = file->private_data; in __ftrace_graph_open()
5258 file->private_data = fgd; in __ftrace_graph_open()
5341 struct seq_file *m = file->private_data; in ftrace_graph_release()
5346 fgd = file->private_data; in ftrace_graph_release()
[all …]
Dtrace_stat.c255 m = file->private_data; in tracing_stat_open()
/kernel/power/
Duser.c66 filp->private_data = data; in snapshot_open()
116 data = filp->private_data; in snapshot_release()
143 data = filp->private_data; in snapshot_read()
176 data = filp->private_data; in snapshot_write()
220 data = filp->private_data; in snapshot_ioctl()
Dqos.c568 filp->private_data = req; in pm_qos_power_open()
579 req = filp->private_data; in pm_qos_power_release()
592 struct pm_qos_request *req = filp->private_data; in pm_qos_power_read()
623 req = filp->private_data; in pm_qos_power_write()
/kernel/
Drelay.c568 void *private_data) in relay_open() argument
589 chan->private_data = private_data; in relay_open()
899 filp->private_data = buf; in relay_file_open()
913 struct rchan_buf *buf = filp->private_data; in relay_file_mmap()
927 struct rchan_buf *buf = filp->private_data; in relay_file_poll()
951 struct rchan_buf *buf = filp->private_data; in relay_file_release()
1122 struct rchan_buf *buf = filp->private_data; in relay_file_read()
1201 struct rchan_buf *rbuf = in->private_data; in subbuf_splice_actor()
Dkcov.c446 struct kcov *kcov = vma->vm_file->private_data; in kcov_mmap()
489 filep->private_data = kcov; in kcov_open()
495 kcov_put(filep->private_data); in kcov_close()
699 kcov = filep->private_data; in kcov_ioctl()
Duser_namespace.c850 struct seq_file *seq = file->private_data; in map_write()
1035 struct seq_file *seq = file->private_data; in proc_uid_map_write()
1052 struct seq_file *seq = file->private_data; in proc_gid_map_write()
1069 struct seq_file *seq = file->private_data; in proc_projid_map_write()
1136 struct seq_file *seq = file->private_data; in proc_setgroups_write()
Dseccomp.c981 struct seccomp_filter *filter = file->private_data; in seccomp_notify_release()
1163 struct seccomp_filter *filter = file->private_data; in seccomp_notify_ioctl()
1181 struct seccomp_filter *filter = file->private_data; in seccomp_notify_poll()
1328 listener_f->private_data = NULL; in seccomp_set_mode_filter()
/kernel/gcov/
Dfs.c201 seq = file->private_data; in gcov_seq_open()
224 seq = file->private_data; in gcov_seq_release()
279 seq = file->private_data; in gcov_seq_write()
/kernel/printk/
Dprintk.c811 struct devkmsg_user *user = file->private_data; in devkmsg_write()
871 struct devkmsg_user *user = file->private_data; in devkmsg_read()
936 struct devkmsg_user *user = file->private_data; in devkmsg_llseek()
974 struct devkmsg_user *user = file->private_data; in devkmsg_poll()
1025 file->private_data = user; in devkmsg_open()
1031 struct devkmsg_user *user = file->private_data; in devkmsg_release()
/kernel/locking/
Dlockdep_proc.c599 struct seq_file *m = file->private_data; in lock_stat_open()
640 struct seq_file *seq = file->private_data; in lock_stat_release()
/kernel/sched/
Dpsi.c1212 seq = file->private_data; in psi_write()
1241 struct seq_file *seq = file->private_data; in psi_fop_poll()
1248 struct seq_file *seq = file->private_data; in psi_fop_release()

12