Defined in 1 files as a function:
Referenced in 17 files:
- arch/arm64/kernel/signal32.c
- arch/powerpc/kernel/signal_32.c, line 88
- arch/sparc/kernel/sys_sparc32.c
- arch/x86/kernel/signal_32.c
- drivers/char/ipmi/ipmi_devintf.c
- drivers/comedi/comedi_fops.c
- drivers/firewire/core-cdev.c, line 282
- drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
- drivers/tty/tty_io.c, line 2840
- drivers/usb/core/devio.c
- fs/fuse/ioctl.c, line 115
- include/linux/compat.h, line 553
- kernel/futex/core.c, line 1228
- kernel/futex/syscalls.c, line 502
- kernel/signal.c
- net/wireless/wext-core.c, line 1111
- net/wireless/wext-priv.c, line 241
Smatch caller information:
drivers/tty/tty_io.c compat_tty_tiocgserial() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 0 |
| UNITS | 0 | uptr | unit_byte |
drivers/usb/core/devio.c proc_submiturb_compat() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | uptr | $1 |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c processcompl_compat() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/devio.c usbdev_do_ioctl() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | uptr | $2 |
| LOCK2 | &dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
net/wireless/wext-priv.c compat_private_call() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 0-u32max |
| LOCK2 | global &rtnl_mutex |
drivers/firewire/core-cdev.c uptr_to_u64() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 4096-u64max |
| DATA_SOURCE | 0 | uptr | $0 |
kernel/futex/core.c futex_uaddr() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 0,2-4294967294 |
| DATA_SOURCE | 0 | uptr | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &curr->futex.exit_mutex | ||
| TYPE_LOCK | (struct futex_sched_data)->exit_mutex |
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c vchiq_put_completion() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 0 |
| LOCK2 | &instance->completion_mutex | ||
| TYPE_LOCK | (struct vchiq_instance)->completion_mutex |
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c vchiq_put_completion() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &instance->completion_mutex | ||
| TYPE_LOCK | (struct vchiq_instance)->completion_mutex |
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c vchiq_put_completion() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &instance->completion_mutex | ||
| TYPE_LOCK | (struct vchiq_instance)->completion_mutex |
arch/x86/kernel/signal_64.c x32_setup_rt_frame() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/wireless/wext-core.c compat_standard_call() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 0-u32max |
| LOCK2 | global &rtnl_mutex |
drivers/char/ipmi/ipmi_devintf.c copyout_recv32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &priv->recv_mutex | ||
| TYPE_LOCK | (struct ipmi_file_private)->recv_mutex |
drivers/char/ipmi/ipmi_devintf.c copyout_recv32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &priv->recv_mutex | ||
| TYPE_LOCK | (struct ipmi_file_private)->recv_mutex |
kernel/futex/syscalls.c __do_compat_sys_get_robust_list() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 0-ptr_max |
| DATA_SOURCE | 0 | uptr | r futex_get_robust_list_common |
kernel/futex/syscalls.c __do_compat_sys_get_robust_list() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 0-ptr_max |
| DATA_SOURCE | 0 | uptr | r futex_get_robust_list_common |
kernel/signal.c __compat_save_altstack() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
kernel/signal.c __do_compat_sys_rt_sigaction() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
kernel/signal.c __do_compat_sys_rt_sigaction() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
kernel/signal.c __do_compat_sys_rt_sigaction() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
kernel/signal.c __do_compat_sys_rt_sigaction() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
kernel/signal.c __do_compat_sys_sigaction() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
kernel/signal.c __do_compat_sys_sigaction() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
kernel/signal.c __do_compat_sys_sigaction() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
kernel/signal.c __do_compat_sys_sigaction() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
kernel/signal.c copy_siginfo_to_external32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c copy_siginfo_to_external32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c copy_siginfo_to_external32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c copy_siginfo_to_external32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c copy_siginfo_to_external32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c copy_siginfo_to_external32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c copy_siginfo_to_external32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c copy_siginfo_to_external32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c copy_siginfo_to_external32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c do_compat_sigaltstack() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|
arch/x86/kernel/signal_32.c __unsafe_setup_sigcontext32() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 0,64-u64max |
| DATA_SOURCE | 0 | uptr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/signal_32.c ia32_setup_frame() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | uptr | (-1),8 |
| BUF_SIZE | 0 | uptr | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | uptr | unit_byte |
arch/x86/kernel/signal_32.c ia32_setup_rt_frame() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 4096-ptr_max |
| BUF_SIZE | 0 | uptr | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/signal_32.c ia32_setup_rt_frame() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uptr | 4096-ptr_max |
| BUF_SIZE | 0 | uptr | 116 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/signal_32.c ia32_setup_rt_frame() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/signal_32.c ia32_setup_rt_frame() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | uptr | unit_byte |
fs/fuse/ioctl.c fuse_copy_ioctl_iovec() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | uptr | unit_byte |
drivers/comedi/comedi_fops.c put_compat_cmd() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | uptr | 1-s32max |
drivers/comedi/comedi_fops.c put_compat_cmd() -> ptr_to_compat()
| Type | Parameter | Key | Value |
|---|