Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bluetooth/hci_sync.c hci_power_off_sync() -> hci_dev_close_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->advertising_old_state 0
PARAM_VALUE 0 hdev->advertising_paused 0
PARAM_VALUE 0 hdev->dev_flags 4096-ptr_max
PARAM_VALUE 0 hdev->lock.first_waiter->list.prev->prev 5159360019465732096
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.first_waiter->list.prev->prev 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->req_rsp->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 *hdev->adv_data 0-255
PARAM_VALUE 0 *hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *hdev->scan_rsp_data 0-255
BUF_SIZE 0 hdev (-1),1-s32max
BUF_SIZE 0 hdev (-1),1-s32max
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_sync.c hci_power_on_sync() -> hci_dev_close_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->aosp_quality_report 1
PARAM_VALUE 0 hdev->cmd_cnt.counter 1
PARAM_VALUE 0 hdev->cmd_q.next 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_q.next->prev 2011684551238094848
PARAM_VALUE 0 hdev->cmd_q.prev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_q.prev->next 2011684551238094848
PARAM_VALUE 0 hdev->cmd_q.qlen 0
PARAM_VALUE 0 hdev->cmd_sync_work_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.wait_lock.dep_map->name 0-255
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->dev.driver_data->new_baudrate 0-4294967295
PARAM_VALUE 0 hdev->dev_flags 4096-ptr_max
PARAM_VALUE 0 hdev->dump.alloc_size 0
PARAM_VALUE 0 hdev->dump.dump_q.next 4096-ptr_max
PARAM_VALUE 0 hdev->dump.dump_q.next->prev 2011684551238094848
PARAM_VALUE 0 hdev->dump.dump_q.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dump.dump_q.prev->next 2011684551238094848
PARAM_VALUE 0 hdev->dump.dump_q.qlen 0
PARAM_VALUE 0 hdev->dump.dump_timeout.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dump.head 0
PARAM_VALUE 0 hdev->dump.state 0
PARAM_VALUE 0 hdev->dump.tail 0
PARAM_VALUE 0 hdev->flags 0,256
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.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->mgmt_pending_lock.dep_map->name 0-255
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 s32min-s32max
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->mgmt_pending_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->msft_curve_validity 1
PARAM_VALUE 0 hdev->msft_data 0
PARAM_VALUE 0 hdev->msft_data->evt_prefix_len 0-255
PARAM_VALUE 0 hdev->msft_data->filter_enabled 0-255
PARAM_VALUE 0 hdev->msft_data->resuming 0
PARAM_VALUE 0 hdev->pend_le_conns.next 4096-ptr_max
PARAM_VALUE 0 hdev->pend_le_conns.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->pend_le_reports.next 4096-ptr_max
PARAM_VALUE 0 hdev->pend_le_reports.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->power_led->brightness 0,255
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.first_waiter->list.prev->prev 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->req_lock.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 hdev->req_rsp->_nfct 0
PARAM_VALUE 0 hdev->req_rsp->_skb_refdst 0
PARAM_VALUE 0 hdev->req_rsp->active_extensions 0
PARAM_VALUE 0 hdev->req_rsp->destructor 0
PARAM_VALUE 0 hdev->req_rsp->sk 0
PARAM_VALUE 0 hdev->req_rsp->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 hdev->req_rsp->sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 hdev->req_rsp->sk->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_rsp->sk->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->req_rsp->sk->sk_callback_lock.owner (-1)
PARAM_VALUE 0 hdev->req_rsp->sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 0 hdev->req_rsp->sk->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 hdev->req_rsp->sk->sk_rcu.func 1-u64max
PARAM_VALUE 0 hdev->req_skb 0
PARAM_VALUE 0 hdev->rx_q.next 4096-ptr_max
PARAM_VALUE 0 hdev->rx_q.next->prev 2011684551238094848
PARAM_VALUE 0 hdev->rx_q.prev 4096-ptr_max
PARAM_VALUE 0 hdev->rx_q.prev->next 2011684551238094848
PARAM_VALUE 0 hdev->rx_q.qlen 0
PARAM_VALUE 0 hdev->sent_cmd 0
PARAM_VALUE 0 hdev->smp_bredr_data 0,4096-ptr_max
PARAM_VALUE 0 hdev->smp_bredr_data->conn->hcon->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 hdev->smp_bredr_data->conn->hcon->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 hdev->smp_bredr_data->conn->hcon->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 hdev->smp_bredr_data->conn->hcon->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 hdev->smp_bredr_data->data 0
PARAM_VALUE 0 hdev->smp_data 0,4096-ptr_max
PARAM_VALUE 0 hdev->smp_data->conn->hcon->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 hdev->smp_data->conn->hcon->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 hdev->smp_data->conn->hcon->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 hdev->smp_data->conn->hcon->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 hdev->smp_data->data 0
PARAM_VALUE 0 *hdev->adv_data 0-255
PARAM_VALUE 0 *hdev->eir 0-255
PARAM_VALUE 0 *hdev->msft_data->evt_prefix 0-255
PARAM_VALUE 0 *hdev->scan_rsp_data 0-255
DATA_SOURCE 0 hdev $0
RX_PATH
NOCHECK_CALL
USER_DATA 0 hdev->msft_data->features s64min-s64max[u]
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_dev_do_close() -> hci_dev_close_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->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
BUF_SIZE 0 hdev (-1)-s32max
BUF_SIZE 0 hdev (-1)-s32max
CAPPED_DATA 0 hdev 1
CAPPED_DATA 0 &hdev->req_lock 1
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hdev->adv_data_len
NO_OVERFLOW_SIMPLE 0 hdev->scan_rsp_data_len
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_core.c hci_dev_do_reset() -> hci_dev_close_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->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
CAPPED_DATA 0 &hdev->req_lock 1
DATA_SOURCE 0 hdev $0
CAPABLE 0 12
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &smc->sk
TYPE_LOCK (struct hci_dev)->req_lock