Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/st.c setup_buffering() -> clear_buffer()

Type Parameter Key Value
PARAM_VALUE 0 st_bp 4096-ptr_max
PARAM_VALUE 0 st_bp->cleared 0
PARAM_VALUE 0 st_bp->cmdstat.deferred 0-1
PARAM_VALUE 0 st_bp->cmdstat.fixed_format 0-1
PARAM_VALUE 0 st_bp->cmdstat.flags 0-224
PARAM_VALUE 0 st_bp->cmdstat.have_sense 0-1
PARAM_VALUE 0 st_bp->cmdstat.remainder_valid 0-1
PARAM_VALUE 0 st_bp->cmdstat.uremainder64 0-255
PARAM_VALUE 0 st_bp->do_dio 0
PARAM_VALUE 0 st_bp->map_data.offset 0-4095
NOSPEC 0 st_bp->do_dio
NOCHECK_CALL
USER_DATA 0 st_bp->do_dio 0[c]
USER_DATA 0 st_bp->map_data.offset 0-4095[c]
USER_DATA 0 st_bp->sg_segs 0[c]
NO_OVERFLOW_SIMPLE 0 st_bp->use_sg
LOCK2 &STp->lock
TYPE_LOCK (struct scsi_tape)->lock