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_resume_monitor_sync() -> hci_get_adv_monitor_offload_ext()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_sync.c hci_suspend_monitor_sync() -> hci_get_adv_monitor_offload_ext()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_sync.c hci_update_accept_list_sync() -> hci_get_adv_monitor_offload_ext()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
CAPPED_DATA 0 &hdev->le_accept_list 1
CAPPED_DATA 0 &hdev->pend_le_conns 1
CAPPED_DATA 0 &hdev->pend_le_reports 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
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &hdev->req_lock

net/bluetooth/hci_sync.c hci_update_interleaved_scan_sync() -> hci_get_adv_monitor_offload_ext()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
CAPPED_DATA 0 &hdev->pend_le_conns 1
CAPPED_DATA 0 &hdev->pend_le_reports 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
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &hdev->req_lock

net/bluetooth/hci_core.c hci_add_adv_monitor() -> hci_get_adv_monitor_offload_ext()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
CAPPED_DATA 0 hdev->adv_monitors_idr.idr_base 1
CAPPED_DATA 0 &hdev->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_remove_adv_monitor() -> hci_get_adv_monitor_offload_ext()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
DATA_SOURCE 0 hdev $0
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock