Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_hs_plus_extra_init() -> ni_usb_receive_control_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bus_interface | 1-u64max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ni_priv->product_id | 0-u16max |
| PARAM_VALUE | 1 | request | 72 |
| PARAM_VALUE | 2 | requesttype | 192 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | index | 0 |
| PARAM_VALUE | 5 | data | 4096-ptr_max |
| PARAM_VALUE | 6 | size | 16 |
| PARAM_VALUE | 7 | timeout_msecs | 1000 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 5 | data | 16 |
| DATA_SOURCE | 0 | ni_priv | $0 |
| DATA_SOURCE | 5 | data | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ni_priv->interrupt_urb->num_mapped_sgs | |
| LOCK2 | global &ni_usb_hotplug_lock | ||
| HALF_LOCKED2 | &board->big_gpib_mutex |
drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_hs_plus_extra_init() -> ni_usb_receive_control_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bus_interface | 1-u64max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ni_priv->product_id | 0-u16max |
| PARAM_VALUE | 1 | request | 75 |
| PARAM_VALUE | 2 | requesttype | 192 |
| PARAM_VALUE | 3 | value | 1 |
| PARAM_VALUE | 4 | index | 0 |
| PARAM_VALUE | 5 | data | 4096-ptr_max |
| PARAM_VALUE | 6 | size | 2 |
| PARAM_VALUE | 7 | timeout_msecs | 1000 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 5 | data | 16 |
| DATA_SOURCE | 0 | ni_priv | $0 |
| DATA_SOURCE | 5 | data | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ni_priv->interrupt_urb->num_mapped_sgs | |
| LOCK2 | global &ni_usb_hotplug_lock | ||
| HALF_LOCKED2 | &board->big_gpib_mutex |
drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_hs_plus_extra_init() -> ni_usb_receive_control_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bus_interface | 1-u64max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ni_priv->product_id | 0-u16max |
| PARAM_VALUE | 1 | request | 248 |
| PARAM_VALUE | 2 | requesttype | 193 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | index | 1 |
| PARAM_VALUE | 5 | data | 4096-ptr_max |
| PARAM_VALUE | 6 | size | 9 |
| PARAM_VALUE | 7 | timeout_msecs | 1000 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 5 | data | 16 |
| DATA_SOURCE | 0 | ni_priv | $0 |
| DATA_SOURCE | 5 | data | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ni_priv->interrupt_urb->num_mapped_sgs | |
| LOCK2 | global &ni_usb_hotplug_lock | ||
| HALF_LOCKED2 | &board->big_gpib_mutex |
drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_hs_wait_for_ready() -> ni_usb_receive_control_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->product_id | 0-u16max |
| PARAM_VALUE | 1 | request | 65 |
| PARAM_VALUE | 2 | requesttype | 192 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | index | 0 |
| PARAM_VALUE | 5 | data | 4096-ptr_max |
| PARAM_VALUE | 6 | size | 16 |
| PARAM_VALUE | 7 | timeout_msecs | 1000 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 5 | data | 16 |
| DATA_SOURCE | 0 | ni_priv | $0 |
| DATA_SOURCE | 5 | data | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ni_priv->interrupt_urb->num_mapped_sgs | |
| LOCK2 | global &ni_usb_hotplug_lock | ||
| HALF_LOCKED2 | &board->big_gpib_mutex |
drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_hs_wait_for_ready() -> ni_usb_receive_control_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bus_interface | 1-u64max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ni_priv->control_transfer_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ni_priv->product_id | 0-u16max |
| PARAM_VALUE | 1 | request | 64 |
| PARAM_VALUE | 2 | requesttype | 192 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | index | 0 |
| PARAM_VALUE | 5 | data | 4096-ptr_max |
| PARAM_VALUE | 6 | size | 16 |
| PARAM_VALUE | 7 | timeout_msecs | 100 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 5 | data | 16 |
| DATA_SOURCE | 0 | ni_priv | $0 |
| DATA_SOURCE | 5 | data | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ni_priv->interrupt_urb->num_mapped_sgs | |
| LOCK2 | global &ni_usb_hotplug_lock | ||
| HALF_LOCKED2 | &board->big_gpib_mutex |
drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_set_interrupt_monitor() -> ni_usb_receive_control_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->monitored_ibsta_bits | 0-4351 |
| PARAM_VALUE | 1 | request | 33 |
| PARAM_VALUE | 2 | requesttype | 192 |
| PARAM_VALUE | 3 | value | 768 |
| PARAM_VALUE | 4 | index | 0-4351 |
| PARAM_VALUE | 5 | data | 4096-ptr_max |
| PARAM_VALUE | 6 | size | 8 |
| PARAM_VALUE | 7 | timeout_msecs | 1000 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 5 | data | 8 |
| CAPPED_DATA | 0 | ni_priv->monitored_ibsta_bits | 1 |
| CAPPED_DATA | 4 | index | 1 |
| DATA_SOURCE | 5 | data | r _kmalloc_noprof |
| BIT_INFO | 0 | ni_priv->monitored_ibsta_bits | 0x0,0x10ff |
| BIT_INFO | 4 | index | 0x0,0x10ff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &board->big_gpib_mutex | ||
| HALF_LOCKED2 | global &ni_usb_hotplug_lock |
drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_stop() -> ni_usb_receive_control_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_transfer_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->bulk_transfer_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ni_priv->bulk_transfer_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ni_priv->bulk_transfer_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->bulk_transfer_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ni_priv->bulk_transfer_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ni_priv->bulk_transfer_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ni_priv->bulk_transfer_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ni_priv->bulk_transfer_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->actual_length | 0-s32max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->anchor | 0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->anchor_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->anchor_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->anchor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->anchor_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->anchor_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->complete | 1442513483192033280 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->context | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->dev->state | 4-u32max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->ep->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->ep->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->ep->urb_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->error_count | 0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->hcpriv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->interval | s32min-32768 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->num_sgs | 0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->number_of_packets | 0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->pipe | 0,128-u32max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->reject.counter | 0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->sg | 0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->sgt | 0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->start_frame | 0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->status | (-4095)-0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->stream_id | 0 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->transfer_buffer->bmAttributes | 0-255 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->transfer_buffer_length | 16,32,64-69952 |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->urb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bulk_urb->urb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bus_interface | 1-u64max |
| PARAM_VALUE | 0 | ni_priv->context.complete.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | ni_priv->context.complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni_priv->context.complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ni_priv->context.complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ni_priv->context.complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->context.complete.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->context.complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->context.complete.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->context.complete.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->context.timed_out | 0 |
| PARAM_VALUE | 1 | request | 32 |
| PARAM_VALUE | 2 | requesttype | 192 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | index | 0 |
| PARAM_VALUE | 5 | data | 4096-ptr_max |
| PARAM_VALUE | 6 | size | 8 |
| PARAM_VALUE | 7 | timeout_msecs | 1000 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 5 | data | 8 |
| CAPPED_DATA | 0 | ni_priv->bulk_urb | 1 |
| DATA_SOURCE | 0 | ni_priv | $0 |
| DATA_SOURCE | 5 | data | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ni_priv->bulk_urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 0 | ni_priv->bulk_urb->transfer_buffer_length | |
| HALF_LOCKED2 | &board->big_gpib_mutex | ||
| HALF_LOCKED2 | global &ni_usb_hotplug_lock | ||
| HALF_LOCKED2 | 0 | &ni_priv->addressed_transfer_lock |
drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_update_status() -> ni_usb_receive_control_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ni_priv->bus_interface | 1-u64max |
| PARAM_VALUE | 1 | request | 33 |
| PARAM_VALUE | 2 | requesttype | 192 |
| PARAM_VALUE | 3 | value | 512 |
| PARAM_VALUE | 4 | index | 0 |
| PARAM_VALUE | 5 | data | 4096-ptr_max |
| PARAM_VALUE | 6 | size | 8 |
| PARAM_VALUE | 7 | timeout_msecs | 1000 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 0 | ni_priv | 16,104,152,160,200,216,224,232,248,256,264,864,880 |
| BUF_SIZE | 5 | data | 8 |
| DATA_SOURCE | 5 | data | r _kmalloc_noprof |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &board->big_gpib_mutex | ||
| HALF_LOCKED2 | &board->user_mutex |