Defined in 2 files as a prototype:

Defined in 19 files as a function:

Referenced in 30 files:

Smatch caller information:

drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_chip_init_hw() -> test_init()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->mutex.dep_map->name 0-255
PARAM_VALUE 0 test->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 test->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 test->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 test->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 test->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 test->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 test->usb.intf->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 test->usb.intf->dev.class 0,4096-ptr_max
PARAM_VALUE 0 test->usb.intf->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 test->usb.intr.buffer->_refcount.counter s32min-s32max
PARAM_VALUE 0 test->usb.intr.buffer->memcg_data 0
PARAM_VALUE 0 test->usb.intr.buffer->page_type 0-4294967295
PARAM_VALUE 0 test->usb.intr.urb 1-u64max
PARAM_VALUE 0 test->usb.intr.urb->actual_length 0
PARAM_VALUE 0 test->usb.intr.urb->anchor 0
PARAM_VALUE 0 test->usb.intr.urb->anchor_list.next 4096-ptr_max
PARAM_VALUE 0 test->usb.intr.urb->anchor_list.prev 4096-ptr_max
PARAM_VALUE 0 test->usb.intr.urb->complete 0
PARAM_VALUE 0 test->usb.intr.urb->context 0
PARAM_VALUE 0 test->usb.intr.urb->dev 0
PARAM_VALUE 0 test->usb.intr.urb->ep 0
PARAM_VALUE 0 test->usb.intr.urb->error_count 0
PARAM_VALUE 0 test->usb.intr.urb->hcpriv 0
PARAM_VALUE 0 test->usb.intr.urb->interval 0
PARAM_VALUE 0 test->usb.intr.urb->kref.refcount.refs.counter 1
PARAM_VALUE 0 test->usb.intr.urb->num_mapped_sgs 0
PARAM_VALUE 0 test->usb.intr.urb->num_sgs 0
PARAM_VALUE 0 test->usb.intr.urb->number_of_packets 0
PARAM_VALUE 0 test->usb.intr.urb->pipe 0
PARAM_VALUE 0 test->usb.intr.urb->reject.counter 0
PARAM_VALUE 0 test->usb.intr.urb->setup_dma 0
PARAM_VALUE 0 test->usb.intr.urb->setup_packet 0
PARAM_VALUE 0 test->usb.intr.urb->sg 0
PARAM_VALUE 0 test->usb.intr.urb->sgt 0
PARAM_VALUE 0 test->usb.intr.urb->start_frame 0
PARAM_VALUE 0 test->usb.intr.urb->status 0
PARAM_VALUE 0 test->usb.intr.urb->stream_id 0
PARAM_VALUE 0 test->usb.intr.urb->transfer_buffer 0
PARAM_VALUE 0 test->usb.intr.urb->transfer_dma 0
PARAM_VALUE 0 test->usb.intr.urb->transfer_flags 0
PARAM_VALUE 0 test->usb.intr.urb->unlinked 0
PARAM_VALUE 0 test->usb.intr.urb->urb_list.next 4096-ptr_max
PARAM_VALUE 0 test->usb.intr.urb->urb_list.prev 4096-ptr_max
PARAM_VALUE 0 test->usb.intr.urb->use_count.counter 0
BUF_SIZE 0 test 11488
CAPPED_DATA 0 &test->mutex 1
DATA_SOURCE 0 test $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &test->mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct zd_chip)->mutex

