Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/misc/genwqe/card_ddcb.c __genwqe_enqueue_ddcb() -> genwqe_crc16()

Type Parameter Key Value
PARAM_VALUE 0 buff 4096-ptr_max
PARAM_VALUE 1 len 24-279
PARAM_VALUE 2 init u16max
DATA_SOURCE 0 buff r get_next_ddcb
PREEMPT_ADD <- disables preempt
LOCK2 &queue->ddcb_lock
LOCK2 flags
TYPE_LOCK (struct ddcb_queue)->ddcb_lock

drivers/misc/genwqe/card_ddcb.c genwqe_check_ddcb_queue() -> genwqe_crc16()

Type Parameter Key Value
PARAM_VALUE 1 len 0-255
PARAM_VALUE 2 init u16max
BUF_SIZE 0 buff 64
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
LOCK2 &queue->ddcb_lock
LOCK2 flags
TYPE_LOCK (struct ddcb_queue)->ddcb_lock