Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

arch/x86/kernel/fpu/core.c fpregs_assert_state_consistent() -> fpregs_state_valid()

Type Parameter Key Value
PARAM_VALUE 1 cpu 0
DATA_SOURCE 0 fpu r x86_task_fpu
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vcpu->mutex
HALF_LOCKED2 bh
HALF_LOCKED2 irq

arch/x86/kernel/fpu/core.c fpregs_restore_userregs() -> fpregs_state_valid()

Type Parameter Key Value
PARAM_VALUE 1 cpu 0
DATA_SOURCE 0 fpu r x86_task_fpu
DATA_SOURCE 1 cpu r debug_smp_processor_id
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

arch/x86/kernel/fpu/core.c fpu__clear_user_states() -> fpregs_state_valid()

Type Parameter Key Value
PARAM_VALUE 1 cpu 0
DATA_SOURCE 0 fpu $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh

arch/x86/kernel/fpu/xstate.c fpregs_restore_userregs() -> fpregs_state_valid()

Type Parameter Key Value
PARAM_VALUE 1 cpu 0
DATA_SOURCE 0 fpu r x86_task_fpu
DATA_SOURCE 1 cpu r debug_smp_processor_id
PREEMPT_ADD
LOCK2 bh
HALF_LOCKED2 &vcpu->mutex

arch/x86/kernel/fpu/signal.c fpregs_restore_userregs() -> fpregs_state_valid()

Type Parameter Key Value
PARAM_VALUE 1 cpu 0
DATA_SOURCE 0 fpu r x86_task_fpu
DATA_SOURCE 1 cpu r debug_smp_processor_id
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh