Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/chemical/pms7003.c pms7003_receive_buf() -> pms7003_frame_is_okay()

Type Parameter Key Value
PARAM_VALUE 0 frame 4096-ptr_max
PARAM_VALUE 0 frame->expected_length 1-u16max
PARAM_VALUE 0 frame->length 1-u16max
BUF_SIZE 0 frame 32
CAPPED_DATA 0 frame->expected_length 1
CAPPED_DATA 0 frame->length 1
PARAM_COMPARE 0 frame->expected_length == $0->length
LOCK2 &buf->lock
LOCK2 &pool->lock
TYPE_LOCK (struct tty_bufhead)->lock