• Home
  • Raw
  • Download

Lines Matching refs:sys_data

296 	struct syscall_metadata *sys_data;  in ftrace_syscall_enter()  local
314 sys_data = syscall_nr_to_meta(syscall_nr); in ftrace_syscall_enter()
315 if (!sys_data) in ftrace_syscall_enter()
318 size = sizeof(*entry) + sizeof(unsigned long) * sys_data->nb_args; in ftrace_syscall_enter()
327 memcpy(entry->args, args, sizeof(unsigned long) * sys_data->nb_args); in ftrace_syscall_enter()
337 struct syscall_metadata *sys_data; in ftrace_syscall_exit() local
353 sys_data = syscall_nr_to_meta(syscall_nr); in ftrace_syscall_exit()
354 if (!sys_data) in ftrace_syscall_exit()
554 struct syscall_metadata *sys_data, in perf_call_bpf_enter() argument
566 for (i = 0; i < sys_data->nb_args; i++) in perf_call_bpf_enter()
573 struct syscall_metadata *sys_data; in perf_syscall_enter() local
588 sys_data = syscall_nr_to_meta(syscall_nr); in perf_syscall_enter()
589 if (!sys_data) in perf_syscall_enter()
592 head = this_cpu_ptr(sys_data->enter_event->perf_events); in perf_syscall_enter()
593 valid_prog_array = bpf_prog_array_valid(sys_data->enter_event); in perf_syscall_enter()
598 size = sizeof(unsigned long) * sys_data->nb_args + sizeof(*rec); in perf_syscall_enter()
608 memcpy(&rec->args, args, sizeof(unsigned long) * sys_data->nb_args); in perf_syscall_enter()
611 !perf_call_bpf_enter(sys_data->enter_event, regs, sys_data, rec)) || in perf_syscall_enter()
618 sys_data->enter_event->event.type, 1, regs, in perf_syscall_enter()
673 struct syscall_metadata *sys_data; in perf_syscall_exit() local
687 sys_data = syscall_nr_to_meta(syscall_nr); in perf_syscall_exit()
688 if (!sys_data) in perf_syscall_exit()
691 head = this_cpu_ptr(sys_data->exit_event->perf_events); in perf_syscall_exit()
692 valid_prog_array = bpf_prog_array_valid(sys_data->exit_event); in perf_syscall_exit()
708 !perf_call_bpf_exit(sys_data->exit_event, regs, rec)) || in perf_syscall_exit()
714 perf_trace_buf_submit(rec, size, rctx, sys_data->exit_event->event.type, in perf_syscall_exit()