Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/tty/vt/consolemap.c, line 300 (as a function)
- include/linux/consolemap.h, line 35 (as a function)
Referenced in 5 files:
- drivers/accessibility/braille/braille_console.c, line 133
- drivers/accessibility/speakup/main.c, line 474
- drivers/tty/vt/consolemap.c, line 325
- drivers/tty/vt/selection.c, line 71
- drivers/tty/vt/vt.c
Smatch caller information:
drivers/accessibility/speakup/main.c get_char() -> inverse_translate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 1 | glyph | 0-511 |
| PARAM_VALUE | 2 | use_unicode | 1 |
| DATA_SOURCE | 0 | conp | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | conp | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | global &speakup_info.spinlock | ||
| TYPE_LOCK | (struct speakup_info_t)->spinlock |
drivers/accessibility/braille/braille_console.c vc_refresh() -> inverse_translate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 1 | glyph | 0-511 |
| PARAM_VALUE | 2 | use_unicode | 1 |
| DATA_SOURCE | 0 | conp | $0 |
| DATA_SOURCE | 1 | glyph | r screen_glyph |
| UNITS | 0 | conp | unit_byte |
drivers/tty/vt/vt.c screen_glyph_unicode() -> inverse_translate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 1 | glyph | 0-511 |
| PARAM_VALUE | 2 | use_unicode | 1 |
| DATA_SOURCE | 0 | conp | $0 |
| UNITS | 0 | conp | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &pool->lock |
drivers/tty/vt/vt.c vc_uniscr_check() -> inverse_translate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 1 | glyph | 0-254 |
| PARAM_VALUE | 2 | use_unicode | 1 |
| BUF_SIZE | 0 | conp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | conp | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | conp->vc_rows | 1 |
| CAPPED_DATA | 1 | glyph | 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 |
drivers/tty/vt/vt.c vc_uniscr_copy_line() -> inverse_translate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 1 | glyph | 0-254 |
| PARAM_VALUE | 2 | use_unicode | 1 |
| CAPPED_DATA | 0 | conp->vc_origin | 1 |
| CAPPED_DATA | 1 | glyph | 1 |
| DATA_SOURCE | 0 | conp | $0 |
| LOCK2 | global &console_sem |
drivers/tty/vt/selection.c sel_pos() -> inverse_translate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conp | 4096-ptr_max |
| PARAM_VALUE | 1 | glyph | 0-511 |
| PARAM_VALUE | 2 | use_unicode | 0 |
| UNITS | 0 | conp | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &pool->lock |