Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/include/asm/trace/
Dmpx.h47 TP_PROTO(const struct mpx_bndcsr *bndcsr),
48 TP_ARGS(bndcsr),
57 __entry->bndcfgu = (u64)bndcsr->bndcfgu;
58 __entry->bndstatus = (u64)bndcsr->bndstatus;
120 void trace_bounds_exception_mpx(const struct mpx_bndcsr *bndcsr) in trace_bounds_exception_mpx() argument
/linux-4.4.14/arch/x86/mm/
Dmpx.c310 const struct mpx_bndcsr *bndcsr; in mpx_get_bounds_dir() local
319 bndcsr = get_xsave_field_ptr(XFEATURE_MASK_BNDCSR); in mpx_get_bounds_dir()
320 if (!bndcsr) in mpx_get_bounds_dir()
327 if (!(bndcsr->bndcfgu & MPX_BNDCFG_ENABLE_FLAG)) in mpx_get_bounds_dir()
335 (bndcsr->bndcfgu & MPX_BNDCFG_ADDR_MASK); in mpx_get_bounds_dir()
493 const struct mpx_bndcsr *bndcsr; in do_mpx_bt_fault() local
496 bndcsr = get_xsave_field_ptr(XFEATURE_MASK_BNDCSR); in do_mpx_bt_fault()
497 if (!bndcsr) in do_mpx_bt_fault()
502 bd_base = bndcsr->bndcfgu & MPX_BNDCFG_ADDR_MASK; in do_mpx_bt_fault()
507 bd_entry = bndcsr->bndstatus & MPX_BNDSTA_ADDR_MASK; in do_mpx_bt_fault()
/linux-4.4.14/arch/x86/kernel/
Dtraps.c364 const struct mpx_bndcsr *bndcsr; in do_bounds() local
387 bndcsr = get_xsave_field_ptr(XFEATURE_MASK_BNDCSR); in do_bounds()
388 if (!bndcsr) in do_bounds()
391 trace_bounds_exception_mpx(bndcsr); in do_bounds()
397 switch (bndcsr->bndstatus & MPX_BNDSTA_ERROR_CODE) { in do_bounds()
/linux-4.4.14/arch/x86/include/asm/fpu/
Dtypes.h183 struct mpx_bndcsr bndcsr; member