Defined in 1 files as a prototype:

Defined in 9 files as a member:

Defined in 2 files as a function:

Referenced in 68 files:

Smatch caller information:

lib/zlib_deflate/deflate.c fill_window() -> read_buf()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->avail_in 1-u64max
PARAM_VALUE 0 strm->avail_out 1-u64max
PARAM_VALUE 0 strm->state 1-u64max
CAPPED_DATA 0 strm->avail_out 1
FUZZY_MAX 0 strm->avail_out 4096
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 strm->avail_in 1-s32max[c]
HOST_DATA 0 strm->next_in 4096-ptr_max[c]
USER_DATA 0 strm->avail_in 1-4096[c]
USER_DATA 0 strm->avail_out 1-9223372036854775818,18446744069414584323-u64max[c]
USER_DATA 0 strm->next_in 4096-ptr_max[c][u]
USER_DATA 0 strm->next_out 4096-ptr_max[c][u]
HALF_LOCKED2 &c->alloc_sem
HALF_LOCKED2 &f->sem
HALF_LOCKED2 &ppp->wlock
HALF_LOCKED2 &zstrm->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 global &deflate_mutex
HALF_LOCKED2 global &psinfo->buf_lock
HALF_LOCKED2 rcu_read

drivers/tty/n_tty.c canon_copy_from_read_buf() -> read_buf()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 1 buf 0-64
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
CAPPED_DATA 1 buf 1
CAPPED_DATA 1 buf 1
BIT_INFO 1 buf 0x0,0x107f
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tty->ldisc_sem
HALF_LOCKED2 &ldata->atomic_read_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tty->termios_rwsem
TYPE_LOCK (struct tty_struct)->ldisc_sem

drivers/tty/n_tty.c canon_skip_eof() -> read_buf()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 1 buf 0-4095
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
DATA_SOURCE 0 strm $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tty->ldisc_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tty_struct)->ldisc_sem

drivers/tty/n_tty.c eraser() -> read_buf()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
LOCK2 _T->lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock

drivers/tty/n_tty.c eraser() -> read_buf()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
LOCK2 _T->lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock

drivers/tty/n_tty.c eraser() -> read_buf()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
LOCK2 _T->lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock

drivers/tty/n_tty.c inq_canon() -> read_buf()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
DATA_SOURCE 0 strm $0
PARAM_COMPARE 0 strm->canon_head != $0->read_tail
LOCK2 &tty->ldisc_sem
LOCK2 _T->lock
TYPE_LOCK (struct tty_struct)->ldisc_sem

drivers/tty/n_tty.c n_tty_receive_char_canon() -> read_buf()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 0 strm 16,120,192,376,480,512,520,1552,4648,9144
LOCK2 _T->lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock