Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bluetooth/rfcomm/tty.c __rfcomm_dev_add() -> rfcomm_dlc_throttle()

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,4096-ptr_max
PARAM_VALUE 0 d->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 d->lock.magic 4096-ptr_max
PARAM_VALUE 0 d->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 d->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 d->lock.wait_lock.owner (-1)
PARAM_VALUE 0 d->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 d->mscex 0
PARAM_VALUE 0 d->mtu 127
PARAM_VALUE 0 d->owner 1-u64max
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
CAPPED_DATA 0 &d->lock 1
DATA_SOURCE 0 d $1
NOCHECK_CALL
LOCK2 global &rfcomm_dev_lock
LOCK2 global &rfcomm_ioctl_mutex
LOCK2 0 &d->lock
TYPE_LOCK (struct rfcomm_dlc)->lock

net/bluetooth/rfcomm/tty.c rfcomm_tty_throttle() -> rfcomm_dlc_throttle()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock

net/bluetooth/rfcomm/sock.c rfcomm_sk_data_ready() -> rfcomm_dlc_throttle()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->dlci 1-63
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.osq.tail.counter 0-s32max
PARAM_VALUE 0 d->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 d->lock.wait_lock.owner (-1)
PARAM_VALUE 0 d->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 d->owner 4096-ptr_max
PARAM_VALUE 0 d->state 1
CAPPED_DATA 0 d->dlci 1
DATA_SOURCE 0 d $0
NOSPEC 0 d->dlci
NOCHECK_CALL
USER_DATA 0 d->dlci 1-63[c]
LOCK2 global &rfcomm_mutex
LOCK2 0 &d->lock
TYPE_LOCK (struct rfcomm_dlc)->lock