Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 type 0-255[u]
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

net/bluetooth/mgmt.c add_remote_oob_data() -> bdaddr_type_is_valid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 type 0-255[u]
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

net/bluetooth/mgmt.c block_device() -> bdaddr_type_is_valid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 type 0-255[u]
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

net/bluetooth/mgmt.c disconnect() -> bdaddr_type_is_valid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 type 0-255[u]
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

net/bluetooth/mgmt.c get_conn_info() -> bdaddr_type_is_valid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 type 0-255[u]
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 type 0-255[u]
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 type 0-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 unblock_device() -> bdaddr_type_is_valid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 type 0-255[u]
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 type 0-255[u]
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

net/bluetooth/l2cap_sock.c l2cap_sock_bind() -> bdaddr_type_is_valid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex

net/bluetooth/l2cap_sock.c l2cap_sock_connect() -> bdaddr_type_is_valid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING