Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/mm/
Dmpx.c299 unsigned long bt_addr; in allocate_bt() local
307 bt_addr = mpx_mmap(mpx_bt_size_bytes(mm)); in allocate_bt()
308 if (IS_ERR((void *)bt_addr)) in allocate_bt()
309 return PTR_ERR((void *)bt_addr); in allocate_bt()
313 bd_new_entry = bt_addr | MPX_BD_ENTRY_VALID_FLAG; in allocate_bt()
355 trace_mpx_new_bounds_table(bt_addr); in allocate_bt()
358 vm_munmap(bt_addr, mpx_bt_size_bytes(mm)); in allocate_bt()
442 unsigned long bt_addr = bd_entry; in mpx_bd_entry_to_bt_addr() local
447 bt_addr &= ~MPX_BD_ENTRY_VALID_FLAG; in mpx_bd_entry_to_bt_addr()
458 bt_addr &= ~(align_to_bytes-1); in mpx_bd_entry_to_bt_addr()
[all …]