Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/misc/usbtest.c ctrl_out() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->info 4096-ptr_max
PARAM_VALUE 0 test->info->ctrl_out 1
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
DATA_SOURCE 0 test $0
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock

drivers/usb/misc/usbtest.c get_endpoints() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->buf 4096-ptr_max
PARAM_VALUE 0 test->intf 4096-ptr_max
PARAM_VALUE 0 test->intf->authorized 1
PARAM_VALUE 0 test->intf->condition 1
PARAM_VALUE 0 test->intf->needs_altsetting0 0
PARAM_VALUE 0 test->intf->needs_binding 0
PARAM_VALUE 0 test->lock.dep_map->name 0-255
PARAM_VALUE 0 test->lock.first_waiter 0
PARAM_VALUE 0 test->lock.magic 4096-ptr_max
PARAM_VALUE 0 test->lock.osq.tail.counter 0
PARAM_VALUE 0 test->lock.owner.counter 0
BUF_SIZE 0 test 232
BUF_SIZE 0 test->buf 256
DATA_SOURCE 0 test $0
RX_PATH
TASK_NOT_RUNNING

drivers/usb/misc/usbtest.c halt_simple() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
DATA_SOURCE 0 test $0
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock

drivers/usb/misc/usbtest.c perform_sglist() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
DATA_SOURCE 0 test $0
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock

drivers/usb/misc/usbtest.c test_ctrl_queue() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
DATA_SOURCE 0 test $0
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock

drivers/usb/misc/usbtest.c test_queue() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
DATA_SOURCE 0 test $0
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock

drivers/usb/misc/usbtest.c test_unaligned_bulk() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
DATA_SOURCE 0 test $0
STR_LEN 0 test 6
STR_LEN 0 test 6
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock

drivers/usb/misc/usbtest.c toggle_sync_simple() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->out_pipe s32min-(-1),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
DATA_SOURCE 0 test $0
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock

drivers/usb/misc/usbtest.c unlink1() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
DATA_SOURCE 0 test $0
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock

drivers/usb/misc/usbtest.c unlink_queued() -> testdev_to_usbdev()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->out_pipe s32min-(-1),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
DATA_SOURCE 0 test $0
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock

drivers/usb/misc/usbtest.c usbtest_do_ioctl() -> testdev_to_usbdev()

Type Parameter Key Value
BUF_SIZE 0 test s32min-(-2),1-s32max
BUF_SIZE 0 test s32min-(-2),1-s32max
UNITS 0 test unit_byte
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock