Home
last modified time | relevance | path

Searched refs:sw_bytes (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/arch/x86/kernel/fpu/
H A Dsignal.c100 static inline void save_sw_bytes(struct _fpx_sw_bytes *sw_bytes, bool ia32_frame, in save_sw_bytes() argument
103 sw_bytes->magic1 = FP_XSTATE_MAGIC1; in save_sw_bytes()
104 sw_bytes->extended_size = fpstate->user_size + FP_XSTATE_MAGIC2_SIZE; in save_sw_bytes()
105 sw_bytes->xfeatures = fpstate->user_xfeatures; in save_sw_bytes()
106 sw_bytes->xstate_size = fpstate->user_size; in save_sw_bytes()
109 sw_bytes->extended_size += sizeof(struct fregs_state); in save_sw_bytes()
116 struct _fpx_sw_bytes sw_bytes = {}; in save_xstate_epilog() local
121 save_sw_bytes(&sw_bytes, ia32_frame, fpstate); in save_xstate_epilog()
122 err = __copy_to_user(&x->i387.sw_reserved, &sw_bytes, sizeof(sw_bytes)); in save_xstate_epilog()
/linux-6.15/tools/testing/selftests/x86/
H A Dxstate.c374 struct _fpx_sw_bytes *sw_bytes; in validate_sigfpstate() local
380 sw_bytes = get_fpx_sw_bytes(xbuf); in validate_sigfpstate()
381 if (sw_bytes->magic1 == FP_XSTATE_MAGIC1) in validate_sigfpstate()
401 magic2 = *(uint32_t *)(xbuf + sw_bytes->xstate_size); in validate_sigfpstate()
H A Damx.c72 struct _fpx_sw_bytes *sw_bytes; in handle_noperm() local
86 sw_bytes = get_fpx_sw_bytes(xbuf); in handle_noperm()
96 if (sw_bytes->xstate_size <= xtiledata.xbuf_offset) { in handle_noperm()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml1_display_rq_dlg_calc.c1087 unsigned int sw_bytes; in dml1_rq_dlg_get_dlg_params() local
1381 sw_bytes = 0; in dml1_rq_dlg_get_dlg_params()
1394 sw_bytes = sw_bytes_ub_l + sw_bytes_ub_c; in dml1_rq_dlg_get_dlg_params()
1396 sw_bytes = sw_bytes_ub_l; in dml1_rq_dlg_get_dlg_params()
1400 DTRACE("DLG: %s: sw_bytes = %d", __func__, sw_bytes); in dml1_rq_dlg_get_dlg_params()
1405 prefetch_bw = (vm_bytes + 2 * dpte_row_bytes + 2 * meta_row_bytes + sw_bytes) / t_pre_us; in dml1_rq_dlg_get_dlg_params()