Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/mon/mon_bin.c mon_bin_get_event() -> copy_from_buf()

Type Parameter Key Value
PARAM_VALUE 0 this 4096-ptr_max
PARAM_VALUE 0 this->b_cnt 1-u32max
PARAM_VALUE 0 this->b_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 this->b_vec 4096-ptr_max
PARAM_VALUE 0 this->fetch_lock.dep_map->name 0-255
PARAM_VALUE 0 this->fetch_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 this->fetch_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 this->fetch_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 this->fetch_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 this->fetch_lock.wait_lock.owner (-1)
PARAM_VALUE 0 this->fetch_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 off 0-4294967294
BUF_SIZE 0 this s32min-(-2),1-s32max
BUF_SIZE 0 this s32min-(-2),1-s32max
CAPPED_DATA 0 this->b_size 1
CAPPED_DATA 0 &this->fetch_lock 1
CAPPED_DATA 1 off 1
CAPPED_DATA 3 length 1
DATA_SOURCE 0 this $1
DATA_SOURCE 2 to $4
FUZZY_MAX 1 off 0
PARAM_COMPARE 1 off <= $0->b_size
USER_DATA 3 length 1-s32max[c]
UNITS 3 length unit_byte
LOCK2 0 &this->fetch_lock
TYPE_LOCK (struct mon_reader_bin)->fetch_lock

drivers/usb/mon/mon_bin.c mon_bin_read() -> copy_from_buf()

Type Parameter Key Value
PARAM_VALUE 0 this 4096-ptr_max
PARAM_VALUE 0 this->b_cnt 1-u32max
PARAM_VALUE 0 this->b_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 this->b_read 48-u32max
PARAM_VALUE 0 this->b_vec 4096-ptr_max
PARAM_VALUE 0 this->fetch_lock.dep_map->name 0-255
PARAM_VALUE 0 this->fetch_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 this->fetch_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 this->fetch_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 this->fetch_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 this->fetch_lock.wait_lock.owner (-1)
PARAM_VALUE 0 this->fetch_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 3 length 0-2147479552
BUF_SIZE 0 this s32min-(-2),1-s32max
BUF_SIZE 0 this s32min-(-2),1-s32max
CAPPED_DATA 0 this->b_size 1
CAPPED_DATA 0 &this->fetch_lock 1
CAPPED_DATA 3 length 1
DATA_SOURCE 2 to $1
FUZZY_MAX 0 this->b_read 48
USER_DATA 0 this->b_read 48-94[c][u]
USER_DATA 2 to 0-u64max[c]
USER_DATA 3 length 1-2147479552[c]
UNITS 1 off unit_byte
UNITS 3 length unit_byte
LOCK2 0 &this->fetch_lock
TYPE_LOCK (struct mon_reader_bin)->fetch_lock