Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 tdev 4096-ptr_max
PARAM_VALUE 0 tdev->out_pipe 1-s32max
PARAM_VALUE 1 iterations 1-u32max
PARAM_VALUE 2 pipe 1-s32max
PARAM_VALUE 3 req 9005575591594491904
PARAM_VALUE 4 sg 4096-ptr_max
PARAM_VALUE 4 sg->dma_address 0
PARAM_VALUE 4 sg->dma_flags 0
PARAM_VALUE 4 sg->dma_length 0
PARAM_VALUE 4 sg->length 0
PARAM_VALUE 4 sg->offset 0
PARAM_VALUE 4 sg->page_link 0
PARAM_VALUE 5 nents 1-128
BUF_SIZE 0 tdev s32min-(-2),1-s32max
BUF_SIZE 0 tdev s32min-(-2),1-s32max
BUF_SIZE 4 sg 32-4096
BUF_SIZE 4 sg 32-4096
CAPPED_DATA 5 nents 1
DATA_SOURCE 4 sg r alloc_sglist
FUZZY_MAX 1 iterations 1
NOSPEC 5 nents
NOSPEC 5 nents
USER_DATA 1 iterations 1-u32max[u]
USER_DATA 5 nents 2-128[c]
UNITS 0 tdev unit_byte
UNITS 5 nents unit_array_size
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() -> perform_sglist()

Type Parameter Key Value
PARAM_VALUE 0 tdev 4096-ptr_max
PARAM_VALUE 0 tdev->in_pipe 1-s32max
PARAM_VALUE 1 iterations 1-u32max
PARAM_VALUE 2 pipe 1-s32max
PARAM_VALUE 3 req 9005575591594491904
PARAM_VALUE 4 sg 4096-ptr_max
PARAM_VALUE 4 sg->dma_address 0
PARAM_VALUE 4 sg->dma_flags 0
PARAM_VALUE 4 sg->dma_length 0
PARAM_VALUE 4 sg->length 0
PARAM_VALUE 4 sg->offset 0
PARAM_VALUE 4 sg->page_link 0
PARAM_VALUE 5 nents 1-128
BUF_SIZE 0 tdev s32min-(-2),1-s32max
BUF_SIZE 0 tdev s32min-(-2),1-s32max
BUF_SIZE 4 sg 32-4096
BUF_SIZE 4 sg 32-4096
CAPPED_DATA 5 nents 1
DATA_SOURCE 4 sg r alloc_sglist
FUZZY_MAX 1 iterations 1
NOSPEC 5 nents
NOSPEC 5 nents
USER_DATA 1 iterations 1-u32max[u]
USER_DATA 5 nents 2-128[c]
UNITS 0 tdev unit_byte
UNITS 5 nents unit_array_size
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() -> perform_sglist()

Type Parameter Key Value
PARAM_VALUE 0 tdev 4096-ptr_max
PARAM_VALUE 0 tdev->out_pipe 1-s32max
PARAM_VALUE 1 iterations 1-u32max
PARAM_VALUE 2 pipe 1-s32max
PARAM_VALUE 3 req 9005575591594491904
PARAM_VALUE 4 sg 4096-ptr_max
PARAM_VALUE 4 sg->dma_address 0
PARAM_VALUE 4 sg->dma_flags 0
PARAM_VALUE 4 sg->dma_length 0
PARAM_VALUE 4 sg->length 0
PARAM_VALUE 4 sg->offset 0
PARAM_VALUE 4 sg->page_link 0
PARAM_VALUE 5 nents 1-128
BUF_SIZE 0 tdev s32min-(-2),1-s32max
BUF_SIZE 0 tdev s32min-(-2),1-s32max
BUF_SIZE 4 sg 32-4096
BUF_SIZE 4 sg 32-4096
CAPPED_DATA 5 nents 1
DATA_SOURCE 4 sg r alloc_sglist
FUZZY_MAX 1 iterations 1
NOSPEC 5 nents
NOSPEC 5 nents
USER_DATA 1 iterations 1-u32max[u]
USER_DATA 5 nents 2-128[c]
UNITS 0 tdev unit_byte
UNITS 5 nents unit_array_size
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() -> perform_sglist()

Type Parameter Key Value
PARAM_VALUE 0 tdev 4096-ptr_max
PARAM_VALUE 0 tdev->in_pipe 1-s32max
PARAM_VALUE 1 iterations 1-u32max
PARAM_VALUE 2 pipe 1-s32max
PARAM_VALUE 3 req 9005575591594491904
PARAM_VALUE 4 sg 4096-ptr_max
PARAM_VALUE 4 sg->dma_address 0
PARAM_VALUE 4 sg->dma_flags 0
PARAM_VALUE 4 sg->dma_length 0
PARAM_VALUE 4 sg->length 0
PARAM_VALUE 4 sg->offset 0
PARAM_VALUE 4 sg->page_link 0
PARAM_VALUE 5 nents 1-128
BUF_SIZE 0 tdev s32min-(-2),1-s32max
BUF_SIZE 0 tdev s32min-(-2),1-s32max
BUF_SIZE 4 sg 32-4096
BUF_SIZE 4 sg 32-4096
CAPPED_DATA 5 nents 1
DATA_SOURCE 4 sg r alloc_sglist
FUZZY_MAX 1 iterations 1
NOSPEC 5 nents
NOSPEC 5 nents
USER_DATA 1 iterations 1-u32max[u]
USER_DATA 5 nents 2-128[c]
UNITS 0 tdev unit_byte
UNITS 5 nents unit_array_size
LOCK2 &dev->dev.mutex
LOCK2 &dev->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usbtest_dev)->lock