Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/debug/gdbstub.c gdb_cmd_query() -> kgdb_hex2mem()

Type Parameter Key Value
PARAM_VALUE 0 buf 6176342060442214406
PARAM_VALUE 0 *buf 68,99
PARAM_VALUE 1 mem 4359743139031523328
PARAM_VALUE 2 count 0-1016
BUF_SIZE 0 buf 1018
BUF_SIZE 1 mem 1024
CAPPED_DATA 2 count 1
DATA_SOURCE 2 count r __fortify_strlen
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 flags
HALF_LOCKED2 global &dbg_master_lock
HALF_LOCKED2 global &dbg_slave_lock

kernel/debug/gdbstub.c gdb_cmd_reg_set() -> kgdb_hex2mem()

Type Parameter Key Value
PARAM_VALUE 0 buf 4098-ptr_max
PARAM_VALUE 1 mem 2221681543986692096
PARAM_VALUE 2 count 0-1073741823
BUF_SIZE 1 mem 160
PARAM_COMPARE 2 count < $2
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 flags
HALF_LOCKED2 global &dbg_master_lock
HALF_LOCKED2 global &dbg_slave_lock

kernel/debug/gdbstub.c gdb_cmd_setregs() -> kgdb_hex2mem()

Type Parameter Key Value
PARAM_VALUE 0 buf 6176342060442214401
PARAM_VALUE 1 mem 2221681543986692096
PARAM_VALUE 2 count 156
BUF_SIZE 0 buf 1023
BUF_SIZE 1 mem 160
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 flags
HALF_LOCKED2 global &dbg_master_lock
HALF_LOCKED2 global &dbg_slave_lock

kernel/debug/gdbstub.c write_mem_msg() -> kgdb_hex2mem()

Type Parameter Key Value
PARAM_VALUE 0 buf 4098-18446744073709547521
LOCK2 rcu_read
HALF_LOCKED2 flags
HALF_LOCKED2 global &dbg_master_lock
HALF_LOCKED2 global &dbg_slave_lock

drivers/misc/kgdbts.c check_and_rewind_pc() -> kgdb_hex2mem()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 mem 6355950734886285312
PARAM_VALUE 2 count 156
BUF_SIZE 0 buf 1023
BUF_SIZE 1 mem 160
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/misc/kgdbts.c check_single_step() -> kgdb_hex2mem()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 mem 6355950734886285312
PARAM_VALUE 2 count 156
BUF_SIZE 0 buf 1023
BUF_SIZE 1 mem 160
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/misc/kgdbts.c emul_sstep_put() -> kgdb_hex2mem()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 mem 6355950734886285312
PARAM_VALUE 2 count 156
BUF_SIZE 0 buf 1023
BUF_SIZE 1 mem 160
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read