Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/usb/class/usbtmc.c usbtmc_draw_down() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 1000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &data->io_mutex
HALF_LOCKED2 &file_data->data->io_mutex
TYPE_LOCK (struct usbtmc_device_data)->io_mutex

drivers/usb/class/usbtmc.c usbtmc_generic_write() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
LOCK2 &data->io_mutex
HALF_LOCKED2 &file_data->limit_write_sem
TYPE_LOCK (struct usbtmc_device_data)->io_mutex

drivers/net/wireless/zydas/zd1211rw/zd_usb.c zd_usb_iowrite16v_async_end() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 50
DATA_SOURCE 1 timeout $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->mutex
TYPE_LOCK (struct zd_chip)->mutex

drivers/usb/storage/uas.c uas_wait_for_pending_cmnds() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 5000
RX_PATH
TASK_NOT_RUNNING

drivers/usb/storage/uas.c uas_wait_for_pending_cmnds() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 500
RX_PATH
TASK_NOT_RUNNING

drivers/usb/misc/usblcd.c lcd_draw_down() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 1000
RX_PATH
TASK_NOT_RUNNING

drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c lpvo_draw_down() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 1000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->io_mutex

drivers/net/wireless/ath/carl9170/usb.c carl9170_usb_flush() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 1000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ar->mutex
HALF_LOCKED2 &pool->lock

drivers/net/wireless/ath/carl9170/usb.c carl9170_usb_flush() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 1000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ar->mutex
HALF_LOCKED2 &pool->lock

drivers/input/joystick/xpad.c xpad_stop_output() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 5000
RX_PATH
TASK_NOT_RUNNING

drivers/net/can/usb/etas_es58x/es58x_core.c es58x_free_urbs() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 1000
RX_PATH
TASK_NOT_RUNNING

sound/usb/bcd2000/bcd2000.c bcd2000_init_device() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 0 anchor->poisoned 0
PARAM_VALUE 0 anchor->suspend_wakeups.counter 0
PARAM_VALUE 0 anchor->urb_list.prev 40,4096-ptr_max
PARAM_VALUE 0 anchor->wait.head.next 4096-ptr_max
PARAM_VALUE 0 anchor->wait.head.prev 4096-ptr_max
PARAM_VALUE 1 timeout 1000
MEM_ZERO 0 anchor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

sound/usb/hiface/pcm.c hiface_pcm_stream_stop() -> usb_wait_anchor_empty_timeout()

Type Parameter Key Value
PARAM_VALUE 0 anchor 4096-ptr_max
PARAM_VALUE 1 timeout 100
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock