Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

net/bluetooth/mgmt.c add_device() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-2[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c add_device_complete() -> le_addr_type()

Type Parameter Key Value
RX_PATH
LOCK2 &hdev->lock
LOCK2 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/mgmt.c cancel_pair_device() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-255
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-255[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c disconnect_sync() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-255
LOCK2 &hdev->lock
LOCK2 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/mgmt.c get_device_flags() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-255
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-255[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c load_irks() -> le_addr_type()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c load_long_term_keys() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c pair_device() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-2[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c remove_device() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-2[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c set_device_flags() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-255
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-255[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c set_device_flags() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-255
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-255[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c set_device_flags() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-255
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-255[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c unpair_device() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-2[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c unpair_device_sync() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-255
LOCK2 &hdev->lock
LOCK2 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/mgmt.c user_pairing_resp() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-255
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bdaddr_type 1-255[u]
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/iso.c iso_conn_ready() -> le_addr_type()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &hci_cb_list_lock
LOCK2 parent
HALF_LOCKED2 &hdev->lock
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &pool->lock

net/bluetooth/iso.c iso_connect_bis() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->lock
LOCK2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/iso.c iso_connect_cis() -> le_addr_type()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->lock
LOCK2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/iso.c iso_connect_cis() -> le_addr_type()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->lock
LOCK2 sk
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/iso.c iso_listen_bis() -> le_addr_type()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->lock
LOCK2 sk
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &ls_lock
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex
HALF_LOCKED2 global &pernet_ops_rwsem
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/iso.c iso_sock_rebind_bc() -> le_addr_type()

Type Parameter Key Value
PARAM_VALUE 0 bdaddr_type 1-2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->lock
LOCK2 sk
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