Documented in 1 files:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

kernel/tracepoint.c tracepoint_ptr_deref() -> offset_to_ptr()

Type Parameter Key Value
PARAM_VALUE 0 off 0-18446744073709547519
CAPPED_DATA 0 off 1
DATA_SOURCE 0 off $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &tracepoint_module_list_mutex

kernel/printk/printk.c initcall_from_entry() -> offset_to_ptr()

Type Parameter Key Value
DATA_SOURCE 0 off $0

init/main.c initcall_from_entry() -> offset_to_ptr()

Type Parameter Key Value
PARAM_VALUE 0 off 0-18446744073709551614
CAPPED_DATA 0 off 1
DATA_SOURCE 0 off $0

kernel/module/kallsyms.c kernel_symbol_value() -> offset_to_ptr()

Type Parameter Key Value
PARAM_VALUE 0 off 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &m->lock

drivers/pci/quirks.c pci_do_fixups() -> offset_to_ptr()

Type Parameter Key Value
PARAM_VALUE 0 off 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->dev.mutex

kernel/kallsyms.c kallsyms_sym_address() -> offset_to_ptr()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

kernel/module/main.c kernel_symbol_name() -> offset_to_ptr()

Type Parameter Key Value
PARAM_VALUE 0 off 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &module_mutex

kernel/module/main.c kernel_symbol_namespace() -> offset_to_ptr()

Type Parameter Key Value
PARAM_VALUE 0 off 4096-ptr_max
PARAM_VALUE 0 *off s32min-(-1),1-s32max
TASK_NOT_RUNNING
LOCK2 global &module_mutex

kernel/module/main.c kernel_symbol_value() -> offset_to_ptr()

Type Parameter Key Value
PARAM_VALUE 0 off 1-ptr_max