Lines Matching defs:buffer
154 * ebx: XTILEDATA state component offset in user buffer
164 /* The helpers for managing XSAVE buffer and tile states: */
170 /* XSAVE buffer should be 64B-aligned. */
177 static inline void clear_xstate_header(struct xsave_buffer *buffer)
179 memset(&buffer->header, 0, sizeof(buffer->header));
182 static inline uint64_t get_xstatebv(struct xsave_buffer *buffer)
185 return *(uint64_t *)&buffer->header;
188 static inline void set_xstatebv(struct xsave_buffer *buffer, uint64_t bv)
191 *(uint64_t *)(&buffer->header) = bv;
231 static inline struct _fpx_sw_bytes *get_fpx_sw_bytes(void *buffer)
233 return (struct _fpx_sw_bytes *)(buffer + SW_BYTES_OFFSET);
236 static inline uint64_t get_fpx_sw_bytes_features(void *buffer)
238 return *(uint64_t *)(buffer + SW_BYTES_BV_OFFSET);
264 /* Reset the signal message buffer: */
277 * Without permission, the signal XSAVE buffer should not
283 * XTILEDATA (features >=19) can be present in the buffer.
317 * Reset the buffer to make sure any future printing
608 fatal_error("failed to allocate XSAVE buffer\n");
706 fatal_error("unable to allocate XSAVE buffer");
839 * Make sure the ptracee has the expanded kernel buffer on the first
862 fatal_error("unable to allocate XSAVE buffer");