Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 6 files:
- arch/x86/lib/insn-eval.c
- drivers/gpio/gpio-rtd.c
- drivers/gpio/gpio-rtd1625.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h
- drivers/gpu/drm/amd/amdgpu/vpe_v2_0.c, line 331
- drivers/gpu/drm/amd/amdgpu/vpe_v6_1.c, line 378
Smatch caller information:
arch/x86/lib/insn-eval.c get_eff_addr_modrm() -> get_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 3280860769348898816,3929561995604525064,4671128583144820736,6127367958537531392,6747283956112052232,7961320843205591040,8874595658658983936 |
| PARAM_VALUE | 0 | insn->modrm.got | 1-255 |
| PARAM_VALUE | 0 | insn->opcode.got | 1-255 |
| PARAM_VALUE | 0 | insn->sib.nbytes | 0 |
| PARAM_VALUE | 0 | insn->vex_prefix.value | 0 |
| PARAM_VALUE | 0 | insn->x86_64 | 0-1 |
| PARAM_VALUE | 0 | insn->xop_prefix.nbytes | 0 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 1 | regs | (-1),168 |
| BUF_SIZE | 1 | regs | (-1),168 |
| DATA_SOURCE | 0 | insn | $0 |
| DATA_SOURCE | 1 | regs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | insn->displacement.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate1.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate2.value | (-128)-255 |
| USER_DATA | 0 | insn->modrm.value | 0-255 |
| USER_DATA | 0 | insn->moffset1.value | (-128)-255 |
| USER_DATA | 0 | insn->moffset2.value | (-128)-255 |
| USER_DATA | 0 | insn->rex_prefix.value | 0-255 |
| USER_DATA | 0 | insn->sib.value | 0-255 |
arch/x86/lib/insn-eval.c get_eff_addr_reg() -> get_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 3280860769348898816,3929561995604525064,4671128583144820736,6127367958537531392,6747283956112052232,7961320843205591040,8874595658658983936 |
| PARAM_VALUE | 0 | insn->modrm.got | 1-255 |
| PARAM_VALUE | 0 | insn->vex_prefix.value | 0 |
| PARAM_VALUE | 0 | insn->x86_64 | 0-1 |
| PARAM_VALUE | 0 | insn->xop_prefix.nbytes | 0 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 1 | regs | (-1),168 |
| BUF_SIZE | 1 | regs | (-1),168 |
| DATA_SOURCE | 0 | insn | $0 |
| DATA_SOURCE | 1 | regs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | insn->displacement.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate1.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate2.value | (-128)-255 |
| USER_DATA | 0 | insn->modrm.value | 0-255 |
| USER_DATA | 0 | insn->moffset1.value | (-128)-255 |
| USER_DATA | 0 | insn->moffset2.value | (-128)-255 |
| USER_DATA | 0 | insn->rex_prefix.value | 0-255 |
| USER_DATA | 0 | insn->sib.value | 0-255 |
arch/x86/lib/insn-eval.c get_eff_addr_sib() -> get_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 3280860769348898816,3929561995604525064,4671128583144820736,6127367958537531392,6747283956112052232,7961320843205591040,8874595658658983936 |
| PARAM_VALUE | 0 | insn->modrm.got | 1-255 |
| PARAM_VALUE | 0 | insn->sib.got | 1-255 |
| PARAM_VALUE | 0 | insn->sib.nbytes | 1-255 |
| PARAM_VALUE | 0 | insn->vex_prefix.value | 0 |
| PARAM_VALUE | 0 | insn->x86_64 | 0-1 |
| PARAM_VALUE | 0 | insn->xop_prefix.nbytes | 0 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 3 |
| BUF_SIZE | 1 | regs | (-1),168 |
| BUF_SIZE | 1 | regs | (-1),168 |
| DATA_SOURCE | 0 | insn | $0 |
| DATA_SOURCE | 1 | regs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | insn->displacement.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate1.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate2.value | (-128)-255 |
| USER_DATA | 0 | insn->modrm.value | 0-255 |
| USER_DATA | 0 | insn->moffset1.value | (-128)-255 |
| USER_DATA | 0 | insn->moffset2.value | (-128)-255 |
| USER_DATA | 0 | insn->rex_prefix.value | 0-255 |
| USER_DATA | 0 | insn->sib.value | 0-255 |
arch/x86/lib/insn-eval.c get_eff_addr_sib() -> get_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 3280860769348898816,3929561995604525064,4671128583144820736,6127367958537531392,6747283956112052232,7961320843205591040,8874595658658983936 |
| PARAM_VALUE | 0 | insn->modrm.got | 1-255 |
| PARAM_VALUE | 0 | insn->sib.got | 1-255 |
| PARAM_VALUE | 0 | insn->sib.nbytes | 1-255 |
| PARAM_VALUE | 0 | insn->vex_prefix.value | 0 |
| PARAM_VALUE | 0 | insn->x86_64 | 0-1 |
| PARAM_VALUE | 0 | insn->xop_prefix.nbytes | 0 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| BUF_SIZE | 1 | regs | (-1),168 |
| BUF_SIZE | 1 | regs | (-1),168 |
| DATA_SOURCE | 0 | insn | $0 |
| DATA_SOURCE | 1 | regs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | insn->displacement.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate1.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate2.value | (-128)-255 |
| USER_DATA | 0 | insn->modrm.value | 0-255 |
| USER_DATA | 0 | insn->moffset1.value | (-128)-255 |
| USER_DATA | 0 | insn->moffset2.value | (-128)-255 |
| USER_DATA | 0 | insn->rex_prefix.value | 0-255 |
| USER_DATA | 0 | insn->sib.value | 0-255 |
arch/x86/lib/insn-eval.c insn_get_modrm_reg_off() -> get_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 3929561995604525064,6127367958537531392,6747283956112052232,8874595658658983936 |
| PARAM_VALUE | 0 | insn->length | 0-15 |
| PARAM_VALUE | 0 | insn->sib.value | 0-255 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 0 | insn | (-1),112 |
| BUF_SIZE | 0 | insn | (-1),112 |
| BUF_SIZE | 1 | regs | (-1),168 |
| BUF_SIZE | 1 | regs | (-1),168 |
| DATA_SOURCE | 0 | insn | $0 |
| DATA_SOURCE | 1 | regs | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/lib/insn-eval.c insn_get_modrm_rm_off() -> get_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 3280860769348898816,3929561995604525064,4671128583144820736,6127367958537531392,6747283956112052232,7961320843205591040,8874595658658983936 |
| PARAM_VALUE | 0 | insn->immediate.got | 0-1 |
| PARAM_VALUE | 0 | insn->immediate.nbytes | 0-2,4 |
| PARAM_VALUE | 0 | insn->immediate1.got | 0-1 |
| PARAM_VALUE | 0 | insn->immediate1.nbytes | 0,2,4 |
| PARAM_VALUE | 0 | insn->immediate2.got | 0-1 |
| PARAM_VALUE | 0 | insn->immediate2.nbytes | 0-2,4 |
| PARAM_VALUE | 0 | insn->moffset1.got | 0-1 |
| PARAM_VALUE | 0 | insn->moffset1.nbytes | 0,2,4 |
| PARAM_VALUE | 0 | insn->moffset2.got | 0-1 |
| PARAM_VALUE | 0 | insn->moffset2.nbytes | 0,4 |
| PARAM_VALUE | 0 | insn->x86_64 | 0-1 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 1 | regs | (-1),168 |
| BUF_SIZE | 1 | regs | (-1),168 |
| DATA_SOURCE | 0 | insn | $0 |
| DATA_SOURCE | 1 | regs | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | insn->displacement.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate1.value | (-128)-255 |
| USER_DATA | 0 | insn->immediate2.value | (-128)-255 |
| USER_DATA | 0 | insn->modrm.value | 0-255 |
| USER_DATA | 0 | insn->moffset1.value | (-128)-255 |
| USER_DATA | 0 | insn->moffset2.value | (-128)-255 |
| USER_DATA | 0 | insn->rex_prefix.value | 0-255 |
| USER_DATA | 0 | insn->sib.value | 0-255 |