Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/rfcomm/core.c __rfcomm_dlc_open() -> rfcomm_dlc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | dlci | 0-63 |
| BUF_SIZE | 0 | s | (-1),160 |
| BUF_SIZE | 0 | s | (-1),160 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rfcomm_mutex | ||
| HALF_LOCKED2 | _T->lock |
net/bluetooth/rfcomm/core.c rfcomm_dlc_exists() -> rfcomm_dlc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | dlci | 0-63 |
| DATA_SOURCE | 0 | s | r rfcomm_session_get |
| USER_DATA | 1 | dlci | 0-63[c] |
| LOCK2 | global &rfcomm_ioctl_mutex | ||
| LOCK2 | global &rfcomm_mutex | ||
| HALF_LOCKED2 | &smc->sk |
net/bluetooth/rfcomm/core.c rfcomm_recv_data() -> rfcomm_dlc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | dlci | 1-63 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | dlci | $1 |
| USER_DATA | 1 | dlci | 1-63[c] |
| LOCK2 | global &rfcomm_mutex |
net/bluetooth/rfcomm/core.c rfcomm_recv_disc() -> rfcomm_dlc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | dlci | 1-63 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | dlci | $1 |
| USER_DATA | 1 | dlci | 1-63[c] |
| LOCK2 | global &rfcomm_mutex |
net/bluetooth/rfcomm/core.c rfcomm_recv_dm() -> rfcomm_dlc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | dlci | 1-63 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | dlci | $1 |
| USER_DATA | 1 | dlci | 1-63[c] |
| LOCK2 | global &rfcomm_mutex |
net/bluetooth/rfcomm/core.c rfcomm_recv_msc() -> rfcomm_dlc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | dlci | 0-63 |
| DATA_SOURCE | 0 | s | $0 |
| LOCK2 | global &rfcomm_mutex |
net/bluetooth/rfcomm/core.c rfcomm_recv_pn() -> rfcomm_dlc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | dlci | 1-255 |
| DATA_SOURCE | 0 | s | $0 |
| LOCK2 | global &rfcomm_mutex |
net/bluetooth/rfcomm/core.c rfcomm_recv_sabm() -> rfcomm_dlc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | dlci | 1-63 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | dlci | $1 |
| USER_DATA | 1 | dlci | 1-63[c] |
| LOCK2 | global &rfcomm_mutex |
net/bluetooth/rfcomm/core.c rfcomm_recv_ua() -> rfcomm_dlc_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | dlci | 1-63 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | dlci | $1 |
| USER_DATA | 1 | dlci | 1-63[c] |
| LOCK2 | global &rfcomm_mutex |