Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/core/driver.c new_id_store() -> usb_store_new_id()

Type Parameter Key Value
PARAM_VALUE 0 dynids 4096-ptr_max
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 count 1-1000000000
CAPPED_DATA 4 count 1
CAPPED_DATA 4 count 1
DATA_SOURCE 2 driver $0
DATA_SOURCE 3 buf $1
DATA_SOURCE 4 count $2
NOSPEC 4 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 3 ==buf4 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/serial/bus.c new_id_store() -> usb_store_new_id()

Type Parameter Key Value
PARAM_VALUE 0 dynids 4096-ptr_max
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 count 1-1000000000
CAPPED_DATA 4 count 1
CAPPED_DATA 4 count 1
DATA_SOURCE 2 driver $0
DATA_SOURCE 3 buf $1
DATA_SOURCE 4 count $2
NOSPEC 4 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 3 ==buf4 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/serial/bus.c new_id_store() -> usb_store_new_id()

Type Parameter Key Value
PARAM_VALUE 0 dynids 4096-ptr_max
PARAM_VALUE 2 driver 4096-ptr_max
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 count 1-1000000000
CAPPED_DATA 4 count 1
CAPPED_DATA 4 count 1
DATA_SOURCE 3 buf $1
DATA_SOURCE 4 count $2
NOSPEC 4 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 3 ==buf4 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex