Defined in 3 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/i2c/adv7842.c adv7842_s_register() -> edid_write()

Type Parameter Key Value
PARAM_VALUE 0 sd 4096-ptr_max
PARAM_VALUE 0 sd->ops 4096-ptr_max
PARAM_VALUE 0 sd->ops->core 4096-ptr_max
PARAM_VALUE 0 sd->ops->core->s_register 4096-ptr_max
BUF_SIZE 0 sd s32min-(-1),1-s32max
BUF_SIZE 0 sd s32min-(-1),1-s32max
DATA_SOURCE 0 sd $0
CAPABLE 0 21
NOCHECK_CALL
HALF_LOCKED2 lock

fs/read_write.c vfs_write() -> (struct file_operations)->write()

Type Parameter Key Value
PARAM_VALUE 0 sd 4096-ptr_max
PARAM_VALUE 0 sd->f_op 4096-ptr_max
PARAM_VALUE 0 sd->f_op->write 1-u64max
PARAM_VALUE 2 val 0-1000000000,2147479552
PARAM_VALUE 3 *offp 0-1000000000
BUF_SIZE 3 offp (-1),8
BUF_SIZE 3 offp (-1),8
CAPPED_DATA 1 reg 1
DATA_SOURCE 0 sd $0
DATA_SOURCE 1 reg $1
DATA_SOURCE 2 val $2 [m]
DATA_SOURCE 3 offp $3
FUZZY_MAX 2 val 2147479552
CONTAINER 0 -32-80+0 $(-1)
BIT_INFO 0 sd->f_mode 0x40002,0xffffffffffffffff
USER_DATA 1 reg 0-u64max[c]
USER_DATA 2 val 0-1000000000
USER_DATA 3 *offp 0-1000000000
USER_PTR 3 offp