Defined in 1 files as a member:
Defined in 2 files as a function:
- arch/x86/include/asm/gsseg.h, line 55 (as a function)
- arch/x86/include/asm/paravirt.h, line 237 (as a function)
Referenced in 10 files:
- arch/x86/include/asm/gsseg.h, line 48
- arch/x86/include/asm/mmu_context.h, line 200
- arch/x86/include/asm/paravirt.h, line 239
- arch/x86/kernel/paravirt.c, line 124
- arch/x86/kernel/process_64.c
- arch/x86/kernel/signal_32.c, line 74
- arch/x86/kernel/tls.c, line 174
- arch/x86/kvm/vmx/vmx.c, line 1426
- arch/x86/power/cpu.c, line 264
- arch/x86/xen/enlighten_pv.c, line 1373
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 |