Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/bluetooth/6lowpan.c bt_6lowpan_disconnect() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | reason | 2 |
| CAPPED_DATA | 0 | chan->conn | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chan->lock | |
| TYPE_LOCK | (struct l2cap_chan)->lock |
net/bluetooth/6lowpan.c bt_6lowpan_exit() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | reason | 0 |
| NOCHECK_CALL | |||
| LOCK2 | global &listen_chan->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock |
net/bluetooth/6lowpan.c disconnect_all_peers() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | reason | 2 |
| NOCHECK_CALL | |||
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
net/bluetooth/6lowpan.c do_enable_set() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | reason | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &attr->mutex | ||
| LOCK2 | global &listen_chan->lock | ||
| LOCK2 | global &set_lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
net/bluetooth/6lowpan.c lowpan_control_write() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | reason | 0 |
| NOCHECK_CALL | |||
| LOCK2 | global &listen_chan->lock | ||
| LOCK2 | global &set_lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock |
net/bluetooth/l2cap_sock.c l2cap_sock_shutdown() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->conn | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->conn->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | chan->kref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | chan->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chan->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chan->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chan->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chan->ops->teardown | 4096-ptr_max |
| PARAM_VALUE | 1 | reason | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chan->lock | |
| HALF_LOCKED2 | &conn->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock |
net/bluetooth/l2cap_core.c l2cap_chan_timeout() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->conn->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->conn->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->conn->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->conn->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chan->conn->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->conn->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chan->conn->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chan->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | reason | 110-111 |
| FUZZY_MAX | 1 | reason | 111 |
| BIT_INFO | 1 | reason | 0x6e,0x6f |
| HARD_MAX | 1 | reason | 111 |
| NOCHECK_CALL | |||
| LOCK2 | &conn->lock | ||
| LOCK2 | 0 | &chan->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/l2cap_core.c l2cap_check_encryption() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->chan_type | 3 |
| PARAM_VALUE | 0 | chan->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chan->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->ops->state_change | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->sec_level | 3-4 |
| PARAM_VALUE | 0 | chan->state | 1,7 |
| PARAM_VALUE | 1 | reason | 111 |
| DATA_SOURCE | 0 | chan | $0 |
| FUZZY_MAX | 0 | chan->sec_level | 4 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &conn->lock | ||
| LOCK2 | &hdev->lock | ||
| LOCK2 | global &hci_cb_list_lock | ||
| LOCK2 | 0 | &chan->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/l2cap_core.c l2cap_conn_start() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->chan_type | 3 |
| PARAM_VALUE | 0 | chan->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->conn->hcon | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chan->ops->state_change | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->state | 5 |
| PARAM_VALUE | 1 | reason | 104 |
| CAPPED_DATA | 0 | &chan->list | 1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &conn->lock | ||
| LOCK2 | 0 | &chan->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/l2cap_core.c l2cap_conn_start() -> l2cap_chan_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->chan_type | 3 |
| PARAM_VALUE | 0 | chan->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->conn->hcon | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chan->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chan->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chan->ops->state_change | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->state | 5 |
| PARAM_VALUE | 1 | reason | 111 |
| CAPPED_DATA | 0 | &chan->list | 1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &conn->lock | ||
| LOCK2 | 0 | &chan->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |