Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

arch/x86/kernel/fpu/core.c fpregs_lock_and_load() -> fpregs_lock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kernel/fpu/core.c fpu_clone() -> fpregs_lock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kernel/fpu/core.c fpu_reset_fpstate_regs() -> fpregs_lock()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &tsk->signal->exec_update_lock

arch/x86/kernel/fpu/core.c fpu_swap_kvm_fpstate() -> fpregs_lock()

Type Parameter Key Value
PREEMPT_ADD
NOCHECK_CALL
HALF_LOCKED2 &vcpu->mutex

arch/x86/kernel/fpu/core.c fpu_sync_fpstate() -> fpregs_lock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kernel/fpu/core.c fpu_update_guest_xfd() -> fpregs_lock()

Type Parameter Key Value
NOCHECK_CALL

arch/x86/kernel/fpu/core.c kernel_fpu_begin_mask() -> fpregs_lock()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh

arch/x86/kvm/hyperv.c kvm_fpu_get() -> fpregs_lock()

Type Parameter Key Value
NOCHECK_CALL

arch/x86/kernel/fpu/xstate.c fpstate_realloc() -> fpregs_lock()

Type Parameter Key Value
NOCHECK_CALL
HALF_LOCKED2 &vcpu->mutex

arch/x86/kvm/msrs.c kvm_fpu_get() -> fpregs_lock()

Type Parameter Key Value
NOCHECK_CALL

arch/x86/kernel/fpu/signal.c __fpu_restore_sig() -> fpregs_lock()

Type Parameter Key Value
NOCHECK_CALL

arch/x86/kernel/fpu/signal.c __fpu_restore_sig() -> fpregs_lock()

Type Parameter Key Value
NOCHECK_CALL

arch/x86/kernel/fpu/signal.c copy_fpstate_to_sigframe() -> fpregs_lock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kernel/fpu/signal.c restore_fpregs_from_user() -> fpregs_lock()

Type Parameter Key Value
NOCHECK_CALL

arch/x86/kernel/fpu/signal.c save_fsave_header() -> fpregs_lock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kvm/emulate.c kvm_fpu_get() -> fpregs_lock()

Type Parameter Key Value
NOCHECK_CALL