Lines Matching refs:sys_data

302 	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()
321 sys_data->enter_event->event.type, size, 0, 0); in ftrace_syscall_enter()
327 syscall_get_arguments(current, regs, 0, sys_data->nb_args, entry->args); in ftrace_syscall_enter()
329 if (!filter_current_check_discard(buffer, sys_data->enter_event, in ftrace_syscall_enter()
337 struct syscall_metadata *sys_data; in ftrace_syscall_exit() local
348 sys_data = syscall_nr_to_meta(syscall_nr); in ftrace_syscall_exit()
349 if (!sys_data) in ftrace_syscall_exit()
353 sys_data->exit_event->event.type, sizeof(*entry), 0, 0); in ftrace_syscall_exit()
361 if (!filter_current_check_discard(buffer, sys_data->exit_event, in ftrace_syscall_exit()
500 struct syscall_metadata *sys_data; in perf_syscall_enter() local
511 sys_data = syscall_nr_to_meta(syscall_nr); in perf_syscall_enter()
512 if (!sys_data) in perf_syscall_enter()
516 size = sizeof(unsigned long) * sys_data->nb_args + sizeof(*rec); in perf_syscall_enter()
525 sys_data->enter_event->event.type, regs, &rctx); in perf_syscall_enter()
530 syscall_get_arguments(current, regs, 0, sys_data->nb_args, in perf_syscall_enter()
533 head = this_cpu_ptr(sys_data->enter_event->perf_events); in perf_syscall_enter()
574 struct syscall_metadata *sys_data; in perf_syscall_exit() local
585 sys_data = syscall_nr_to_meta(syscall_nr); in perf_syscall_exit()
586 if (!sys_data) in perf_syscall_exit()
602 sys_data->exit_event->event.type, regs, &rctx); in perf_syscall_exit()
609 head = this_cpu_ptr(sys_data->exit_event->perf_events); in perf_syscall_exit()