Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_b_read_serial_number() -> ni_usb_send_bulk_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 data 4096-ptr_max
PARAM_VALUE 2 data_length 32
PARAM_VALUE 3 actual_data_length 5907533795340460032
PARAM_VALUE 3 *actual_data_length 0
PARAM_VALUE 4 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 1 data 32
DATA_SOURCE 0 ni_priv $0
DATA_SOURCE 1 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_command_chunk() -> ni_usb_send_bulk_msg()

Type Parameter Key Value
PARAM_VALUE 0 ni_priv 4096-ptr_max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ni_priv->bus_interface 1-u64max
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 3 actual_data_length 7654436801498693632
PARAM_VALUE 3 *actual_data_length 0
PARAM_VALUE 4 timeout_msecs 0,2000-8591934
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 1 data 17-32
CAPPED_DATA 0 &ni_priv->addressed_transfer_lock 1
DATA_SOURCE 1 data r _kmalloc_noprof
TASK_NOT_RUNNING
LOCK2 0 &ni_priv->addressed_transfer_lock
HALF_LOCKED2 &board->big_gpib_mutex
HALF_LOCKED2 &board->user_mutex
TYPE_LOCK (struct ni_usb_priv)->addressed_transfer_lock

drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_go_to_standby() -> ni_usb_send_bulk_msg()

Type Parameter Key Value
PARAM_VALUE 0 ni_priv 4096-ptr_max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ni_priv->bus_interface 1-u64max
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 data_length 8
PARAM_VALUE 3 actual_data_length 886062240473178112
PARAM_VALUE 3 *actual_data_length 0
PARAM_VALUE 4 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 1 data 16
CAPPED_DATA 0 &ni_priv->addressed_transfer_lock 1
DATA_SOURCE 1 data r _kmalloc_noprof
TASK_NOT_RUNNING
LOCK2 0 &ni_priv->addressed_transfer_lock
HALF_LOCKED2 &board->big_gpib_mutex
HALF_LOCKED2 &board->user_mutex
TYPE_LOCK (struct ni_usb_priv)->addressed_transfer_lock

drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_interface_clear() -> ni_usb_send_bulk_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 data 4096-ptr_max
PARAM_VALUE 2 data_length 8
PARAM_VALUE 3 actual_data_length 5858829665044103168
PARAM_VALUE 3 *actual_data_length 0
PARAM_VALUE 4 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 1 data 16
DATA_SOURCE 1 data r _kmalloc_noprof
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_parallel_poll() -> ni_usb_send_bulk_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 data 4096-ptr_max
PARAM_VALUE 2 data_length 8
PARAM_VALUE 3 actual_data_length 8232374620491485184
PARAM_VALUE 3 *actual_data_length 0
PARAM_VALUE 4 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 1 data 16
DATA_SOURCE 1 data r _kmalloc_noprof
LOCK2 &board->big_gpib_mutex
TYPE_LOCK (struct gpib_board)->big_gpib_mutex

drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_read() -> ni_usb_send_bulk_msg()

Type Parameter Key Value
PARAM_VALUE 0 ni_priv 4096-ptr_max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ni_priv->bus_interface 1-u64max
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 3 actual_data_length 8233526965458554880
PARAM_VALUE 3 *actual_data_length 0
PARAM_VALUE 4 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 1 data 32
CAPPED_DATA 0 &ni_priv->addressed_transfer_lock 1
DATA_SOURCE 1 data r _kmalloc_noprof
TASK_NOT_RUNNING
LOCK2 0 &ni_priv->addressed_transfer_lock
HALF_LOCKED2 &board->big_gpib_mutex
TYPE_LOCK (struct ni_usb_priv)->addressed_transfer_lock

drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_take_control() -> ni_usb_send_bulk_msg()

Type Parameter Key Value
PARAM_VALUE 0 ni_priv 4096-ptr_max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ni_priv->bus_interface 1-u64max
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 data_length 8
PARAM_VALUE 3 actual_data_length 1371376901061562368
PARAM_VALUE 3 *actual_data_length 0
PARAM_VALUE 4 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 1 data 16
CAPPED_DATA 0 &ni_priv->addressed_transfer_lock 1
DATA_SOURCE 1 data r _kmalloc_noprof
TASK_NOT_RUNNING
LOCK2 0 &ni_priv->addressed_transfer_lock
HALF_LOCKED2 &board->big_gpib_mutex
HALF_LOCKED2 &board->user_mutex
TYPE_LOCK (struct ni_usb_priv)->addressed_transfer_lock

drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_write() -> ni_usb_send_bulk_msg()

Type Parameter Key Value
PARAM_VALUE 0 ni_priv 4096-ptr_max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ni_priv->bus_interface 1-u64max
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 3 actual_data_length 2416649644738347008
PARAM_VALUE 3 *actual_data_length 0
PARAM_VALUE 4 timeout_msecs 0,2000-8591934
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 1 data 17-65551
CAPPED_DATA 0 &ni_priv->addressed_transfer_lock 1
DATA_SOURCE 1 data r _kmalloc_noprof
LOCK2 0 &ni_priv->addressed_transfer_lock
TYPE_LOCK (struct ni_usb_priv)->addressed_transfer_lock

drivers/gpib/ni_usb/ni_usb_gpib.c ni_usb_write_registers() -> ni_usb_send_bulk_msg()

Type Parameter Key Value
PARAM_VALUE 0 ni_priv 4096-ptr_max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ni_priv->addressed_transfer_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 3 actual_data_length 1885038015904821248
PARAM_VALUE 3 *actual_data_length 0
PARAM_VALUE 4 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 1 data 19-28,94
CAPPED_DATA 0 &ni_priv->addressed_transfer_lock 1
DATA_SOURCE 0 ni_priv $0
DATA_SOURCE 1 data r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ni_priv->addressed_transfer_lock
HALF_LOCKED2 &board->big_gpib_mutex
HALF_LOCKED2 global &ni_usb_hotplug_lock
TYPE_LOCK (struct ni_usb_priv)->addressed_transfer_lock