Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/fpu/
A Dsignal.c115 static inline void save_sw_bytes(struct _fpx_sw_bytes *sw_bytes, bool ia32_frame, in save_sw_bytes() argument
118 sw_bytes->magic1 = FP_XSTATE_MAGIC1; in save_sw_bytes()
119 sw_bytes->extended_size = fpstate->user_size + FP_XSTATE_MAGIC2_SIZE; in save_sw_bytes()
120 sw_bytes->xfeatures = fpstate->user_xfeatures; in save_sw_bytes()
121 sw_bytes->xstate_size = fpstate->user_size; in save_sw_bytes()
124 sw_bytes->extended_size += sizeof(struct fregs_state); in save_sw_bytes()
131 struct _fpx_sw_bytes sw_bytes = {}; in save_xstate_epilog() local
136 save_sw_bytes(&sw_bytes, ia32_frame, fpstate); in save_xstate_epilog()
137 err = __copy_to_user(&x->i387.sw_reserved, &sw_bytes, sizeof(sw_bytes)); in save_xstate_epilog()
/linux/tools/testing/selftests/x86/
A Damx.c230 struct _fpx_sw_bytes *sw_bytes; in handle_noperm() local
244 sw_bytes = get_fpx_sw_bytes(xbuf); in handle_noperm()
254 if (sw_bytes->xstate_size <= xtiledata.xbuf_offset) { in handle_noperm()
/linux/drivers/gpu/drm/amd/display/dc/dml/
A Ddml1_display_rq_dlg_calc.c1088 unsigned int sw_bytes; in dml1_rq_dlg_get_dlg_params() local
1382 sw_bytes = 0; in dml1_rq_dlg_get_dlg_params()
1395 sw_bytes = sw_bytes_ub_l + sw_bytes_ub_c; in dml1_rq_dlg_get_dlg_params()
1397 sw_bytes = sw_bytes_ub_l; in dml1_rq_dlg_get_dlg_params()
1401 DTRACE("DLG: %s: sw_bytes = %d", __func__, sw_bytes); in dml1_rq_dlg_get_dlg_params()
1406 prefetch_bw = (vm_bytes + 2 * dpte_row_bytes + 2 * meta_row_bytes + sw_bytes) / t_pre_us; in dml1_rq_dlg_get_dlg_params()

Completed in 134 milliseconds