Home
last modified time | relevance | path

Searched refs:extctx (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/linux-user/loongarch64/
H A Dsignal.c108 static abi_ptr extframe_alloc(struct extctx_layout *extctx, in extframe_alloc() argument
121 extctx->size += size; in extframe_alloc()
127 struct extctx_layout *extctx, abi_ptr sp) in setup_extcontext() argument
129 memset(extctx, 0, sizeof(struct extctx_layout)); in setup_extcontext()
132 sp = extframe_alloc(extctx, &extctx->end, 0, CONTEXT_INFO_ALIGN, sp); in setup_extcontext()
135 extctx->flags = SC_USED_FP; in setup_extcontext()
138 sp = extframe_alloc(extctx, &extctx->lasx, in setup_extcontext()
141 sp = extframe_alloc(extctx, &extctx->lsx, in setup_extcontext()
144 sp = extframe_alloc(extctx, &extctx->fpu, in setup_extcontext()
153 struct extctx_layout *extctx) in setup_sigframe() argument
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dsignal.c391 static int protected_save_fpu_context(struct extctx_layout *extctx) in protected_save_fpu_context() argument
394 struct sctx_info __user *info = extctx->fpu.addr; in protected_save_fpu_context()
409 err |= __put_user(extctx->fpu.size, &info->size); in protected_save_fpu_context()
425 static int protected_restore_fpu_context(struct extctx_layout *extctx) in protected_restore_fpu_context() argument
428 struct sctx_info __user *info = extctx->fpu.addr; in protected_restore_fpu_context()
460 static int protected_save_lsx_context(struct extctx_layout *extctx) in protected_save_lsx_context() argument
463 struct sctx_info __user *info = extctx->lsx.addr; in protected_save_lsx_context()
481 err |= __put_user(extctx->lsx.size, &info->size); in protected_save_lsx_context()
497 static int protected_restore_lsx_context(struct extctx_layout *extctx) in protected_restore_lsx_context() argument
500 struct sctx_info __user *info = extctx->lsx.addr; in protected_restore_lsx_context()
[all …]