Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-cp2112.c manufacturer_store() -> pstr_store()

Type Parameter Key Value
PARAM_VALUE 1 kattr 7065307823029997568
PARAM_VALUE 1 kattr->attr 4811815231688175616
PARAM_VALUE 1 kattr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
PARAM_VALUE 4 number 34
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 0 kdev $0
DATA_SOURCE 1 kattr $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 count $3
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf3 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-cp2112.c product_store() -> pstr_store()

Type Parameter Key Value
PARAM_VALUE 1 kattr 1396963888147656704
PARAM_VALUE 1 kattr->attr 9092194117500661760
PARAM_VALUE 1 kattr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
PARAM_VALUE 4 number 35
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 0 kdev $0
DATA_SOURCE 1 kattr $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 count $3
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf3 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-cp2112.c serial_store() -> pstr_store()

Type Parameter Key Value
PARAM_VALUE 1 kattr 7417063545887744000
PARAM_VALUE 1 kattr->attr 769441875909443584
PARAM_VALUE 1 kattr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
PARAM_VALUE 4 number 36
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 0 kdev $0
DATA_SOURCE 1 kattr $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 count $3
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf3 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex