Defined in 1 files as a function:

Referenced in 32 files:

Smatch caller information:

drivers/bluetooth/hci_qca.c qca_send_crashbuffer() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1096
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/bluetooth/hci_qca.c qca_set_baudrate() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 5
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/hci_qca.c send_hci_ibs_cmd() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &qca->hci_ibs_lock
LOCK2 flags
TYPE_LOCK (struct qca_data)->hci_ibs_lock

net/bluetooth/coredump.c hci_devcd_dump() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 2080
LOCK2 &hdev->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->lock

drivers/bluetooth/hci_vhci.c __vhci_create_device() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 4
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->open_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct vhci_data)->open_mutex

drivers/bluetooth/hci_vhci.c vhci_get_user() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 2-1028
PARAM_VALUE 1 how 3264
DATA_SOURCE 0 len r iov_iter_count
NOSPEC 0 len
NOSPEC 0 len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 len 2-1028
HALF_LOCKED2 &pool->lock

net/bluetooth/6lowpan.c chan_alloc_skb_cb() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 len 2-2147483659[c]
USER_DATA 0 len 1-2147483659[c]
HALF_LOCKED2 &chan->lock

drivers/bluetooth/btqca.c qca_inject_cmd_complete_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 6
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/btqcomsmd.c btqcomsmd_recv() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 2080
DATA_SOURCE 0 len $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 len 0-u16max[c]
HALF_LOCKED2 &channel->recv_lock
HALF_LOCKED2 &ept->cb_lock

drivers/bluetooth/hci_mrvl.c mrvl_load_firmware() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/hci_mrvl.c mrvl_send_ack() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 0
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/bluetooth/hci_sock.c create_monitor_ctrl_close() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 4
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk

net/bluetooth/hci_sock.c create_monitor_ctrl_command() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 2080
CAPPED_DATA 0 len 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

net/bluetooth/hci_sock.c create_monitor_ctrl_open() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 30
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &hci_sk_list.lock
HALF_LOCKED2 mon_sk
HALF_LOCKED2 sk

net/bluetooth/hci_sock.c create_monitor_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 16
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &hci_dev_list_lock
HALF_LOCKED2 sk

net/bluetooth/hci_sock.c create_monitor_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 0
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock

net/bluetooth/hci_sock.c create_monitor_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 8
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &hci_dev_list_lock
HALF_LOCKED2 sk

net/bluetooth/hci_sock.c create_monitor_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 0
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &hci_dev_list_lock
HALF_LOCKED2 sk

net/bluetooth/hci_sock.c create_monitor_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 0
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock

net/bluetooth/hci_sock.c hci_send_monitor_ctrl_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 global &hci_sk_list.lock
HALF_LOCKED2 &hdev->lock
HALF_LOCKED2 skip_sk
TYPE_LOCK (struct bt_sock_list)->lock

net/bluetooth/hci_sock.c hci_si_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 8
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
HALF_LOCKED2 &hdev->req_lock

net/bluetooth/hci_sock.c send_monitor_note() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1-2147483648
PARAM_VALUE 1 how 2080
CAPABLE 0 13
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

drivers/bluetooth/btusb.c alloc_diag_urb() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 2
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/btusb.c btusb_diag_complete() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 len 0-u32max[c][u]
NO_OVERFLOW_SIMPLE 0 len
UNITS 0 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/bluetooth/btusb.c btusb_recv_bulk() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1028
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->rxlock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btusb_data)->rxlock

drivers/bluetooth/btusb.c btusb_recv_intr() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 260
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->rxlock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btusb_data)->rxlock

drivers/bluetooth/btusb.c btusb_recv_isoc() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 255
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->rxlock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btusb_data)->rxlock

drivers/bluetooth/btusb.c inject_cmd_complete() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 6
PARAM_VALUE 1 how 3264
TASK_NOT_RUNNING
UNITS 0 len unit_byte
HALF_LOCKED2 &hdev->req_lock

drivers/bluetooth/btusb.c marvell_config_oob_wake() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 5
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte

net/bluetooth/hci_sync.c hci_cmd_sync_alloc() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 len 15-25[c]
USER_DATA 0 len 4-4000003[c]
UNITS 0 len unit_byte
HALF_LOCKED2 &hdev->req_lock

drivers/bluetooth/hci_intel.c inject_cmd_complete() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 6
PARAM_VALUE 1 how 3264
UNITS 0 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/bluetooth/hci_intel.c intel_lpm_host_wake() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 2
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &idev->hu_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct intel_device)->hu_lock

drivers/bluetooth/hci_intel.c intel_lpm_resume() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 0
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
LOCK2 &idev->hu_lock
TYPE_LOCK (struct intel_device)->hu_lock

drivers/bluetooth/hci_intel.c intel_lpm_suspend() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 3
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &idev->hu_lock
TYPE_LOCK (struct intel_device)->hu_lock

drivers/bluetooth/hci_intel.c intel_set_baudrate() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 4
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/hci_ll.c send_hcill_cmd() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ll->hcill_lock
LOCK2 flags
TYPE_LOCK (struct ll_struct)->hcill_lock

net/bluetooth/hci_drv.c hci_drv_cmd_complete() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 8-263
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &pool->lock

net/bluetooth/hci_drv.c hci_drv_cmd_status() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 7
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &pool->lock

net/bluetooth/mgmt_util.c create_monitor_ctrl_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 6-65541
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte

net/bluetooth/iso.c iso_recv() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 0-4095
PARAM_VALUE 1 how 3264
RX_PATH
UNITS 0 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/bluetooth/btrtl.c btrtl_initialize() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 3
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/btintel_pcie.c btintel_pcie_dump_fwtrigger_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 12-260
PARAM_VALUE 1 how 3264
FUZZY_MAX 0 len 260
BIT_INFO 0 len 0x0,0x1fc
HARD_MAX 0 len 260
UNITS 0 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/bluetooth/btintel_pcie.c btintel_pcie_inject_cmd_complete() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 6
PARAM_VALUE 1 how 3264
TASK_NOT_RUNNING
UNITS 0 len unit_byte
HALF_LOCKED2 &hdev->req_lock

drivers/bluetooth/btintel_pcie.c btintel_pcie_read_hwexp() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 0-260
PARAM_VALUE 1 how 3264
CAPPED_DATA 0 len 1
UNITS 0 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/bluetooth/btmtksdio.c btmtksdio_rx_packet() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 3264
DATA_SOURCE 0 len $1
RX_PATH
UNITS 0 len unit_byte
HALF_LOCKED2 &pool->lock

net/bluetooth/hci_core.c __hci_reset_dev() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 3
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &qca->hci_memdump_lock

drivers/bluetooth/hci_bcm4377.c bcm4377_handle_event() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 2080
CAPPED_DATA 0 len 1
DATA_SOURCE 0 len $6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &ring->lock
LOCK2 flags
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct bcm4377_transfer_ring)->lock

drivers/bluetooth/btmtk.c btmtk_recv_isopkt() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 251
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &btmtk_data->isorxlock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btmtk_data)->isorxlock

drivers/bluetooth/btmtk.c btmtk_usb_wmt_recv() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 64
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/bluetooth/hci_bcm.c bcm_set_diag() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 3
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/btmrvl_sdio.c btmrvl_sdio_card_to_host() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 8-2120
PARAM_VALUE 1 how 3264

drivers/bluetooth/hci_h5.c h5_rx_pkt_start() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 4101
PARAM_VALUE 1 how 2080
RX_PATH
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &pool->lock

drivers/bluetooth/hci_nokia.c nokia_send_alive_packet() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 4
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/hci_nokia.c nokia_send_negotiation() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 12
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/bluetooth/hci_h4.c h4_recv_buf() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 0,4,9-10,63,255,260,1028
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &pool->lock

net/bluetooth/smp.c smp_alloc_skb_cb() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 len 2-2147483659[c]
USER_DATA 0 len 1-2147483659[c]
HALF_LOCKED2 &chan->lock

drivers/bluetooth/btmrvl_main.c btmrvl_send_sync_cmd() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 3-5,35
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock

drivers/bluetooth/bfusb.c bfusb_recv_block() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
LOCK2 &data->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct bfusb_data)->lock

drivers/bluetooth/bfusb.c bfusb_rx_submit() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1060
PARAM_VALUE 1 how 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->lock
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct bfusb_data)->lock

drivers/bluetooth/bfusb.c bfusb_send_frame() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 3264
TASK_NOT_RUNNING
UNITS 0 len unit_byte
HALF_LOCKED2 &hdev->req_lock

drivers/bluetooth/hci_bcsp.c bcsp_recv() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 4101
PARAM_VALUE 1 how 2080
RX_PATH
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &pool->lock

drivers/bluetooth/btsdio.c btsdio_rx_packet() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 0-65539
PARAM_VALUE 1 how 3264
RX_PATH
HALF_LOCKED2 &pool->lock

net/bluetooth/l2cap_core.c l2cap_build_cmd() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 8-65543
PARAM_VALUE 1 how 3264
CAPPED_DATA 0 len 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &hdev->lock
HALF_LOCKED2 &pchan->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hci_cb_list_lock
HALF_LOCKED2 sk

net/bluetooth/l2cap_core.c l2cap_build_cmd() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 1-u32max
PARAM_VALUE 1 how 3264
CAPPED_DATA 0 len 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 len unit_byte
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &hdev->lock
HALF_LOCKED2 &pchan->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hci_cb_list_lock
HALF_LOCKED2 sk

net/bluetooth/l2cap_core.c l2cap_create_sframe_pdu() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 len 6,8,10
PARAM_VALUE 1 how 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &pool->lock

net/bluetooth/l2cap_core.c l2cap_recv_frag() -> bt_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 how 3264
DATA_SOURCE 0 len $2
RX_PATH
UNITS 0 len unit_byte
LOCK2 &conn->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct l2cap_conn)->lock