Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

arch/x86/kernel/alternative.c __apply_relocation() -> insn_offset_immediate()

Type Parameter Key Value
PARAM_VALUE 0 insn 3904299021120065536
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/uprobes.c branch_clear_offset() -> insn_offset_immediate()

Type Parameter Key Value
PARAM_VALUE 0 insn 2693768499051995136
PARAM_VALUE 0 insn->displacement.nbytes 0-2,4
PARAM_VALUE 0 insn->sib.nbytes 0-1
DATA_SOURCE 0 insn $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &uprobe->consumer_rwsem
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &uprobe->register_rwsem
TYPE_LOCK (struct uprobe)->consumer_rwsem

arch/x86/kernel/uprobes.c branch_clear_offset() -> insn_offset_immediate()

Type Parameter Key Value
PARAM_VALUE 0 insn 2693768499051995136
PARAM_VALUE 0 insn->displacement.nbytes 0-2,4
PARAM_VALUE 0 insn->sib.nbytes 0-1
DATA_SOURCE 0 insn $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &uprobe->consumer_rwsem
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &uprobe->register_rwsem
TYPE_LOCK (struct uprobe)->consumer_rwsem

arch/x86/kernel/uprobes.c branch_clear_offset() -> insn_offset_immediate()

Type Parameter Key Value
PARAM_VALUE 0 insn 2693768499051995136
PARAM_VALUE 0 insn->displacement.nbytes 0-2,4
PARAM_VALUE 0 insn->sib.nbytes 0-1
DATA_SOURCE 0 insn $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &uprobe->consumer_rwsem
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &uprobe->register_rwsem
TYPE_LOCK (struct uprobe)->consumer_rwsem