Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt7601u/mcu.c mt7601u_mcu_cmd_init() -> mt7601u_usb_alloc_buf()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->beacon_offsets 4096-ptr_max
PARAM_VALUE 0 dev->dev 0,4096-ptr_max
PARAM_VALUE 0 dev->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->hw_atomic_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->hw_atomic_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mcu.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mcu.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mcu.mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mcu.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mcu.mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mcu.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->mcu.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mcu.resp->urb->setup_packet 0-255
PARAM_VALUE 0 dev->mcu.resp.urb->actual_length 0-s32max
PARAM_VALUE 0 dev->mcu.resp.urb->complete 5916729152983732224
PARAM_VALUE 0 dev->mcu.resp.urb->context 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->dev 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->ep 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->ep->urb_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->ep->urb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->ep->urb_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->hcpriv 0,4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->interval s32min-32768
PARAM_VALUE 0 dev->mcu.resp.urb->num_mapped_sgs 0-s32max
PARAM_VALUE 0 dev->mcu.resp.urb->pipe 0,128-u32max
PARAM_VALUE 0 dev->mcu.resp.urb->status (-4095)-0
PARAM_VALUE 0 dev->mcu.resp.urb->transfer_buffer 1-u64max
PARAM_VALUE 0 dev->mcu.resp.urb->transfer_buffer->bDeviceProtocol 1
PARAM_VALUE 0 dev->mcu.resp.urb->transfer_buffer->bmAttributes 0-255
PARAM_VALUE 0 dev->mcu.resp.urb->transfer_buffer_length 0-s32max
PARAM_VALUE 0 dev->mcu.resp.urb->urb_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->urb_list.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->urb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp.urb->urb_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp_cmpl.done 0
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.lock.magic 3735899821
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.lock.owner (-1)
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.lock.owner_cpu u32max
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->mcu.resp_cmpl.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->vendor_req_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->vendor_req_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->vendor_req_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 *dev->in_eps 0-255
PARAM_VALUE 0 *dev->out_eps 0-255
PARAM_VALUE 1 len 1024
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev->beacon_offsets 32
BUF_SIZE 0 dev->dev (-1),1616
BUF_SIZE 0 dev->vend_buf (-1),4
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

drivers/net/wireless/mediatek/mt7601u/mcu.c mt7601u_upload_firmware() -> mt7601u_usb_alloc_buf()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->beacon_offsets 4096-ptr_max
PARAM_VALUE 0 dev->dev 0,4096-ptr_max
PARAM_VALUE 0 dev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dev->hw_atomic_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->hw_atomic_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->hw_atomic_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mcu.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mcu.mutex.first_waiter 0
PARAM_VALUE 0 dev->mcu.mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->mcu.mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->mcu.mutex.owner.counter 0
PARAM_VALUE 0 dev->vendor_req_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->vendor_req_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->vendor_req_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->vendor_req_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 *dev->in_eps 0-255
PARAM_VALUE 0 *dev->out_eps 0-255
PARAM_VALUE 1 len 14348
PARAM_VALUE 2 buf 8132385084121452544
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev->beacon_offsets 32
BUF_SIZE 0 dev->dev (-1),1616
BUF_SIZE 0 dev->vend_buf (-1),4
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte