Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/bluetooth/mgmt.c read_commands() -> hci_sock_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | nr | 0 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | 0 | sk | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk |
net/bluetooth/mgmt.c read_commands() -> hci_sock_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | nr | 0 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | 0 | sk | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk |
net/bluetooth/hci_sock.c __hci_send_to_channel() -> hci_sock_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | nr | 0-10 |
| DATA_SOURCE | 1 | nr | $2 |
| HARD_MAX | 1 | nr | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hci_sk_list.lock | ||
| TYPE_LOCK | (struct bt_sock_list)->lock |
net/bluetooth/hci_sock.c create_monitor_ctrl_open() -> hci_sock_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | nr | 0 |
| BUF_SIZE | 0 | sk->hdev | (-1)-s32max |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| UNITS | 0 | sk | unit_byte |
| HALF_LOCKED2 | global &hci_sk_list.lock | ||
| HALF_LOCKED2 | mon_sk | ||
| HALF_LOCKED2 | 0 | sk |
net/bluetooth/hci_sock.c hci_mgmt_cmd() -> hci_sock_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | nr | 0 |
| DATA_SOURCE | 0 | sk | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| UNITS | 0 | sk | unit_byte |
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | 0 | sk | |
| HALF_LOCKED2 | &vq->mutex |
net/bluetooth/hci_sock.c hci_send_monitor_ctrl_event() -> hci_sock_test_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | nr | 0-10 |
| DATA_SOURCE | 1 | nr | $5 |
| HARD_MAX | 1 | nr | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hci_sk_list.lock | ||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | skip_sk | ||
| TYPE_LOCK | (struct bt_sock_list)->lock |