Lines Matching refs:xbuf
78 static inline void xsave(struct xsave_buffer *xbuf, uint64_t rfbm) in xsave() argument
84 : : "D" (xbuf), "a" (rfbm_lo), "d" (rfbm_hi) in xsave()
88 static inline void xrstor(struct xsave_buffer *xbuf, uint64_t rfbm) in xrstor() argument
94 : : "D" (xbuf), "a" (rfbm_lo), "d" (rfbm_hi)); in xrstor()
152 static inline void clear_xstate_header(struct xsave_buffer *xbuf) in clear_xstate_header() argument
154 memset(&xbuf->header, 0, sizeof(xbuf->header)); in clear_xstate_header()
157 static inline void set_xstatebv(struct xsave_buffer *xbuf, uint64_t bv) in set_xstatebv() argument
160 *(uint64_t *)(&xbuf->header) = bv; in set_xstatebv()
168 static inline struct _fpx_sw_bytes *get_fpx_sw_bytes(void *xbuf) in get_fpx_sw_bytes() argument
170 return xbuf + SW_BYTES_OFFSET; in get_fpx_sw_bytes()
178 static inline void set_rand_data(struct xstate_info *xstate, struct xsave_buffer *xbuf) in set_rand_data() argument
180 int *ptr = (int *)&xbuf->bytes[xstate->xbuf_offset]; in set_rand_data()