Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/bluetooth/mgmt.c set_powered() -> hci_cmd_sync_cancel_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->mgmt_pending.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mgmt_pending.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mgmt_pending.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | err | (-112) |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &hdev->lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/hci_sync.c hci_dev_close_sync() -> hci_cmd_sync_cancel_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | hdev->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | hdev->debugfs->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | hdev->debugfs->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | hdev->debugfs->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | hdev->debugfs->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | hdev->debugfs->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | hdev->debugfs->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | hdev->debugfs->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | hdev->debugfs->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | hdev->debugfs->d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | hdev->debugfs->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | hdev->debugfs->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | hdev->debugfs->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | hdev->debugfs->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | hdev->debugfs->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | hdev->debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | hdev->debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | hdev->debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | hdev->debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | hdev->debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | hdev->debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | hdev->debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | hdev->debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | hdev->debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | hdev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *hdev->adv_data | 0-255 |
| PARAM_VALUE | 0 | *hdev->scan_rsp_data | 0-255 |
| PARAM_VALUE | 1 | err | 19 |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->adv_data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->scan_rsp_data_len | |
| LOCK2 | 0 | &hdev->req_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/hci_core.c hci_cancel_cmd_sync() -> hci_cmd_sync_cancel_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_cnt.counter | 1 |
| PARAM_VALUE | 0 | hdev->cmd_timer.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->mgmt_pending_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->ncmd_timer.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | err | 112 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | err | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/bluetooth/hci_core.c hci_cmd_timeout() -> hci_cmd_sync_cancel_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_skb | 4096-ptr_max |
| PARAM_VALUE | 1 | err | 110 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/hci_core.c hci_send_cmd_sync() -> hci_cmd_sync_cancel_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_cnt.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | hdev->cmd_q.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->sent_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 1 | err | 1-s32max |
| BUF_SIZE | 0 | hdev->sent_cmd | (-1),240 |
| DATA_SOURCE | 0 | hdev | $0 |
| NOCHECK_CALL | |||
| USER_PTR | 0 | hdev->sent_cmd->data | |
| HALF_LOCKED2 | &pool->lock |