drivers/net/wireless/zydas/zd1211rw/zd_chip.c zd_chip_init_hw() -> test_init()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->link_led 256,512
PARAM_VALUE 0 test->mutex.dep_map->name 0-255
PARAM_VALUE 0 test->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 test->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 test->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 test->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 test->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 test->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 test->rf.clear 4640763419657256960
PARAM_VALUE 0 test->rf.init_hw 191639324082380800,683579104439828480,3175127961984827392,3789186460024942592,5948949571527630848,6419143068271198208
PARAM_VALUE 0 test->rf.patch_6m_band_edge 1368419233801830400,5294670021798080512
PARAM_VALUE 0 test->rf.patch_cck_gain 1
PARAM_VALUE 0 test->rf.priv 0,4096-ptr_max
PARAM_VALUE 0 test->rf.set_channel 385617390378946560,1189643966619267072,1758069356519157760,6127668483850022912,7971369793276039168,8010869700997873664
PARAM_VALUE 0 test->rf.switch_radio_off 1023191654482182144,4355745994574712832,7625130924074020864,7915431356892585984
PARAM_VALUE 0 test->rf.switch_radio_on 987315557398704128,1009977159819563008,2039106418737258496,4584925769674436608,6869676960969863168,7740819538205278208
PARAM_VALUE 0 test->rf.type 4-5,8-10,13
PARAM_VALUE 0 test->rf.update_channel_int 0
PARAM_VALUE 0 test->usb->req_buf->addr 0-u16max
PARAM_VALUE 0 test->usb->urb_async_waiting->setup_packet 0-255
PARAM_VALUE 0 test->usb.cmd_error 0
PARAM_VALUE 0 test->usb.in_async 0
PARAM_VALUE 0 test->usb.intf->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 test->usb.intf->dev.class 0,4096-ptr_max
PARAM_VALUE 0 test->usb.intf->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 test->usb.intr.buffer->_refcount.counter s32min-s32max
PARAM_VALUE 0 test->usb.intr.buffer->memcg_data 0
PARAM_VALUE 0 test->usb.intr.buffer->page_type 0-4294967295
PARAM_VALUE 0 test->usb.intr.read_regs.completion.done 0-4294967293,u32max
PARAM_VALUE 0 test->usb.intr.read_regs.length 2-64
PARAM_VALUE 0 test->usb.intr.read_regs.req 4096-ptr_max
PARAM_VALUE 0 test->usb.intr.read_regs.req->id 34
PARAM_VALUE 0 test->usb.intr.read_regs.req_count 1-14
PARAM_VALUE 0 test->usb.intr.read_regs_enabled.counter 1
PARAM_VALUE 0 test->usb.intr.read_regs_int_overridden 0
PARAM_VALUE 0 test->usb.intr.urb 1-u64max
PARAM_VALUE 0 test->usb.intr.urb->actual_length 0
PARAM_VALUE 0 test->usb.intr.urb->anchor 0
PARAM_VALUE 0 test->usb.intr.urb->anchor_list.next 4096-ptr_max
PARAM_VALUE 0 test->usb.intr.urb->anchor_list.prev 4096-ptr_max
PARAM_VALUE 0 test->usb.intr.urb->complete 0
PARAM_VALUE 0 test->usb.intr.urb->context 0
PARAM_VALUE 0 test->usb.intr.urb->dev 0
PARAM_VALUE 0 test->usb.intr.urb->ep 0
PARAM_VALUE 0 test->usb.intr.urb->error_count 0
PARAM_VALUE 0 test->usb.intr.urb->hcpriv 0
PARAM_VALUE 0 test->usb.intr.urb->interval 0
PARAM_VALUE 0 test->usb.intr.urb->kref.refcount.refs.counter 1
PARAM_VALUE 0 test->usb.intr.urb->num_mapped_sgs 0
PARAM_VALUE 0 test->usb.intr.urb->num_sgs 0
PARAM_VALUE 0 test->usb.intr.urb->number_of_packets 0
PARAM_VALUE 0 test->usb.intr.urb->pipe 0
PARAM_VALUE 0 test->usb.intr.urb->reject.counter 0
PARAM_VALUE 0 test->usb.intr.urb->setup_dma 0
PARAM_VALUE 0 test->usb.intr.urb->setup_packet 0
PARAM_VALUE 0 test->usb.intr.urb->sg 0
PARAM_VALUE 0 test->usb.intr.urb->sgt 0
PARAM_VALUE 0 test->usb.intr.urb->start_frame 0
PARAM_VALUE 0 test->usb.intr.urb->status 0
PARAM_VALUE 0 test->usb.intr.urb->stream_id 0
PARAM_VALUE 0 test->usb.intr.urb->transfer_buffer 0
PARAM_VALUE 0 test->usb.intr.urb->transfer_dma 0
PARAM_VALUE 0 test->usb.intr.urb->transfer_flags 0
PARAM_VALUE 0 test->usb.intr.urb->unlinked 0
PARAM_VALUE 0 test->usb.intr.urb->urb_list.next 4096-ptr_max
PARAM_VALUE 0 test->usb.intr.urb->urb_list.prev 4096-ptr_max
PARAM_VALUE 0 test->usb.intr.urb->use_count.counter 0
PARAM_VALUE 0 test->usb.req_buf->id 34
PARAM_VALUE 0 test->usb.submitted_cmds.urb_list.prev->next 40,4096-ptr_max
PARAM_VALUE 0 test->usb.submitted_cmds.urb_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 test->usb.urb_async_waiting 0
BUF_SIZE 0 test 11488
CAPPED_DATA 0 test->usb.intr.read_regs.length 1
CAPPED_DATA 0 &test->mutex 1
DATA_SOURCE 0 test $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &test->mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct zd_chip)->mutex

lib/kunit/test.c kunit_run_case_internal() -> (struct kunit_suite)->init()

Type Parameter Key Value
DATA_SOURCE 0 test $0