Defined in 4 files as a member:

Defined in 3 files as a function:

Referenced in 38 files:

Smatch caller information:

drivers/scsi/st.c st_common_ioctl() -> flush_buffer()

Type Parameter Key Value
PARAM_VALUE 1 seek_next 0
DATA_SOURCE 0 STp $0

drivers/scsi/st.c st_flush() -> flush_buffer()

Type Parameter Key Value
PARAM_VALUE 0 STp 4096-ptr_max
PARAM_VALUE 0 STp->can_bsr 1-255
PARAM_VALUE 0 STp->modes 4096-ptr_max
PARAM_VALUE 0 STp->ps 4096-ptr_max
PARAM_VALUE 0 STp->rew_at_close 0
PARAM_VALUE 1 seek_next 0
BUF_SIZE 0 STp s32min-(-2),1-s32max
BUF_SIZE 0 STp s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/st.c st_read() -> flush_buffer()

Type Parameter Key Value
PARAM_VALUE 0 STp 4096-ptr_max
PARAM_VALUE 0 STp->buffer->cmdstat.deferred 0-1
PARAM_VALUE 0 STp->buffer->cmdstat.fixed_format 0-1
PARAM_VALUE 0 STp->buffer->cmdstat.flags 0-224
PARAM_VALUE 0 STp->buffer->cmdstat.have_sense 0-1
PARAM_VALUE 0 STp->buffer->cmdstat.remainder_valid 0-1
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.additional_length 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.asc 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.ascq 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.byte4 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.byte5 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.byte6 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.response_code 0-127
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.sense_key 0-15
PARAM_VALUE 0 STp->buffer->cmdstat.uremainder64 0-255
PARAM_VALUE 0 STp->buffer->map_data.offset 0
PARAM_VALUE 0 STp->buffer->syscall_result (-16),(-5)-(-4),0
PARAM_VALUE 0 STp->device 4096-ptr_max
PARAM_VALUE 0 STp->device->changed 1
PARAM_VALUE 0 STp->device->host->shost_state 0-4,8-u32max
PARAM_VALUE 0 STp->device->lockable 0
PARAM_VALUE 0 STp->device->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 STp->door_locked 2-3
PARAM_VALUE 0 STp->lock.dep_map->name 0-255
PARAM_VALUE 0 STp->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 STp->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 STp->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 STp->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 STp->lock.wait_lock.owner (-1)
PARAM_VALUE 0 STp->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 STp->modes 4096-ptr_max
PARAM_VALUE 0 STp->partition 0-3
PARAM_VALUE 0 STp->ps 4096-ptr_max
PARAM_VALUE 0 STp->ready 0
PARAM_VALUE 0 STp->wait.done 0-4294967293,u32max
PARAM_VALUE 0 STp->wait.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 STp->wait.wait.lock.magic 3735899821
PARAM_VALUE 0 STp->wait.wait.lock.owner (-1)
PARAM_VALUE 0 STp->wait.wait.lock.owner_cpu u32max
PARAM_VALUE 0 STp->wait.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 STp->wait.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 STp->wait.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 STp->wait.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 STp->wait.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 seek_next 0
BUF_SIZE 0 STp s32min-(-2),1-s32max
BUF_SIZE 0 STp s32min-(-2),1-s32max
CAPPED_DATA 0 STp->partition 1
CAPPED_DATA 0 &STp->lock 1
LOCK2 0 &STp->lock
TYPE_LOCK (struct scsi_tape)->lock

drivers/scsi/st.c st_write() -> flush_buffer()

