Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

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

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 get_conn_info_sync() -> bdaddr_type_is_le()

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

net/bluetooth/l2cap_sock.c l2cap_set_mode() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk

net/bluetooth/l2cap_sock.c l2cap_set_mode() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk

net/bluetooth/l2cap_sock.c l2cap_set_mode() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk

net/bluetooth/l2cap_sock.c l2cap_set_mode() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk

net/bluetooth/l2cap_sock.c l2cap_set_mode() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk

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

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_bind() -> bdaddr_type_is_le()

Type Parameter Key Value
PARAM_VALUE 0 type 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk
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_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 type 0
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/bluetooth/l2cap_sock.c l2cap_sock_getsockopt() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
LOCK2 &chan->lock
LOCK2 sk
TYPE_LOCK (struct l2cap_chan)->lock

net/bluetooth/l2cap_sock.c l2cap_sock_getsockopt() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
LOCK2 &chan->lock
LOCK2 sk
TYPE_LOCK (struct l2cap_chan)->lock

net/bluetooth/l2cap_sock.c l2cap_sock_getsockopt_old() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
LOCK2 &chan->lock
LOCK2 sk
TYPE_LOCK (struct l2cap_chan)->lock

net/bluetooth/l2cap_sock.c l2cap_sock_recvmsg() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

net/bluetooth/l2cap_sock.c l2cap_sock_setsockopt() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &chan->lock
LOCK2 sk
HALF_LOCKED2 &smc->clcsock_release_lock
TYPE_LOCK (struct l2cap_chan)->lock

net/bluetooth/l2cap_sock.c l2cap_sock_setsockopt() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &chan->lock
LOCK2 sk
HALF_LOCKED2 &smc->clcsock_release_lock
TYPE_LOCK (struct l2cap_chan)->lock

net/bluetooth/l2cap_sock.c l2cap_sock_setsockopt_old() -> bdaddr_type_is_le()

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

net/bluetooth/iso.c iso_sock_bind() -> bdaddr_type_is_le()

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

net/bluetooth/iso.c iso_sock_bind_bc() -> bdaddr_type_is_le()

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

net/bluetooth/iso.c iso_sock_connect() -> bdaddr_type_is_le()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

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

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

net/bluetooth/l2cap_core.c is_valid_psm() -> bdaddr_type_is_le()

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

net/bluetooth/l2cap_core.c l2cap_chan_connect() -> bdaddr_type_is_le()

Type Parameter Key Value
PARAM_VALUE 0 type 0-2
DATA_SOURCE 0 type $4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->lock
TYPE_LOCK (struct hci_dev)->lock