Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/function/f_printer.c printer_poll() -> setup_rx_reqs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->interface 0-127
PARAM_VALUE 0 dev->lock_printer_io.dep_map->name 0-255
PARAM_VALUE 0 dev->lock_printer_io.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock_printer_io.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->lock_printer_io.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->lock_printer_io.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->lock_printer_io.wait_lock.owner (-1)
PARAM_VALUE 0 dev->lock_printer_io.wait_lock.owner_cpu u32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
CAPPED_DATA 0 &dev->lock_printer_io 1
FUZZY_MAX 0 dev->interface 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dev->lock
LOCK2 0 &dev->lock_printer_io
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu
TYPE_LOCK (struct printer_dev)->lock
TYPE_LOCK (struct printer_dev)->lock_printer_io

drivers/usb/gadget/function/f_printer.c printer_read() -> setup_rx_reqs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->interface 0-127
PARAM_VALUE 0 dev->lock_printer_io.dep_map->name 0-255
PARAM_VALUE 0 dev->lock_printer_io.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock_printer_io.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->lock_printer_io.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->lock_printer_io.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->lock_printer_io.wait_lock.owner (-1)
PARAM_VALUE 0 dev->lock_printer_io.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->reset_printer 0
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
CAPPED_DATA 0 &dev->lock_printer_io 1
FUZZY_MAX 0 dev->interface 0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &dev->lock
LOCK2 0 &dev->lock_printer_io
TYPE_LOCK (struct printer_dev)->lock
TYPE_LOCK (struct printer_dev)->lock_printer_io