Defined in 2 files as a function:
- arch/x86/kernel/cpu/hypervisor.c, line 87 (as a function)
- kernel/bpf/verifier.c, line 1242 (as a function)
Referenced in 2 files:
Smatch caller information:
arch/x86/kernel/cpu/hypervisor.c init_hypervisor_platform() -> copy_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1830071483505885384 |
| PARAM_VALUE | 2 | size | 48 |
| BUF_SIZE | 0 | src | 48 |
| BUF_SIZE | 1 | target | 48 |
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | irq |
arch/x86/kernel/cpu/hypervisor.c init_hypervisor_platform() -> copy_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 172439350446620808 |
| PARAM_VALUE | 2 | size | 32 |
| BUF_SIZE | 0 | src | 32 |
| BUF_SIZE | 1 | target | 32 |
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | irq |
kernel/bpf/verifier.c bpf_copy_verifier_state() -> copy_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | size | 16 |
| PARAM_VALUE | 4 | flags | 4197568 |
| NO_OVERFLOW_SIMPLE | 2 | size | |
| UNITS | 3 | size | unit_byte |
kernel/bpf/verifier.c copy_reference_state() -> copy_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | size | 24 |
| PARAM_VALUE | 4 | flags | 4197568 |
| UNITS | 3 | size | unit_byte |
kernel/bpf/verifier.c copy_stack_state() -> copy_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | size | 88 |
| PARAM_VALUE | 4 | flags | 4197568 |
| BIT_INFO | 2 | size | 0x0,0xffffffff |
| BIT_INFO | 2 | size | 0x0,0xffffffff |
| UNITS | 3 | size | unit_byte |
kernel/bpf/verifier.c copy_stack_state() -> copy_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | size | 1-u16max |
| PARAM_VALUE | 3 | size | 80 |
| PARAM_VALUE | 4 | flags | 4197568 |
| NO_OVERFLOW_SIMPLE | 2 | size | |
| UNITS | 2 | size | unit_array_size |
| UNITS | 3 | size | unit_byte |