Defined in 5 files as a function:
- drivers/gpib/ines/ines_gpib.c, line 131 (as a function)
- drivers/gpib/nec7210/nec7210.c, line 470 (as a function)
- drivers/gpib/tms9914/tms9914.c, line 490 (as a function)
- drivers/spi/spi-qcom-qspi.c, line 532 (as a function)
- drivers/w1/slaves/w1_ds28e04.c, line 281 (as a function)
Referenced in 4 files:
- drivers/gpib/ines/ines_gpib.c, line 206
- drivers/gpib/nec7210/nec7210.c, line 617
- drivers/gpib/tms9914/tms9914.c
- drivers/spi/spi-qcom-qspi.c, line 639
Smatch caller information:
drivers/spi/spi-qcom-qspi.c qcom_qspi_irq() -> pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | board | 4096-ptr_max |
| PARAM_VALUE | 0 | board->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | board->xfer.dir | 0,2-u32max |
| DATA_SOURCE | 0 | board | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &board->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct qcom_qspi)->lock |
drivers/gpib/ines/ines_gpib.c ines_accel_read() -> pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | board | 4096-ptr_max |
| PARAM_VALUE | 0 | board->big_gpib_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | board->big_gpib_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | board->big_gpib_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | board->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | board->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | ines_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | ines_priv->extend_mode_bits | 128-191 |
| PARAM_VALUE | 1 | ines_priv->nec7210_priv.register_page_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ines_priv->nec7210_priv.write_byte | 4096-ptr_max |
| PARAM_VALUE | 1 | *ines_priv->nec7210_priv->reg_bits | 0-255 |
| PARAM_VALUE | 3 | length | 1-u32max |
| PARAM_VALUE | 4 | nbytes | 3419132982934581248,3604045315285700608 |
| PARAM_VALUE | 4 | *nbytes | 0 |
| BUF_SIZE | 0 | board | (-1),128 |
| BUF_SIZE | 0 | board | (-1),128 |
| BUF_SIZE | 1 | ines_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 1 | ines_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 2 | buffer | (-1),16384 |
| BUF_SIZE | 2 | buffer | (-1),16384 |
| CAPPED_DATA | 3 | length | 1 |
| CAPPED_DATA | 3 | length | 1 |
| DATA_SOURCE | 0 | board | $0 |
| DATA_SOURCE | 2 | buffer | $1 |
| DATA_SOURCE | 3 | length | $2 |
| DATA_SOURCE | 4 | nbytes | $4 |
| BIT_INFO | 1 | ines_priv->extend_mode_bits | 0x80,0xffffffffffffffff |
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | *buffer | 0-255 |
| USER_PTR | 2 | buffer | |
| HALF_LOCKED2 | 0 | &board->big_gpib_mutex | |
| HALF_LOCKED2 | 0 | &board->user_mutex |
drivers/gpib/nec7210/nec7210.c nec7210_read() -> pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | board | 4096-ptr_max |
| PARAM_VALUE | 0 | board->big_gpib_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | board->big_gpib_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | board->big_gpib_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | board->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | board->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ines_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | ines_priv->register_page_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | length | 1-u32max |
| PARAM_VALUE | 4 | nbytes | 4198827413982900224,8231626610412855296 |
| PARAM_VALUE | 4 | *nbytes | 0 |
| PARAM_VALUE | 5 | bytes_read | 3398086835557027840,3419132982934581248,3604045315285700608 |
| PARAM_VALUE | 5 | *bytes_read | 0 |
| BUF_SIZE | 2 | buffer | (-1),16384 |
| BUF_SIZE | 2 | buffer | (-1),16384 |
| CAPPED_DATA | 3 | length | 1 |
| CAPPED_DATA | 3 | length | 1 |
| DATA_SOURCE | 0 | board | $0 |
| DATA_SOURCE | 1 | ines_priv | $1 |
| DATA_SOURCE | 2 | buffer | $2 |
| DATA_SOURCE | 3 | length | $3 |
| DATA_SOURCE | 4 | nbytes | $4 |
| DATA_SOURCE | 5 | bytes_read | $5 |
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | *buffer | 0-255 |
| USER_PTR | 2 | buffer | |
| HALF_LOCKED2 | 0 | &board->big_gpib_mutex | |
| HALF_LOCKED2 | 0 | &board->user_mutex |
drivers/gpib/tms9914/tms9914.c tms9914_read() -> pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | board | 4096-ptr_max |
| PARAM_VALUE | 0 | board->big_gpib_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | board->big_gpib_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | board->big_gpib_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | board->interface | 4096-ptr_max |
| PARAM_VALUE | 1 | ines_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | ines_priv->holdoff_mode | 1-2 |
| PARAM_VALUE | 3 | length | 1-4294967294 |
| PARAM_VALUE | 4 | nbytes | 4198827413982900224,8231626610412855296 |
| PARAM_VALUE | 4 | *nbytes | 0 |
| PARAM_VALUE | 5 | bytes_read | 7917405488653778944 |
| BUF_SIZE | 1 | ines_priv | (-1),88 |
| BUF_SIZE | 1 | ines_priv | (-1),88 |
| BUF_SIZE | 2 | buffer | (-1),16384 |
| BUF_SIZE | 2 | buffer | (-1),16384 |
| CAPPED_DATA | 3 | length | 1 |
| DATA_SOURCE | 0 | board | $0 |
| DATA_SOURCE | 1 | ines_priv | $1 |
| DATA_SOURCE | 2 | buffer | $2 |
| DATA_SOURCE | 4 | nbytes | $4 |
| FUZZY_MAX | 1 | ines_priv->holdoff_mode | 2 |
| HARD_MAX | 1 | ines_priv->holdoff_mode | 2 |
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | *buffer | 0-255 |
| USER_PTR | 2 | buffer | |
| HALF_LOCKED2 | 0 | &board->big_gpib_mutex | |
| HALF_LOCKED2 | 0 | &board->user_mutex |
drivers/gpib/tms9914/tms9914.c tms9914_read() -> pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | board | 4096-ptr_max |
| PARAM_VALUE | 0 | board->big_gpib_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | board->big_gpib_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | board->big_gpib_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | board->interface | 4096-ptr_max |
| PARAM_VALUE | 1 | ines_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | ines_priv->holdoff_mode | 2 |
| PARAM_VALUE | 4 | nbytes | 4198827413982900224,8231626610412855296 |
| PARAM_VALUE | 4 | *nbytes | 0 |
| PARAM_VALUE | 5 | bytes_read | 7917405488653778944 |
| BUF_SIZE | 1 | ines_priv | (-1),88 |
| BUF_SIZE | 1 | ines_priv | (-1),88 |
| BUF_SIZE | 2 | buffer | (-1),16384 |
| BUF_SIZE | 2 | buffer | (-1),16384 |
| DATA_SOURCE | 0 | board | $0 |
| DATA_SOURCE | 1 | ines_priv | $1 |
| DATA_SOURCE | 2 | buffer | $2 |
| DATA_SOURCE | 3 | length | $3 |
| DATA_SOURCE | 4 | nbytes | $4 |
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | *buffer | 0-255 |
| USER_PTR | 2 | buffer | |
| HALF_LOCKED2 | 0 | &board->big_gpib_mutex | |
| HALF_LOCKED2 | 0 | &board->user_mutex |
fs/sysfs/file.c sysfs_kf_bin_read() -> (struct bin_attribute)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | board | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer->read | 1-u64max |
| PARAM_VALUE | 3 | length | 1-u64max |
| PARAM_VALUE | 5 | bytes_read | 1-4096 |
| BUF_SIZE | 1 | ines_priv | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | ines_priv | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 2 | buffer | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 2 | buffer | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 5 | bytes_read | 1 |
| CAPPED_DATA | 5 | bytes_read | 1 |
| DATA_SOURCE | 1 | ines_priv | r sysfs_file_kobj |
| DATA_SOURCE | 3 | length | $1 |
| DATA_SOURCE | 4 | nbytes | $3 |
| DATA_SOURCE | 5 | bytes_read | $2 [m] |
| CONTAINER | 2 | -64+0 | $(-1) |
| PARAM_COMPARE | 3 | length | >= $5 |
| BIT_INFO | 5 | bytes_read | 0x0,0x7fffffffffffffff |
| BIT_INFO | 5 | bytes_read | 0x0,0x7fffffffffffffff |
| NOSPEC | 4 | nbytes | |
| NOSPEC | 4 | nbytes | |
| NOSPEC | 5 | bytes_read | |
| NOSPEC | 5 | bytes_read | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | nbytes | 0-4095 |
| USER_DATA | 5 | bytes_read | 1-4096 |
| BYTE_COUNT | 3 | ==length5 | 8050 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |