Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/tty/vt/consolemap.c, line 849 (as a function)
- include/linux/consolemap.h, line 47 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/tty/vt/consolemap.c con_get_trans_old() -> conv_uni_to_pc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ucs | 0-u16max |
| LOCK2 | global &console_sem |
drivers/tty/vt/consolemap.c set_inverse_transl() -> conv_uni_to_pc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 0 | conp->port.client_ops->lookahead_buf | 0,5552213984272089088 |
| PARAM_VALUE | 0 | conp->port.client_ops->receive_buf | 0,2070410949742354432,5991726090128461824 |
| PARAM_VALUE | 0 | conp->port.client_ops->write_wakeup | 0,4180907491510067200,7004002109319299072 |
| PARAM_VALUE | 0 | conp->uni_pagedict_loc | 4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ucs | 0-u16max |
| BUF_SIZE | 0 | conp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | conp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | conp->port.ops | (-1),40 |
| BUF_SIZE | 0 | conp->uni_pagedict_loc | (-1),8 |
| BUF_SIZE | 0 | conp->vc_display_fg | (-1),8 |
| BUF_SIZE | 0 | conp->vc_screenbuf | (-1)-s32max |
| CAPPED_DATA | 0 | conp | 1 |
| DATA_SOURCE | 0 | conp | $0 |
| NOSPEC | 0 | conp->vc_num | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | conp->vc_num | 1-62[c] |
| UNITS | 0 | conp | unit_byte |
| HALF_LOCKED2 | global &console_sem |
drivers/tty/vt/vt.c vc_con_write_normal() -> conv_uni_to_pc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_num | 0-62 |
| PARAM_VALUE | 0 | conp->vc_state | 0 |
| PARAM_VALUE | 0 | conp->vc_sw->con_cursor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->owner | 0 |
| PARAM_VALUE | 0 | *conp->vc_par | 0-4294967295 |
| PARAM_VALUE | 1 | ucs | 63 |
| BUF_SIZE | 0 | conp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | conp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | conp | 1 |
| CAPPED_DATA | 0 | conp->vc_num | 1 |
| DATA_SOURCE | 0 | conp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | conp->vc_pos | 4096-u64max |
| USER_DATA | 0 | conp->vc_utf_char | s32min-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | conp->saved_state.y | |
| UNITS | 0 | conp | 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_con_write_normal() -> conv_uni_to_pc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_display_fg | 4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_num | 0-62 |
| PARAM_VALUE | 0 | conp->vc_pos | 4096-u64max |
| PARAM_VALUE | 0 | conp->vc_state | 0 |
| PARAM_VALUE | 0 | conp->vc_sw->con_cursor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->owner | 0 |
| PARAM_VALUE | 0 | *conp->vc_display_fg | 4096-ptr_max |
| PARAM_VALUE | 0 | *conp->vc_par | 0-4294967295 |
| PARAM_VALUE | 1 | ucs | 32 |
| BUF_SIZE | 0 | conp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | conp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | conp | 1 |
| CAPPED_DATA | 0 | conp->vc_num | 1 |
| CAPPED_DATA | 0 | *conp->vc_display_fg | 1 |
| DATA_SOURCE | 0 | conp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | conp->vc_pos | 4096-18446744073709547522 |
| USER_DATA | 0 | conp->vc_utf_char | s32min-s32max[c] |
| USER_DATA | 0 | *conp->vc_pos | 0-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | conp->saved_state.y | |
| UNITS | 0 | conp | unit_byte |
| USER_PTR | 0 | conp->vc_pos | |
| 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_get_glyph() -> conv_uni_to_pc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_bell_duration | 0-4294967295 |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_cur_blink_ms | 0-u16max |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_hi_font_mask | 0-u16max |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_mode | 0-255 |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_priv | 0-7 |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_report_mouse | 0-3 |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_size_row | 0-4294967295 |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_state | 0-4294967295 |
| PARAM_VALUE | 0 | conp->vc_state | 0-16 |
| PARAM_VALUE | 0 | conp->vc_sw->con_build_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_cursor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_putc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_resize | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_save_screen | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_scrolldelta | 0,8527612440099225600 |
| PARAM_VALUE | 0 | conp->vc_sw->con_set_origin | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_set_palette | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->owner | 0 |
| PARAM_VALUE | 0 | *conp->vc_par | 0-4294967295 |
| PARAM_VALUE | 1 | ucs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | conp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | conp | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | conp | 1 |
| CAPPED_DATA | 1 | ucs | 1 |
| DATA_SOURCE | 0 | conp | $0 |
| DATA_SOURCE | 1 | ucs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | conp->vc_pos | 0-u64max |
| USER_DATA | 0 | conp->vc_utf_char | s32min-s32max[c] |
| USER_DATA | 1 | ucs | 1-255[c] |
| NO_OVERFLOW_SIMPLE | 0 | conp->saved_state.y | |
| NO_OVERFLOW_SIMPLE | 0 | conp->state.y | |
| NO_OVERFLOW_SIMPLE | 0 | conp->vc_font.height | |
| NO_OVERFLOW_SIMPLE | 0 | conp->vc_font.width | |
| UNITS | 0 | conp | unit_byte |
| HALF_LOCKED2 | global &console_sem |
drivers/tty/vt/vt.c vc_get_glyph() -> conv_uni_to_pc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_bell_duration | 0-4294967295 |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_size_row | 0-4294967295 |
| PARAM_VALUE | 0 | conp->vc_display_fg->vc_state | 0-4294967295 |
| PARAM_VALUE | 0 | conp->vc_state | 0-16 |
| PARAM_VALUE | 0 | conp->vc_sw->con_build_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_cursor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_putc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_resize | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_save_screen | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_scrolldelta | 0,8527612440099225600 |
| PARAM_VALUE | 0 | conp->vc_sw->con_set_origin | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->con_set_palette | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conp->vc_sw->owner | 0 |
| PARAM_VALUE | 0 | *conp->vc_par | 0-4294967295 |
| PARAM_VALUE | 1 | ucs | 65533 |
| BUF_SIZE | 0 | conp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | conp | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | conp | 1 |
| DATA_SOURCE | 0 | conp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | conp->vc_pos | 0-u64max |
| USER_DATA | 0 | conp->vc_utf_char | s32min-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | conp->saved_state.y | |
| NO_OVERFLOW_SIMPLE | 0 | conp->state.y | |
| NO_OVERFLOW_SIMPLE | 0 | conp->vc_font.height | |
| NO_OVERFLOW_SIMPLE | 0 | conp->vc_font.width | |
| UNITS | 0 | conp | unit_byte |
| HALF_LOCKED2 | global &console_sem |