Documented in 2 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

kernel/trace/bpf_trace.c copy_user_str_sleepable() -> copy_remote_vm_str()

Type Parameter Key Value
PARAM_VALUE 0 tsk 1-u64max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 len s32min-(-1),1-s32max
PARAM_VALUE 4 gup_flags 0
BUF_SIZE 2 buf (-1),256
BUF_SIZE 2 buf (-1),256
DATA_SOURCE 0 tsk $3
DATA_SOURCE 1 addr $1
DATA_SOURCE 2 buf $0
DATA_SOURCE 3 len $2
UNITS 3 len unit_byte

kernel/bpf/helpers.c bpf_copy_from_user_task_str() -> copy_remote_vm_str()

Type Parameter Key Value
PARAM_VALUE 3 len s32min-(-1),1-s32max
PARAM_VALUE 4 gup_flags 0
DATA_SOURCE 0 tsk $3
DATA_SOURCE 1 addr $2
DATA_SOURCE 2 buf $0
DATA_SOURCE 3 len $1