Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/mm/
Dmpx.c311 unsigned long bt_addr; in allocate_bt() local
319 bt_addr = mpx_mmap(mpx_bt_size_bytes(mm)); in allocate_bt()
320 if (IS_ERR((void *)bt_addr)) in allocate_bt()
321 return PTR_ERR((void *)bt_addr); in allocate_bt()
325 bd_new_entry = bt_addr | MPX_BD_ENTRY_VALID_FLAG; in allocate_bt()
367 trace_mpx_new_bounds_table(bt_addr); in allocate_bt()
370 vm_munmap(bt_addr, mpx_bt_size_bytes(mm)); in allocate_bt()
454 unsigned long bt_addr = bd_entry; in mpx_bd_entry_to_bt_addr() local
459 bt_addr &= ~MPX_BD_ENTRY_VALID_FLAG; in mpx_bd_entry_to_bt_addr()
470 bt_addr &= ~(align_to_bytes-1); in mpx_bd_entry_to_bt_addr()
[all …]