Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kernel/cpu/mtrr/generic.c map_add_var() -> add_map_entry()

Type Parameter Key Value
PARAM_VALUE 0 start 4294967296
PARAM_VALUE 1 end 1-u64max
PARAM_VALUE 2 type 6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &mtrr_mutex
HALF_LOCKED2 irq

arch/x86/kernel/cpu/mtrr/generic.c map_add_var() -> add_map_entry()

Type Parameter Key Value
PARAM_VALUE 0 start 0,4096-u64max
PARAM_VALUE 2 type 0-254
DATA_SOURCE 2 type r get_var_mtrr_state
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 start unit_byte
UNITS 1 end unit_byte
HALF_LOCKED2 global &mtrr_mutex
HALF_LOCKED2 irq

arch/x86/kernel/cpu/mtrr/generic.c mtrr_build_map() -> add_map_entry()

Type Parameter Key Value
PARAM_VALUE 0 start 0,65536
PARAM_VALUE 1 end 65536,81920,131072-u64max
CAPPED_DATA 0 start 1
CAPPED_DATA 0 start 1
FUZZY_MAX 0 start 0
PARAM_COMPARE 0 start < $1
PARAM_COMPARE 1 end > $0
PARAM_COMPARE 1 end > $0
BIT_INFO 0 start 0x0,0x10000
BIT_INFO 0 start 0x0,0x10000
NOCHECK_CALL
UNITS 0 start unit_byte
UNITS 1 end unit_byte
LOCK2 irq

arch/x86/kernel/cpu/mtrr/generic.c mtrr_build_map() -> add_map_entry()

Type Parameter Key Value
PARAM_VALUE 0 start 0,65536,81920,131072-u64max
CAPPED_DATA 0 start 1
CAPPED_DATA 0 start 1
FUZZY_MAX 0 start 0
PARAM_COMPARE 0 start < $1
PARAM_COMPARE 1 end > $0
PARAM_COMPARE 1 end > $0
NOCHECK_CALL
UNITS 0 start unit_byte
UNITS 1 end unit_byte
LOCK2 irq