Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spidev.c spidev_compat_ioc_message() -> spidev_message()

Type Parameter Key Value
PARAM_VALUE 0 spidev 4096-ptr_max
PARAM_VALUE 0 spidev->spi 1-u64max
PARAM_VALUE 0 spidev->spi_lock.dep_map->name 0-255
PARAM_VALUE 0 spidev->spi_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 spidev->spi_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 spidev->spi_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 spidev->spi_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 spidev->spi_lock.wait_lock.owner (-1)
PARAM_VALUE 0 spidev->spi_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 spidev s32min-(-2),1-s32max
BUF_SIZE 0 spidev s32min-(-2),1-s32max
CAPPED_DATA 0 &spidev->spi_lock 1
CAPPED_DATA 2 n_xfers 1
DATA_SOURCE 1 u_xfers r spidev_get_ioc_message
LOCK2 0 &spidev->spi_lock
TYPE_LOCK (struct spidev_data)->spi_lock

drivers/spi/spidev.c spidev_ioctl() -> spidev_message()

Type Parameter Key Value
PARAM_VALUE 0 spidev 4096-ptr_max
PARAM_VALUE 0 spidev->spi 1-u64max
PARAM_VALUE 0 spidev->spi_lock.dep_map->name 0-255
PARAM_VALUE 0 spidev->spi_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 spidev->spi_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 spidev->spi_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 spidev->spi_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 spidev->spi_lock.wait_lock.owner (-1)
PARAM_VALUE 0 spidev->spi_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 u_xfers 1-ptr_max
PARAM_VALUE 2 n_xfers 0-511
BUF_SIZE 0 spidev s32min-(-2),1-s32max
BUF_SIZE 0 spidev s32min-(-2),1-s32max
BUF_SIZE 1 u_xfers (-1)-16352
BUF_SIZE 1 u_xfers (-1)-16352
CAPPED_DATA 0 &spidev->spi_lock 1
DATA_SOURCE 1 u_xfers r spidev_get_ioc_message
USER_DATA 1 u_xfers->bits_per_word 0-255
USER_DATA 1 u_xfers->cs_change 0-255
USER_DATA 1 u_xfers->delay_usecs 0-u16max
USER_DATA 1 u_xfers->len 0-u32max
USER_DATA 1 u_xfers->pad 0-255
USER_DATA 1 u_xfers->rx_buf 0-u64max
USER_DATA 1 u_xfers->rx_nbits 0-255
USER_DATA 1 u_xfers->speed_hz 0-u32max
USER_DATA 1 u_xfers->tx_buf 0-u64max
USER_DATA 1 u_xfers->tx_nbits 0-255
USER_DATA 1 u_xfers->word_delay_usecs 0-255
USER_DATA 1 *u_xfers s64min-s64max
USER_DATA 2 n_xfers 0[c]
USER_PTR 1 u_xfers
LOCK2 0 &spidev->spi_lock
TYPE_LOCK (struct spidev_data)->spi_lock