Defined in 4 files as a member:

Defined in 1 files as a function:

Referenced in 40 files:

Smatch caller information:

drivers/tty/n_tty.c n_tty_check_unthrottle() -> chars_in_buffer()

Type Parameter Key Value
PARAM_VALUE 0 tty 4096-ptr_max
PARAM_VALUE 0 tty->disc_data 4096-ptr_max
CAPPED_DATA 0 tty 1
DATA_SOURCE 0 tty $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &tty->ldisc_sem
HALF_LOCKED2 &ldata->atomic_read_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &tty->termios_rwsem
TYPE_LOCK (struct tty_struct)->ldisc_sem

drivers/tty/n_tty.c n_tty_check_unthrottle() -> chars_in_buffer()

Type Parameter Key Value
PARAM_VALUE 0 tty 4096-ptr_max
PARAM_VALUE 0 tty->disc_data 4096-ptr_max
CAPPED_DATA 0 tty 1
DATA_SOURCE 0 tty $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &tty->ldisc_sem
HALF_LOCKED2 &ldata->atomic_read_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &tty->termios_rwsem
TYPE_LOCK (struct tty_struct)->ldisc_sem

drivers/tty/n_tty.c n_tty_receive_buf_common() -> chars_in_buffer()

Type Parameter Key Value
PARAM_VALUE 0 tty 4096-ptr_max
DATA_SOURCE 0 tty $0
USER_PTR 0 tty->disc_data->priv->rx_skb->data
LOCK2 _T->lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 0 &tty->ldisc_sem
HALF_LOCKED2 0 &tty->port->buf.lock

Smatch assignments to (struct usb_serial_driver)->chars_in_buffer:

drivers/usb/serial/mxuport.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/ti_usb_3410_5052.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [159517597259497472]

drivers/usb/serial/mct_u232.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/io_edgeport.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [7222377019953991680]

drivers/usb/serial/empeg.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/ssu100.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/ark3116.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/ipaq.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/ftdi_sio.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/upd78f0730.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/usb-serial.c usb_serial_operations_init() -> (struct usb_serial_driver)->chars_in_buffer [6987249946689826816]

drivers/usb/serial/iuu_phoenix.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/garmin_gps.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/aircable.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/quatech2.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/symbolserial.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/keyspan.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/whiteheat.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/cyberjack.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/usb_debug.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/xr_serial.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/cypress_m8.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [1432451749546192896]

drivers/usb/serial/option.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [3798809716749688832]

drivers/usb/serial/xsens_mt.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/keyspan_pda.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/mos7840.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [6369608492861042688]

drivers/usb/serial/mos7720.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [1973697898278633472]

drivers/usb/serial/belkin_sa.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/io_ti.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [7370449244620009472]

drivers/usb/serial/oti6858.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [4969283683008950272]

drivers/usb/serial/generic.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/usb-serial-simple.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/f81232.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/f81534.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/navman.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/metro-usb.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/digi_acceleport.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [1503345700191211520]

drivers/usb/serial/cp210x.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/ipw.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/qcaux.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/omninet.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/visor.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/opticon.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [5175736413300510720]

drivers/usb/serial/kobil_sct.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/spcp8x5.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/wishbone-serial.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/ch341.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/sierra.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [7586889055829159936]

drivers/usb/serial/ir-usb.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/safe_serial.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/kl5kusb105.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]

drivers/usb/serial/qcserial.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [3798809716749688832]

drivers/usb/serial/pl2303.c (null)() -> (struct usb_serial_driver)->chars_in_buffer [0]