Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/usb/misc/ua101.c capture_urb_complete() -> add_with_wraparound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ua | 4096-ptr_max |
| PARAM_VALUE | 1 | value | 6874005741186953216 |
| BUF_SIZE | 0 | ua | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ua | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ua | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &ua->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ua101)->lock |
sound/usb/misc/ua101.c capture_urb_complete() -> add_with_wraparound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ua | 4096-ptr_max |
| PARAM_VALUE | 1 | value | 4096-ptr_max |
| PARAM_VALUE | 2 | add | 1 |
| BUF_SIZE | 0 | ua | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ua | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ua->playback.queue_length | 1 |
| PARAM_COMPARE | 0 | ua->playback.queue_length | <= $0->rate_feedback_count |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ua | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &ua->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ua101)->lock |
sound/usb/misc/ua101.c playback_work() -> add_with_wraparound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ua | 4096-ptr_max |
| PARAM_VALUE | 1 | value | 4096-ptr_max |
| PARAM_VALUE | 2 | add | 1 |
| CAPPED_DATA | 0 | &ua->ready_playback_urbs | 1 |
| PARAM_COMPARE | 0 | &ua->ready_playback_urbs | != $0->ready_playback_urbs.next |
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &ua->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ua101)->lock |
sound/usb/misc/ua101.c start_usb_playback() -> add_with_wraparound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ua | 4096-ptr_max |
| PARAM_VALUE | 0 | ua->playback.queue_length | 1-u32max |
| PARAM_VALUE | 1 | value | 4096-ptr_max |
| PARAM_VALUE | 2 | add | 1 |
| BUF_SIZE | 0 | ua | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ua | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ua->playback.queue_length | 1 |
| CAPPED_DATA | 0 | &ua->playback_work | 1 |
| DATA_SOURCE | 0 | ua | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ua->playback.substream->f_flags | 0-u32max |
| UNITS | 0 | ua | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &ua->lock | |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| TYPE_LOCK | (struct ua101)->lock |