Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/vt/vt.c handle_esc() -> reset_terminal()

Type Parameter Key Value
PARAM_VALUE 0 vc 4096-ptr_max
PARAM_VALUE 0 vc->vc_display_fg->vc_bell_duration 0-4294967295
PARAM_VALUE 0 vc->vc_display_fg->vc_size_row 0-4294967295
PARAM_VALUE 0 vc->vc_display_fg->vc_state 0-4294967295
PARAM_VALUE 0 vc->vc_num 0-62
PARAM_VALUE 0 vc->vc_state 0
PARAM_VALUE 0 vc->vc_sw->con_cursor 0,4096-ptr_max
PARAM_VALUE 0 vc->vc_sw->con_putc 0,4096-ptr_max
PARAM_VALUE 0 vc->vc_sw->owner 0
PARAM_VALUE 0 *vc->vc_par 0-4294967295
PARAM_VALUE 1 do_clear 1
BUF_SIZE 0 vc s32min-(-2),1-s32max
BUF_SIZE 0 vc s32min-(-2),1-s32max
CAPPED_DATA 0 vc 1
CAPPED_DATA 0 vc->vc_num 1
DATA_SOURCE 0 vc $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 vc->vc_pos 4096-u64max
USER_DATA 0 vc->vc_utf_char s32min-s32max[c]
NO_OVERFLOW_SIMPLE 0 vc->state.y
UNITS 0 vc unit_byte
LOCK2 global &console_sem
HALF_LOCKED2 &tty->atomic_write_lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 &tty->port->buf.lock
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock

drivers/tty/vt/vt.c vc_init() -> reset_terminal()

Type Parameter Key Value
PARAM_VALUE 0 vc 4096-ptr_max
PARAM_VALUE 0 vc->paste_wait.head.next 4096-ptr_max
PARAM_VALUE 0 vc->paste_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 vc->paste_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 vc->paste_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 vc->paste_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 vc->port.blocked_open 0
PARAM_VALUE 0 vc->port.buf.flip_wq 0
PARAM_VALUE 0 vc->port.buf.free.first 0
PARAM_VALUE 0 vc->port.buf.head 4096-ptr_max
PARAM_VALUE 0 vc->port.buf.head->commit 0
PARAM_VALUE 0 vc->port.buf.head->flags 1
PARAM_VALUE 0 vc->port.buf.head->free.next 0
PARAM_VALUE 0 vc->port.buf.head->lookahead 0
PARAM_VALUE 0 vc->port.buf.head->next 0
PARAM_VALUE 0 vc->port.buf.head->read 0
PARAM_VALUE 0 vc->port.buf.head->size 0
PARAM_VALUE 0 vc->port.buf.head->used 0
PARAM_VALUE 0 vc->port.buf.lock.dep_map->name 0-255
PARAM_VALUE 0 vc->port.buf.lock.first_waiter 0
PARAM_VALUE 0 vc->port.buf.lock.magic 4096-ptr_max
PARAM_VALUE 0 vc->port.buf.lock.osq.tail.counter 0
PARAM_VALUE 0 vc->port.buf.lock.owner.counter 0
PARAM_VALUE 0 vc->port.buf.mem_limit 655360
PARAM_VALUE 0 vc->port.buf.mem_used.counter 0
PARAM_VALUE 0 vc->port.buf.priority.counter 0
PARAM_VALUE 0 vc->port.buf.sentinel.commit 0
PARAM_VALUE 0 vc->port.buf.sentinel.flags 1
PARAM_VALUE 0 vc->port.buf.sentinel.free.next 0
PARAM_VALUE 0 vc->port.buf.sentinel.lookahead 0
PARAM_VALUE 0 vc->port.buf.sentinel.next 0
PARAM_VALUE 0 vc->port.buf.sentinel.read 0
PARAM_VALUE 0 vc->port.buf.sentinel.size 0
PARAM_VALUE 0 vc->port.buf.sentinel.used 0
PARAM_VALUE 0 vc->port.buf.tail 4096-ptr_max
PARAM_VALUE 0 vc->port.buf.tail->commit 0
PARAM_VALUE 0 vc->port.buf.tail->flags 1
PARAM_VALUE 0 vc->port.buf.tail->free.next 0
PARAM_VALUE 0 vc->port.buf.tail->lookahead 0
PARAM_VALUE 0 vc->port.buf.tail->next 0
PARAM_VALUE 0 vc->port.buf.tail->read 0
PARAM_VALUE 0 vc->port.buf.tail->size 0
PARAM_VALUE 0 vc->port.buf.tail->used 0
PARAM_VALUE 0 vc->port.buf.work.func 0
PARAM_VALUE 0 vc->port.buf_mutex.dep_map->name 0-255
PARAM_VALUE 0 vc->port.buf_mutex.first_waiter 0
PARAM_VALUE 0 vc->port.buf_mutex.magic 4096-ptr_max
PARAM_VALUE 0 vc->port.buf_mutex.osq.tail.counter 0
PARAM_VALUE 0 vc->port.buf_mutex.owner.counter 0
PARAM_VALUE 0 vc->port.client_data 0
PARAM_VALUE 0 vc->port.client_ops 6331571049099714560
PARAM_VALUE 0 vc->port.client_ops->lookahead_buf 0,5552213984272089088
PARAM_VALUE 0 vc->port.client_ops->receive_buf 0,2070410949742354432,5991726090128461824
PARAM_VALUE 0 vc->port.client_ops->write_wakeup 0,4180907491510067200,7004002109319299072
PARAM_VALUE 0 vc->port.close_delay 125
PARAM_VALUE 0 vc->port.closing_wait 7500
PARAM_VALUE 0 vc->port.console 0
PARAM_VALUE 0 vc->port.count 0
PARAM_VALUE 0 vc->port.delta_msr_wait.head.next 4096-ptr_max
PARAM_VALUE 0 vc->port.delta_msr_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 vc->port.delta_msr_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 vc->port.delta_msr_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 vc->port.delta_msr_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 vc->port.drain_delay 0
PARAM_VALUE 0 vc->port.flags 0
PARAM_VALUE 0 vc->port.iflags 0
PARAM_VALUE 0 vc->port.itty 0
PARAM_VALUE 0 vc->port.kref.refcount.refs.counter 1
PARAM_VALUE 0 vc->port.open_wait.head.next 4096-ptr_max
PARAM_VALUE 0 vc->port.open_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 vc->port.open_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 vc->port.open_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 vc->port.open_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 vc->port.ops 0,6498879344088170496
PARAM_VALUE 0 vc->port.tty 0
PARAM_VALUE 0 vc->port.xmit_buf 0
PARAM_VALUE 0 vc->port.xmit_fifo.const_type 0
PARAM_VALUE 0 vc->port.xmit_fifo.kfifo.data 0
PARAM_VALUE 0 vc->port.xmit_fifo.kfifo.esize 0
PARAM_VALUE 0 vc->port.xmit_fifo.kfifo.in 0
PARAM_VALUE 0 vc->port.xmit_fifo.kfifo.mask 0
PARAM_VALUE 0 vc->port.xmit_fifo.kfifo.out 0
PARAM_VALUE 0 vc->port.xmit_fifo.ptr 0
PARAM_VALUE 0 vc->port.xmit_fifo.ptr_const 0
PARAM_VALUE 0 vc->port.xmit_fifo.rectype 0
PARAM_VALUE 0 vc->port.xmit_fifo.type 0
PARAM_VALUE 0 vc->uni_pagedict 0
PARAM_VALUE 0 vc->uni_pagedict_loc 4096-ptr_max
PARAM_VALUE 0 vc->vc_complement_mask 1-u16max
PARAM_VALUE 0 vc->vc_cur_blink_ms 200
PARAM_VALUE 0 vc->vc_display_fg 3273774230749237248
PARAM_VALUE 0 vc->vc_halfcolor 8
PARAM_VALUE 0 vc->vc_hi_font_mask 0,256,2048
PARAM_VALUE 0 vc->vc_mode 0
PARAM_VALUE 0 vc->vc_num 0-62
PARAM_VALUE 0 vc->vc_palette 4096-ptr_max
PARAM_VALUE 0 vc->vc_s_complement_mask 1-u16max
PARAM_VALUE 0 vc->vc_screenbuf 16,4096-ptr_max
PARAM_VALUE 0 vc->vc_size_row 0,2-4294967294
PARAM_VALUE 0 vc->vc_sw 4096-ptr_max
PARAM_VALUE 0 vc->vc_sw->con_save_screen 0,3862440749289635840
PARAM_VALUE 0 vc->vc_sw->owner 0,4096-ptr_max
PARAM_VALUE 0 vc->vt_mode.acqsig 0
PARAM_VALUE 0 vc->vt_mode.frsig 0
PARAM_VALUE 0 vc->vt_mode.mode 0
PARAM_VALUE 0 vc->vt_mode.relsig 0
PARAM_VALUE 0 vc->vt_mode.waitv 0
PARAM_VALUE 0 vc->vt_newvt (-1)
PARAM_VALUE 0 vc->vt_pid 0
PARAM_VALUE 0 *vc->vc_display_fg 4096-ptr_max
PARAM_VALUE 0 *vc->vc_palette 0-255
PARAM_VALUE 1 do_clear 0-1
BUF_SIZE 0 vc 1520
BUF_SIZE 0 vc->port.ops (-1),40
BUF_SIZE 0 vc->vc_screenbuf (-1)-s32max
CAPPED_DATA 0 vc 1
CAPPED_DATA 0 *vc->vc_display_fg 1
DATA_SOURCE 0 vc $0
DATA_SOURCE 1 do_clear $1
FUZZY_MAX 1 do_clear 1
NOSPEC 0 vc->vc_num
HARD_MAX 1 do_clear 1
MEM_ZERO 0 &vc->port
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 vc->vc_num 1-62[c]
NO_OVERFLOW_SIMPLE 0 vc->saved_state.y
LOCK2 global &console_sem