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_external_config() -> mgmt_index_removed()

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->quirk_flags 4096-ptr_max
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/mgmt.c set_public_address() -> mgmt_index_removed()

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->quirk_flags 4096-ptr_max
PARAM_VALUE 0 hdev->set_bdaddr 1-u64max
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_sock.c hci_sock_bind() -> mgmt_index_removed()

Type Parameter Key Value
PARAM_VALUE 0 hdev 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
BUF_SIZE 0 hdev (-1)-s32max
BUF_SIZE 0 hdev (-1)-s32max
CAPPED_DATA 0 &hdev->lock 1
DATA_SOURCE 0 hdev r hci_dev_get
CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sk
LOCK2 0 &hdev->lock
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/hci_core.c hci_unregister_dev() -> mgmt_index_removed()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->acl_cnt 0
PARAM_VALUE 0 hdev->adv_instance_expire.work.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->adv_instance_timeout 0
PARAM_VALUE 0 hdev->cmd_cnt.counter 1
PARAM_VALUE 0 hdev->cmd_sync_work.lockdep_map->name 0-255
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->task->blocked_lock.dep_map->name 0-255
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_timer.work.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_work.lockdep_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->debugfs->d_inode->i_sb->s_export_op->encode_fh 0,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 hdev->debugfs->d_inode->i_sb->s_export_op->fh_to_dentry 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 hdev->debugfs->d_inode->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 hdev->debugfs->d_inode->i_sb->s_export_op->get_parent 0,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
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.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 hdev->dev_flags 4096-ptr_max
PARAM_VALUE 0 hdev->discov_timeout 0
PARAM_VALUE 0 hdev->discovery.resolve.next 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.resolve.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.resolve.prev 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.resolve.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.resolve.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.state 0-4
PARAM_VALUE 0 hdev->discovery.unknown.next 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.unknown.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.unknown.prev 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.unknown.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.unknown.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->error_reset.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->interleave_scan.work.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->interleave_scan_state 0
PARAM_VALUE 0 hdev->iso_cnt 0
PARAM_VALUE 0 hdev->le_cnt 0
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_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.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->ncmd_timer.work.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->power_led->brightness 0,255
PARAM_VALUE 0 hdev->power_on.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->raw_q.next 4096-ptr_max
PARAM_VALUE 0 hdev->raw_q.next->prev 2011684551238094848
PARAM_VALUE 0 hdev->raw_q.prev 4096-ptr_max
PARAM_VALUE 0 hdev->raw_q.prev->next 2011684551238094848
PARAM_VALUE 0 hdev->raw_q.qlen 0
PARAM_VALUE 0 hdev->reenable_adv_work.lockdep_map->name 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->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->req_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->req_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->req_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->req_result 0-s32max
PARAM_VALUE 0 hdev->req_rsp 0
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->req_skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->rpa_expired.work.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->rx_work.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->sco_cnt 0
PARAM_VALUE 0 hdev->sent_cmd 0
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->smp_bredr_data 0
PARAM_VALUE 0 hdev->smp_data 0
PARAM_VALUE 0 hdev->srcu.srcu_sup 0,4096-ptr_max
PARAM_VALUE 0 hdev->srcu.srcu_sup->lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->srcu.srcu_sup->srcu_barrier_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->srcu.srcu_sup->srcu_cb_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->srcu.srcu_sup->srcu_gp_mutex.dep_map->name 0-255
PARAM_VALUE 0 hdev->srcu.srcu_sup->srcu_ssp->sda 1-u64max
PARAM_VALUE 0 hdev->srcu.srcu_sup->srcu_ssp->srcu_sup 4096-ptr_max
PARAM_VALUE 0 hdev->tx_work.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->unregister_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->unregister_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->unregister_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->unregister_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->unregister_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->unregister_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->unregister_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->unregister_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->unregister_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->unregister_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->workqueue->nr_drainers s32min-s32max
PARAM_VALUE 0 hdev->workqueue->nr_pwqs_to_flush.counter s32min-s32max
PARAM_VALUE 0 *hdev->dev_class 0-255
PARAM_VALUE 0 *hdev->eir 0-255
PARAM_VALUE 0 *hdev->workqueue->lockdep_map->name 0-255
BUF_SIZE 0 hdev (-1)-s32max
BUF_SIZE 0 hdev (-1)-s32max
CAPPED_DATA 0 &hdev->cmd_work 1
CAPPED_DATA 0 &hdev->error_reset 1
CAPPED_DATA 0 &hdev->lock 1
CAPPED_DATA 0 &hdev->power_on 1
CAPPED_DATA 0 &hdev->rx_work 1
CAPPED_DATA 0 &hdev->tx_work 1
CAPPED_DATA 0 &hdev->unregister_lock 1
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &hdev->lock
HALF_LOCKED2 &_d->mutex
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct hci_dev)->lock