Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/bluetooth/rfcomm/tty.c rfcomm_dev_add() -> rfcomm_dlc_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->cfc | 0 |
| PARAM_VALUE | 0 | d->flags | 0 |
| PARAM_VALUE | 0 | d->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | d->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | d->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | d->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | d->mscex | 0 |
| PARAM_VALUE | 0 | d->mtu | 127 |
| PARAM_VALUE | 0 | d->refcnt.refs.counter | 1 |
| PARAM_VALUE | 0 | d->rx_credits | 7 |
| PARAM_VALUE | 0 | d->sec_level | 1 |
| PARAM_VALUE | 0 | d->state | 2 |
| PARAM_VALUE | 0 | d->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | d->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | d->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->tx_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | d->tx_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | d->tx_queue.qlen | 0 |
| PARAM_VALUE | 0 | d->v24_sig | 140 |
| BUF_SIZE | 0 | d | (-1),448 |
| BUF_SIZE | 0 | d | (-1),448 |
| DATA_SOURCE | 0 | d | $1 |
| NOCHECK_CALL | |||
| LOCK2 | global &rfcomm_ioctl_mutex | ||
| HALF_LOCKED2 | &smc->sk |
net/bluetooth/rfcomm/tty.c rfcomm_dev_destruct() -> rfcomm_dlc_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | d->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | d->lock.wait_lock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &d->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | global &rfcomm_dev_lock | ||
| HALF_LOCKED2 | global &rfcomm_ioctl_mutex |
net/bluetooth/rfcomm/sock.c rfcomm_sock_destruct() -> rfcomm_dlc_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | d->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | d->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | d->lock.wait_lock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &d->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/bluetooth/rfcomm/core.c rfcomm_dlc_clear_timer() -> rfcomm_dlc_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | d->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | d->timer.function | 0 |
| CAPPED_DATA | 0 | d | 1 |
| DATA_SOURCE | 0 | d | $0 |
| NOSPEC | 0 | d->dlci | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | d->addr | 0-255[c] |
| USER_DATA | 0 | d->dlci | 1-63[c] |
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | global &hci_cb_list_lock | ||
| HALF_LOCKED2 | global &rfcomm_mutex |
net/bluetooth/rfcomm/core.c rfcomm_dlc_timeout() -> rfcomm_dlc_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/bluetooth/rfcomm/core.c rfcomm_dlc_unlink() -> rfcomm_dlc_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | d->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | d->session | 0 |
| PARAM_VALUE | 0 | d->state | 1,6,9 |
| PARAM_VALUE | 0 | d->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | d->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | d->timer.function | 0 |
| PARAM_VALUE | 0 | d->tx_queue.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->tx_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | d->tx_queue.next->prev | 2011684551238094848 |
| PARAM_VALUE | 0 | d->tx_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | d->tx_queue.prev->next | 2011684551238094848 |
| PARAM_VALUE | 0 | d->tx_queue.qlen | 0 |
| CAPPED_DATA | 0 | d | 1 |
| CAPPED_DATA | 0 | d->owner | 1 |
| DATA_SOURCE | 0 | d | $0 |
| FUZZY_MAX | 0 | d->state | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | d->dlci | 1-63[c] |
| LOCK2 | global &rfcomm_mutex |