Defined in 1 files as a prototype:
Defined in 22 files as a function:
- arch/alpha/include/asm/syscall.h, line 50 (as a function)
- arch/arc/include/asm/syscall.h, line 68 (as a function)
- arch/arm/include/asm/syscall.h, line 95 (as a function)
- arch/arm64/include/asm/syscall.h, line 80 (as a function)
- arch/csky/include/asm/syscall.h, line 54 (as a function)
- arch/hexagon/include/asm/syscall.h, line 36 (as a function)
- arch/loongarch/include/asm/syscall.h, line 63 (as a function)
- arch/m68k/include/asm/syscall.h, line 51 (as a function)
- arch/microblaze/include/asm/syscall.h, line 68 (as a function)
- arch/mips/include/asm/syscall.h, line 140 (as a function)
- arch/nios2/include/asm/syscall.h, line 55 (as a function)
- arch/openrisc/include/asm/syscall.h, line 60 (as a function)
- arch/parisc/include/asm/syscall.h, line 27 (as a function)
- arch/powerpc/include/asm/syscall.h, line 109 (as a function)
- arch/riscv/include/asm/syscall.h, line 67 (as a function)
- arch/s390/include/asm/syscall.h, line 66 (as a function)
- arch/sh/include/asm/syscall_32.h, line 58 (as a function)
- arch/sparc/include/asm/syscall.h, line 109 (as a function)
- arch/um/include/asm/syscall-generic.h, line 56 (as a function)
- arch/x86/include/asm/syscall.h, line 80 (as a function)
- arch/x86/include/asm/syscall.h, line 111 (as a function)
- arch/xtensa/include/asm/syscall.h, line 66 (as a function)
Referenced in 9 files:
- include/trace/events/syscalls.h, line 31
- kernel/entry/syscall-common.c, line 27
- kernel/ptrace.c, line 951
- kernel/seccomp.c, line 256
- kernel/trace/rv/monitors/deadline/deadline.h
- kernel/trace/rv/monitors/sleep/sleep.c
- kernel/trace/rv/monitors/wakeup/wakeup.c, line 84
- kernel/trace/trace_syscalls.c
- lib/syscall.c, line 31
Smatch caller information:
lib/syscall.c collect_syscall() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | args | 5102693407082577920 |
| BUF_SIZE | 2 | args | 48 |
| CAPPED_DATA | 0 | task | 1 |
| DATA_SOURCE | 0 | task | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | 0 | &task->signal->exec_update_lock | |
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct signal_struct)->exec_update_lock |
kernel/ptrace.c ptrace_get_syscall_info_entry() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | args | 2142981006250266624 |
| BUF_SIZE | 2 | args | 48 |
| DATA_SOURCE | 0 | task | $0 |
| DATA_SOURCE | 1 | regs | $1 |
| NOCHECK_CALL |
kernel/trace/trace_syscalls.c ftrace_syscall_enter() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | args | 3002665039136481280 |
| BUF_SIZE | 2 | args | 48 |
| DATA_SOURCE | 1 | regs | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
kernel/trace/trace_syscalls.c perf_syscall_enter() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | args | 7728932486125768704 |
| BUF_SIZE | 2 | args | 48 |
| DATA_SOURCE | 1 | regs | $1 |
| NOCHECK_CALL |
kernel/entry/syscall-common.c do_perf_trace_sys_enter() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | args | 48 |
| DATA_SOURCE | 1 | regs | $1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
kernel/entry/syscall-common.c do_trace_event_raw_event_sys_enter() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | args | 48 |
| DATA_SOURCE | 1 | regs | $1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
kernel/entry/syscall-common.c syscall_enter_audit() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | args | 9159398172059344896 |
| BUF_SIZE | 2 | args | 48 |
| DATA_SOURCE | 1 | regs | $0 |
| NOCHECK_CALL |
kernel/trace/rv/monitors/nomiss/nomiss.c extract_params() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | args | 1565719628647936000 |
| BUF_SIZE | 2 | args | 48 |
| DATA_SOURCE | 1 | regs | $0 |
| NOCHECK_CALL |
kernel/trace/rv/monitors/nomiss/nomiss.c extract_params() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | args | 1565719628647936000 |
| BUF_SIZE | 2 | args | 48 |
| DATA_SOURCE | 1 | regs | $0 |
| NOCHECK_CALL |
kernel/seccomp.c populate_seccomp_data() -> syscall_get_arguments()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | args | 3654787481719660544 |
| BUF_SIZE | 2 | args | 48 |
| DATA_SOURCE | 0 | task | r get_current |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |