Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/debugfs.c path_write() -> regs_write()

Type Parameter Key Value
PARAM_VALUE 1 port 4096-ptr_max
PARAM_VALUE 2 space 0
PARAM_VALUE 4 count 0-1000000000,2147479552
PARAM_VALUE 5 *ppos 0-1000000000
BUF_SIZE 1 port s32min-(-2),1-s32max
BUF_SIZE 1 port s32min-(-2),1-s32max
BUF_SIZE 5 ppos (-1),8
BUF_SIZE 5 ppos (-1),8
CAPPED_DATA 3 user_buf 1
DATA_SOURCE 3 user_buf $1
DATA_SOURCE 4 count $2
DATA_SOURCE 5 ppos $3
FUZZY_MAX 4 count 2147479552
USER_DATA 3 user_buf 0-u64max[c]
USER_DATA 4 count 0-1000000000
USER_DATA 5 *ppos 0-1000000000
UNITS 1 port unit_array_size
USER_PTR 5 ppos

drivers/thunderbolt/debugfs.c port_regs_write() -> regs_write()

Type Parameter Key Value
PARAM_VALUE 1 port 4096-ptr_max
PARAM_VALUE 2 space 1
PARAM_VALUE 4 count 0-1000000000,2147479552
PARAM_VALUE 5 *ppos 0-1000000000
BUF_SIZE 1 port s32min-(-2),1-s32max
BUF_SIZE 1 port s32min-(-2),1-s32max
BUF_SIZE 5 ppos (-1),8
BUF_SIZE 5 ppos (-1),8
CAPPED_DATA 3 user_buf 1
DATA_SOURCE 3 user_buf $1
DATA_SOURCE 4 count $2
DATA_SOURCE 5 ppos $3
FUZZY_MAX 4 count 2147479552
USER_DATA 3 user_buf 0-u64max[c]
USER_DATA 4 count 0-1000000000
USER_DATA 5 *ppos 0-1000000000
UNITS 1 port unit_array_size
USER_PTR 5 ppos

drivers/thunderbolt/debugfs.c switch_regs_write() -> regs_write()

Type Parameter Key Value
PARAM_VALUE 1 port 0
PARAM_VALUE 2 space 2
PARAM_VALUE 4 count 0-1000000000,2147479552
PARAM_VALUE 5 *ppos 0-1000000000
BUF_SIZE 0 sw s32min-(-2),1-s32max
BUF_SIZE 0 sw s32min-(-2),1-s32max
BUF_SIZE 5 ppos (-1),8
BUF_SIZE 5 ppos (-1),8
CAPPED_DATA 3 user_buf 1
DATA_SOURCE 3 user_buf $1
DATA_SOURCE 4 count $2
DATA_SOURCE 5 ppos $3
FUZZY_MAX 4 count 2147479552
USER_DATA 3 user_buf 0-u64max[c]
USER_DATA 4 count 0-1000000000
USER_DATA 5 *ppos 0-1000000000
UNITS 0 sw unit_array_size
USER_PTR 5 ppos