Home
last modified time | relevance | path

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

/arch/x86/include/asm/trace/
Dmpx.h48 TP_PROTO(const struct mpx_bndcsr *bndcsr),
49 TP_ARGS(bndcsr),
58 __entry->bndcfgu = (u64)bndcsr->bndcfgu;
59 __entry->bndstatus = (u64)bndcsr->bndstatus;
121 void trace_bounds_exception_mpx(const struct mpx_bndcsr *bndcsr) in trace_bounds_exception_mpx() argument
/arch/x86/mm/
Dmpx.c184 const struct mpx_bndcsr *bndcsr; in mpx_get_bounds_dir() local
193 bndcsr = get_xsave_field_ptr(XFEATURE_BNDCSR); in mpx_get_bounds_dir()
194 if (!bndcsr) in mpx_get_bounds_dir()
201 if (!(bndcsr->bndcfgu & MPX_BNDCFG_ENABLE_FLAG)) in mpx_get_bounds_dir()
209 (bndcsr->bndcfgu & MPX_BNDCFG_ADDR_MASK); in mpx_get_bounds_dir()
376 const struct mpx_bndcsr *bndcsr; in do_mpx_bt_fault() local
379 bndcsr = get_xsave_field_ptr(XFEATURE_BNDCSR); in do_mpx_bt_fault()
380 if (!bndcsr) in do_mpx_bt_fault()
385 bd_base = bndcsr->bndcfgu & MPX_BNDCFG_ADDR_MASK; in do_mpx_bt_fault()
390 bd_entry = bndcsr->bndstatus & MPX_BNDSTA_ADDR_MASK; in do_mpx_bt_fault()
/arch/x86/kernel/
Dtraps.c433 const struct mpx_bndcsr *bndcsr; in do_bounds() local
455 bndcsr = get_xsave_field_ptr(XFEATURE_BNDCSR); in do_bounds()
456 if (!bndcsr) in do_bounds()
459 trace_bounds_exception_mpx(bndcsr); in do_bounds()
465 switch (bndcsr->bndstatus & MPX_BNDSTA_ERROR_CODE) { in do_bounds()
/arch/x86/include/asm/fpu/
Dtypes.h191 struct mpx_bndcsr bndcsr; member