Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_regs_read() -> amdgpu_debugfs_process_reg_op()

Type Parameter Key Value
PARAM_VALUE 0 read 1
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 1 f->f_op 4096-ptr_max
PARAM_VALUE 1 f->f_op->read 1-u64max
PARAM_VALUE 3 size 0-1000000000,2147479552
PARAM_VALUE 4 *pos 0-1000000000
BUF_SIZE 4 pos (-1),8
BUF_SIZE 4 pos (-1),8
CAPPED_DATA 2 buf 1
DATA_SOURCE 1 f $0
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 size $2
DATA_SOURCE 4 pos $3
FUZZY_MAX 3 size 2147479552
BIT_INFO 1 f->f_mode 0x20001,0xffffffff
USER_DATA 2 buf 0-u64max[c]
USER_DATA 3 size 0-1000000000
USER_DATA 4 *pos 0-1000000000
USER_PTR 4 pos

drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_regs_write() -> amdgpu_debugfs_process_reg_op()

Type Parameter Key Value
PARAM_VALUE 0 read 0
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 1 f->f_op 4096-ptr_max
PARAM_VALUE 1 f->f_op->write 1-u64max
PARAM_VALUE 3 size 0-1000000000,2147479552
PARAM_VALUE 4 *pos 0-1000000000
BUF_SIZE 4 pos (-1),8
BUF_SIZE 4 pos (-1),8
CAPPED_DATA 2 buf 1
DATA_SOURCE 1 f $0
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 size $2
DATA_SOURCE 4 pos $3
FUZZY_MAX 3 size 2147479552
BIT_INFO 1 f->f_mode 0x40002,0xffffffffffffffff
USER_DATA 3 size 0-1000000000
USER_DATA 4 *pos 0-1000000000
USER_PTR 4 pos