Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/nfc/st21nfca/core.c st21nfca_hci_load_session() -> nfc_hci_connect_gate()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->init_data.gates 4096-ptr_max
PARAM_VALUE 0 hdev->llc 4096-ptr_max
PARAM_VALUE 0 hdev->llc->data->connect_wq 7323710867328692224
PARAM_VALUE 0 hdev->llc->data->state 1
PARAM_VALUE 0 hdev->llc->data->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->llc->data->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->msg_tx_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->msg_tx_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->msg_tx_queue.prev 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_queue.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_queue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_work.entry.next 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->load_session 7118558307057455104
PARAM_VALUE 0 hdev->ops->open 6372492339431485440,6521110834225045504,6652152596844179456
PARAM_VALUE 0 hdev->shutting_down 0
PARAM_VALUE 0 *hdev->gate2pipe 0-255
PARAM_VALUE 1 dest_host 0
PARAM_VALUE 2 dest_gate 1
PARAM_VALUE 3 pipe 2
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex

drivers/nfc/st21nfca/core.c st21nfca_hci_load_session() -> nfc_hci_connect_gate()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->init_data.gates 4096-ptr_max
PARAM_VALUE 0 hdev->llc 4096-ptr_max
PARAM_VALUE 0 hdev->llc->data->connect_wq 7323710867328692224
PARAM_VALUE 0 hdev->llc->data->state 1
PARAM_VALUE 0 hdev->llc->data->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->llc->data->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->msg_tx_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->msg_tx_queue.prev 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_queue.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_queue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->load_session 7118558307057455104
PARAM_VALUE 0 hdev->ops->open 6372492339431485440,6521110834225045504,6652152596844179456
PARAM_VALUE 0 hdev->shutting_down 0
PARAM_VALUE 0 *hdev->gate2pipe 0-255
PARAM_VALUE 1 dest_host 0
PARAM_VALUE 2 dest_gate 6
PARAM_VALUE 3 pipe 0
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex

net/nfc/hci/core.c hci_dev_connect_gates() -> nfc_hci_connect_gate()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->init_data.gates 4096-ptr_max
PARAM_VALUE 0 hdev->llc 4096-ptr_max
PARAM_VALUE 0 hdev->llc->data->connect_wq 7323710867328692224
PARAM_VALUE 0 hdev->llc->data->state 1
PARAM_VALUE 0 hdev->llc->data->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->llc->data->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->msg_tx_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 hdev->msg_tx_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->msg_tx_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->msg_tx_queue.prev 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_queue.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_queue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hdev->msg_tx_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->load_session 0,7118558307057455104
PARAM_VALUE 0 hdev->ops->open 6372492339431485440,6521110834225045504,6652152596844179456
PARAM_VALUE 0 hdev->shutting_down 0
PARAM_VALUE 0 *hdev->gate2pipe 0-255
PARAM_VALUE 1 dest_host 0
PARAM_VALUE 2 dest_gate 0-2,4-6,17-21,25,36,48-50,65,144,148,160-161,240
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
DATA_SOURCE 0 hdev $0
MEM_ZERO 0 hdev->gate2pipe
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hdev unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex

net/nfc/hci/core.c hci_dev_session_init() -> nfc_hci_connect_gate()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->init_data.gates 4096-ptr_max
PARAM_VALUE 0 hdev->llc 4096-ptr_max
PARAM_VALUE 0 hdev->llc->data->connect_wq 7323710867328692224
PARAM_VALUE 0 hdev->llc->data->state 1
PARAM_VALUE 0 hdev->llc->data->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 hdev->llc->data->state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->llc->data->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->open 6372492339431485440,6521110834225045504,6652152596844179456
PARAM_VALUE 1 dest_host 0
PARAM_VALUE 2 dest_gate 0
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hdev unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex