Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/trace/trace_fprobe.c fetch_store_string() -> set_data_loc()

Type Parameter Key Value
PARAM_VALUE 1 dest 4096-ptr_max
PARAM_VALUE 2 __dest 0-ptr_max
PARAM_VALUE 2 *__dest 0-255
PARAM_VALUE 3 base 0,4096-ptr_max
DATA_SOURCE 0 ret r strncpy_from_kernel_nofault
DATA_SOURCE 1 dest $1
DATA_SOURCE 2 __dest r get_loc_data
DATA_SOURCE 3 base $2
NOCHECK_CALL
UNITS 1 dest unit_byte
UNITS 3 base unit_byte
HALF_LOCKED2 rcu_read

kernel/trace/trace_fprobe.c fetch_store_string_user() -> set_data_loc()

Type Parameter Key Value
PARAM_VALUE 1 dest 4096-ptr_max
PARAM_VALUE 2 __dest 0-ptr_max
PARAM_VALUE 2 *__dest 0-255
PARAM_VALUE 3 base 0,4096-ptr_max
CAPPED_DATA 0 ret 1
DATA_SOURCE 0 ret r strncpy_from_user_nofault
DATA_SOURCE 1 dest $1
DATA_SOURCE 2 __dest r get_loc_data
DATA_SOURCE 3 base $2
NOCHECK_CALL
UNITS 1 dest unit_byte
UNITS 3 base unit_byte
HALF_LOCKED2 rcu_read

kernel/trace/trace_events_synth.c fetch_store_string() -> set_data_loc()

Type Parameter Key Value
PARAM_VALUE 1 dest 4096-ptr_max
PARAM_VALUE 2 *__dest 0-255
PARAM_VALUE 3 base 4096-ptr_max
DATA_SOURCE 0 ret r strncpy_from_kernel_nofault
DATA_SOURCE 1 dest $1
DATA_SOURCE 2 __dest r get_loc_data
DATA_SOURCE 3 base $2
STR_LEN 0 ret (-1),10
STR_LEN 1 dest (-1),10
PREEMPT_ADD
NOCHECK_CALL

kernel/trace/trace_events_synth.c fetch_store_string_user() -> set_data_loc()

Type Parameter Key Value
PARAM_VALUE 1 dest 4096-ptr_max
PARAM_VALUE 2 *__dest 0-255
PARAM_VALUE 3 base 4096-ptr_max
CAPPED_DATA 0 ret 1
DATA_SOURCE 0 ret r strncpy_from_user_nofault
DATA_SOURCE 1 dest $1
DATA_SOURCE 2 __dest r get_loc_data
DATA_SOURCE 3 base $2
PREEMPT_ADD
NOCHECK_CALL

kernel/trace/trace_eprobe.c fetch_store_string() -> set_data_loc()

Type Parameter Key Value
PARAM_VALUE 1 dest 4096-ptr_max
PARAM_VALUE 2 __dest 0-ptr_max
PARAM_VALUE 2 *__dest 0-255
PARAM_VALUE 3 base 0,4096-ptr_max
DATA_SOURCE 0 ret r strncpy_from_kernel_nofault
DATA_SOURCE 1 dest $1
DATA_SOURCE 2 __dest r get_loc_data
DATA_SOURCE 3 base $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dest unit_byte
UNITS 3 base unit_byte

kernel/trace/trace_eprobe.c fetch_store_string_user() -> set_data_loc()

Type Parameter Key Value
PARAM_VALUE 1 dest 4096-ptr_max
PARAM_VALUE 2 __dest 0-ptr_max
PARAM_VALUE 2 *__dest 0-255
PARAM_VALUE 3 base 0,4096-ptr_max
CAPPED_DATA 0 ret 1
DATA_SOURCE 0 ret r strncpy_from_user_nofault
DATA_SOURCE 1 dest $1
DATA_SOURCE 2 __dest r get_loc_data
DATA_SOURCE 3 base $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dest unit_byte
UNITS 3 base unit_byte

kernel/trace/trace_kprobe.c fetch_store_string() -> set_data_loc()

Type Parameter Key Value
PARAM_VALUE 1 dest 4096-ptr_max
PARAM_VALUE 2 __dest 0-ptr_max
PARAM_VALUE 2 *__dest 0-255
PARAM_VALUE 3 base 0,4096-ptr_max
DATA_SOURCE 0 ret r strncpy_from_kernel_nofault
DATA_SOURCE 1 dest $1
DATA_SOURCE 2 __dest r get_loc_data
DATA_SOURCE 3 base $2
NOCHECK_CALL
UNITS 1 dest unit_byte
UNITS 3 base unit_byte

kernel/trace/trace_kprobe.c fetch_store_string_user() -> set_data_loc()

Type Parameter Key Value
PARAM_VALUE 1 dest 4096-ptr_max
PARAM_VALUE 2 __dest 0-ptr_max
PARAM_VALUE 2 *__dest 0-255
PARAM_VALUE 3 base 0,4096-ptr_max
CAPPED_DATA 0 ret 1
DATA_SOURCE 0 ret r strncpy_from_user_nofault
DATA_SOURCE 1 dest $1
DATA_SOURCE 2 __dest r get_loc_data
DATA_SOURCE 3 base $2
NOCHECK_CALL
UNITS 1 dest unit_byte
UNITS 3 base unit_byte