Type Parameter Key Value
PARAM_VALUE 0 STp 4096-ptr_max
PARAM_VALUE 0 STp->buffer->cmdstat.deferred 0-1
PARAM_VALUE 0 STp->buffer->cmdstat.fixed_format 0-1
PARAM_VALUE 0 STp->buffer->cmdstat.flags 0-224
PARAM_VALUE 0 STp->buffer->cmdstat.have_sense 0-1
PARAM_VALUE 0 STp->buffer->cmdstat.remainder_valid 0-1
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.additional_length 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.asc 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.ascq 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.byte4 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.byte5 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.byte6 0
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.response_code 0-127
PARAM_VALUE 0 STp->buffer->cmdstat.sense_hdr.sense_key 0-15
PARAM_VALUE 0 STp->buffer->cmdstat.uremainder64 0-255
PARAM_VALUE 0 STp->buffer->map_data.offset 0
PARAM_VALUE 0 STp->buffer->syscall_result (-16),(-5)-(-4),0
PARAM_VALUE 0 STp->device 4096-ptr_max
PARAM_VALUE 0 STp->device->changed 1
PARAM_VALUE 0 STp->device->host->shost_state 0-4,8-u32max
PARAM_VALUE 0 STp->device->lockable 0
PARAM_VALUE 0 STp->device->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 STp->door_locked 2-3
PARAM_VALUE 0 STp->lock.dep_map->name 0-255
PARAM_VALUE 0 STp->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 STp->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 STp->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 STp->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 STp->lock.wait_lock.owner (-1)
PARAM_VALUE 0 STp->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 STp->modes 4096-ptr_max
PARAM_VALUE 0 STp->partition 0-3
PARAM_VALUE 0 STp->ps 4096-ptr_max
PARAM_VALUE 0 STp->ready 0
PARAM_VALUE 0 STp->wait.done 0-4294967293,u32max
PARAM_VALUE 0 STp->wait.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 STp->wait.wait.lock.magic 3735899821
PARAM_VALUE 0 STp->wait.wait.lock.owner (-1)
PARAM_VALUE 0 STp->wait.wait.lock.owner_cpu u32max
PARAM_VALUE 0 STp->wait.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 STp->wait.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 STp->wait.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 STp->wait.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 STp->wait.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 STp->write_prot 0
PARAM_VALUE 1 seek_next 0
BUF_SIZE 0 STp s32min-(-2),1-s32max
BUF_SIZE 0 STp s32min-(-2),1-s32max
CAPPED_DATA 0 STp->partition 1
CAPPED_DATA 0 &STp->lock 1
LOCK2 0 &STp->lock
TYPE_LOCK (struct scsi_tape)->lock

Smatch assignments to (struct uart_ops)->flush_buffer:

drivers/tty/serial/sh-sci.c (null)() -> (struct uart_ops)->flush_buffer [9216066015078305792]

drivers/tty/serial/altera_uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/tegra-tcu.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/sunplus-uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/ucc_uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/lantiq.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/lantiq.c lqasc_probe() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/jsm/jsm_tty.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/sccnxp.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/milbeaut_usio.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/digicolor-usart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/uartlite.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/amba-pl010.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/sc16is7xx.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/max310x.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/sprd_serial.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/liteuart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/meson_uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/stm32-usart.c (null)() -> (struct uart_ops)->flush_buffer [6571987770519093248]

drivers/tty/serial/altera_jtaguart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/st-asc.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/max3100.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/pch_uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/vt8500_serial.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/lpc32xx_hs.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/8250/8250_port.c (null)() -> (struct uart_ops)->flush_buffer [4580576465581768704]

drivers/tty/serial/imx.c (null)() -> (struct uart_ops)->flush_buffer [6743477218627514368]

drivers/tty/serial/men_z135_uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/ma35d1_serial.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/xilinx_uartps.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/arc_uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/mps2-uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/rp2.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/mvebu-uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/sifive.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/sifive.c sifive_serial_probe() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/serial-tegra.c (null)() -> (struct uart_ops)->flush_buffer [5523204319556972544]

drivers/tty/serial/bcm63xx_uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/icom.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/qcom_geni_serial.c (null)() -> (struct uart_ops)->flush_buffer [0,2888270511104614400,7269393753694531584]

drivers/tty/serial/rsci.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/fsl_lpuart.c (null)() -> (struct uart_ops)->flush_buffer [8762593846193487872]

drivers/tty/serial/fsl_lpuart.c lpuart_probe() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/rda-uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/fsl_linflexuart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/owl-uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/samsung_tty.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/msm_serial.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/omap-serial.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/clps711x.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/timbuart.c (null)() -> (struct uart_ops)->flush_buffer [7330323989481521152]

drivers/tty/serial/pic32_uart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/8250/8250_core.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/mxs-auart.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/atmel_serial.c (null)() -> (struct uart_ops)->flush_buffer [8140810965992779776]

drivers/tty/serial/tegra-utc.c (null)() -> (struct uart_ops)->flush_buffer [0]

drivers/tty/serial/tegra-utc.c tegra_utc_probe() -> (struct uart_ops)->flush_buffer [0]