Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bluetooth/rfcomm/tty.c __rfcomm_create_dev() -> rfcomm_dlc_hold()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 global &rfcomm_ioctl_mutex

net/bluetooth/rfcomm/core.c rfcomm_dlc_link() -> rfcomm_dlc_hold()

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->mscex 0
PARAM_VALUE 0 d->mtu 127
PARAM_VALUE 0 d->rx_credits 7
PARAM_VALUE 0 d->sec_level 0-3
PARAM_VALUE 0 d->state 2,7
PARAM_VALUE 0 d->v24_sig 140
CAPPED_DATA 0 d->dlci 1
DATA_SOURCE 0 d $1
BIT_INFO 0 d->addr 0x1,0xff
NOSPEC 0 d->dlci
HARD_MAX 0 d->state 7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 d->addr 0-255[c]
USER_DATA 0 d->dlci 1-63[c]
LOCK2 global &rfcomm_mutex

net/bluetooth/rfcomm/core.c rfcomm_dlc_set_timer() -> rfcomm_dlc_hold()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 d->timer.entry.pprev 0,4096-ptr_max
CAPPED_DATA 0 d 1
CAPPED_DATA 0 &d->timer 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