Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bluetooth/mgmt.c set_powered_sync() -> hci_set_powered_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.wait_lock.dep_map->name 0-255
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->blocked_on 0
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->mgmt_pending_lock.wait_lock.dep_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.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->mgmt_pending_lock 1
DATA_SOURCE 0 hdev $0
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_core.c hci_dev_do_poweroff() -> hci_set_powered_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
PARAM_VALUE 1 val 0
BUF_SIZE 0 hdev 1-s32max
BUF_SIZE 0 hdev 1-s32max
CAPPED_DATA 0 &hdev->req_lock 1
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rfkill_global_mutex
TYPE_LOCK (struct hci_dev)->req_lock