Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/tty/vt/vt_ioctl.c vt_ioctl() -> vc_allocate()

Type Parameter Key Value
PARAM_VALUE 0 currcons 0-62
CAPPED_DATA 0 currcons 1
NOSPEC 0 currcons
NOSPEC 0 currcons
USER_DATA 0 currcons 0-62[c]
LOCK2 global &console_sem

drivers/tty/vt/vt_ioctl.c vt_move_to_console() -> vc_allocate()

Type Parameter Key Value
PARAM_VALUE 0 currcons 62
DATA_SOURCE 0 currcons $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &console_sem
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &device_hotplug_lock

drivers/tty/vt/vt_ioctl.c vt_reldisp() -> vc_allocate()

Type Parameter Key Value
PARAM_VALUE 0 currcons 0-s32max
UNITS 0 currcons unit_array_size
LOCK2 global &console_sem

drivers/tty/vt/vt_ioctl.c vt_setactivate() -> vc_allocate()

Type Parameter Key Value
PARAM_VALUE 0 currcons 0-62
CAPPED_DATA 0 currcons 1
NOSPEC 0 currcons
NOSPEC 0 currcons
USER_DATA 0 currcons 0-62[c]
LOCK2 global &console_sem

drivers/tty/vt/vt.c con_install() -> vc_allocate()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 currcons unit_array_size
LOCK2 &tty->legacy_mutex
LOCK2 global &console_sem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &spk_mutex
HALF_LOCKED2 global &tty_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex