Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/tty_port.c tty_port_default_lookahead_buf() -> (struct tty_ldisc_ops)->lookahead_buf()

Type Parameter Key Value
PARAM_VALUE 1 cp 4096-ptr_max
PARAM_VALUE 3 count 1-u32max
DATA_SOURCE 1 cp $1
DATA_SOURCE 2 fp $2
DATA_SOURCE 3 count $3
CONTAINER 0 *(-128-0+8) $(-1)
NOCHECK_CALL
LOCK2 &buf->lock
LOCK2 &tty->ldisc_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tty_bufhead)->lock
TYPE_LOCK (struct tty_struct)->ldisc_sem