Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/accessibility/speakup/main.c get_attributes() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| PARAM_VALUE | 2 | viewed | 1 |
| DATA_SOURCE | 0 | vc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vc | unit_byte |
| UNITS | 1 | w_offset | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &speakup_info.spinlock |
drivers/accessibility/speakup/main.c get_char() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| PARAM_VALUE | 2 | viewed | 1 |
| DATA_SOURCE | 0 | vc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vc | unit_byte |
| UNITS | 1 | w_offset | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | global &speakup_info.spinlock | ||
| TYPE_LOCK | (struct speakup_info_t)->spinlock |
drivers/tty/vt/vc_screen.c vcs_read_buf() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| PARAM_VALUE | 1 | w_offset | 0-1073741821 |
| DATA_SOURCE | 0 | vc | $0 |
| DATA_SOURCE | 1 | w_offset | $2 [m] |
| DATA_SOURCE | 2 | viewed | $4 |
| USER_DATA | 1 | w_offset | 1-500000126[c] |
| LOCK2 | global &console_sem |
drivers/tty/vt/vc_screen.c vcs_read_buf() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| DATA_SOURCE | 0 | vc | $0 |
| DATA_SOURCE | 1 | w_offset | $2 [m] |
| DATA_SOURCE | 2 | viewed | $4 |
| USER_DATA | 1 | w_offset | 1-1573741947[c] |
| LOCK2 | global &console_sem |
drivers/tty/vt/vc_screen.c vcs_read_buf_noattr() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| PARAM_VALUE | 1 | w_offset | 0-2147483646 |
| CAPPED_DATA | 1 | w_offset | 1 |
| DATA_SOURCE | 0 | vc | $0 |
| DATA_SOURCE | 1 | w_offset | $2 |
| DATA_SOURCE | 2 | viewed | $4 |
| USER_DATA | 1 | w_offset | 1-1000000256[c] |
| LOCK2 | global &console_sem |
drivers/tty/vt/vc_screen.c vcs_read_buf_noattr() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| DATA_SOURCE | 0 | vc | $0 |
| DATA_SOURCE | 1 | w_offset | $2 |
| DATA_SOURCE | 2 | viewed | $4 |
| USER_DATA | 1 | w_offset | 0-s32max[c] |
| LOCK2 | global &console_sem |
drivers/tty/vt/vc_screen.c vcs_write_buf() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| CAPPED_DATA | 0 | vc | 1 |
| DATA_SOURCE | 0 | vc | $0 |
| DATA_SOURCE | 2 | viewed | $4 |
| USER_DATA | 1 | w_offset | 1-1073741821[c] |
| LOCK2 | global &console_sem |
drivers/tty/vt/vc_screen.c vcs_write_buf() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| PARAM_VALUE | 1 | w_offset | 1-s32max |
| CAPPED_DATA | 0 | vc | 1 |
| DATA_SOURCE | 0 | vc | $0 |
| DATA_SOURCE | 2 | viewed | $4 |
| USER_DATA | 1 | w_offset | 2-1073741821[c] |
| LOCK2 | global &console_sem |
drivers/tty/vt/vc_screen.c vcs_write_buf() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| CAPPED_DATA | 0 | vc | 1 |
| DATA_SOURCE | 0 | vc | $0 |
| DATA_SOURCE | 1 | w_offset | $2 [m] |
| DATA_SOURCE | 2 | viewed | $4 |
| USER_DATA | 1 | w_offset | 1-1073741821[c] |
| LOCK2 | global &console_sem |
drivers/tty/vt/vc_screen.c vcs_write_buf_noattr() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| PARAM_VALUE | 1 | w_offset | 0-2147483646 |
| CAPPED_DATA | 1 | w_offset | 1 |
| DATA_SOURCE | 0 | vc | $0 |
| DATA_SOURCE | 1 | w_offset | $2 |
| DATA_SOURCE | 2 | viewed | $4 |
| USER_DATA | 1 | w_offset | 1-2147483646[c] |
| LOCK2 | global &console_sem |
drivers/tty/vt/vc_screen.c vcs_write_buf_noattr() -> screen_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vc | 4096-ptr_max |
| DATA_SOURCE | 0 | vc | $0 |
| DATA_SOURCE | 1 | w_offset | $2 |
| DATA_SOURCE | 2 | viewed | $4 |
| USER_DATA | 1 | w_offset | 0-s32max[c] |
| LOCK2 | global &console_sem |