Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/mctp/mctp-serial.c mctp_serial_tx_work() -> next_chunk_len()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 flags
LOCK2 0 &dev->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mctp_serial)->lock

drivers/net/mctp/mctp-serial.c test_next_chunk_len() -> next_chunk_len()

Type Parameter Key Value
PARAM_VALUE 0 dev 6049492542264217600
PARAM_VALUE 0 dev->txbuf 0
PARAM_VALUE 0 dev->txlen 0-255
BUF_SIZE 0 dev 360
CAPPED_DATA 0 dev->txlen 1
MEM_ZERO 0 dev