Defined in 1 files as a member:

Defined in 2 files as a function:

Referenced in 10 files:

Smatch caller information:

kernel/fork.c mm_release() -> load_gs_index()

Type Parameter Key Value
PARAM_VALUE 0 gs 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kernel/process_64.c loadseg() -> load_gs_index()

Type Parameter Key Value
DATA_SOURCE 0 gs $1
PREEMPT_ADD
RX_PATH
NOCHECK_CALL

arch/x86/kernel/process_64.c start_thread_common() -> load_gs_index()

Type Parameter Key Value
PARAM_VALUE 0 gs 43
NOCHECK_CALL

arch/x86/kernel/process_64.c start_thread_common() -> load_gs_index()

Type Parameter Key Value
PARAM_VALUE 0 gs 0
NOCHECK_CALL

arch/x86/kernel/signal_32.c reload_segments() -> load_gs_index()

Type Parameter Key Value
PARAM_VALUE 0 gs 0-u16max
NOCHECK_CALL
USER_DATA 0 gs 0-3

arch/x86/power/cpu.c __restore_processor_state() -> load_gs_index()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

arch/x86/kvm/vmx/vmx.c vmx_prepare_switch_to_host() -> load_gs_index()

Type Parameter Key Value
NOCHECK_CALL

arch/x86/kernel/tls.c do_set_thread_area() -> load_gs_index()

Type Parameter Key Value
PARAM_VALUE 0 gs 99-115
CAPPED_DATA 0 gs 1
DATA_SOURCE 0 gs r __savesegment_gs
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL