Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/tty/tty_io.c get_tty_driver() -> tty_driver_kref_get()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
CAPPED_DATA 0 &d->tty_drivers 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &tty_mutex

drivers/tty/tty_io.c tty_find_polling_driver() -> tty_driver_kref_get()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->num 1-u32max
PARAM_VALUE 0 d->ops 4096-ptr_max
PARAM_VALUE 0 d->ops->poll_init 1455831725284642816,7005422354281586688
CAPPED_DATA 0 &d->tty_drivers 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 global &config_mutex

drivers/tty/tty_io.c tty_lookup_driver() -> tty_driver_kref_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &tty_mutex

drivers/tty/tty_io.c tty_lookup_driver() -> tty_driver_kref_get()

Type Parameter Key Value
PARAM_VALUE 0 d 1-u64max
DATA_SOURCE 0 d r console_device
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &tty_mutex

drivers/tty/tty_io.c tty_standard_install() -> tty_driver_kref_get()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->ops 4096-ptr_max
PARAM_VALUE 0 d->ops->install 0,4096-ptr_max
PARAM_VALUE 0 d->ops->lookup 0,4096-ptr_max
PARAM_VALUE 0 d->owner 0,4096-ptr_max
PARAM_VALUE 0 d->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 d->owner->state 0-1,3-u32max
DATA_SOURCE 0 d $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &spk_mutex
HALF_LOCKED2 global &tty_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/tty/pty.c pty_common_install() -> tty_driver_kref_get()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->ops->lookup 0,1028560029362032640,3174408500077174784
PARAM_VALUE 0 d->owner 0,4096-ptr_max
PARAM_VALUE 0 d->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 d->owner->state 0-1,3-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &spk_mutex
HALF_LOCKED2 global &tty_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/tty/pty.c pty_common_install() -> tty_driver_kref_get()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->ops 4096-ptr_max
PARAM_VALUE 0 d->ops->install 4096-ptr_max
PARAM_VALUE 0 d->ops->lookup 0,4096-ptr_max
PARAM_VALUE 0 d->other 4096-ptr_max
PARAM_VALUE 0 d->other->ops->lookup 0,1028560029362032640,3174408500077174784
PARAM_VALUE 0 d->other->owner 0,4096-ptr_max
PARAM_VALUE 0 d->other->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 d->other->owner->state 0-1,3-u32max
PARAM_VALUE 0 d->owner 0,4096-ptr_max
PARAM_VALUE 0 d->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 d->owner->state 0-1,3-u32max
PARAM_VALUE 0 d->subtype 1
DATA_SOURCE 0 d $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &spk_mutex
HALF_LOCKED2 global &tty_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex