Lines Matching defs:mm
26 static inline unsigned long mpx_bd_size_bytes(struct mm_struct *mm) in mpx_bd_size_bytes()
34 static inline unsigned long mpx_bt_size_bytes(struct mm_struct *mm) in mpx_bt_size_bytes()
48 struct mm_struct *mm = current->mm; in mpx_mmap() local
227 struct mm_struct *mm = current->mm; in mpx_enable_management() local
262 struct mm_struct *mm = current->mm; in mpx_disable_management() local
273 static int mpx_cmpxchg_bd_entry(struct mm_struct *mm, in mpx_cmpxchg_bd_entry()
307 static int allocate_bt(struct mm_struct *mm, long __user *bd_entry) in allocate_bt()
389 struct mm_struct *mm = current->mm; in do_mpx_bt_fault() local
451 static unsigned long mpx_bd_entry_to_bt_addr(struct mm_struct *mm, in mpx_bd_entry_to_bt_addr()
479 static int get_user_bd_entry(struct mm_struct *mm, unsigned long *bd_entry_ret, in get_user_bd_entry()
501 static int get_bt_addr(struct mm_struct *mm, in get_bt_addr()
556 static inline int bt_entry_size_bytes(struct mm_struct *mm) in bt_entry_size_bytes()
569 static unsigned long mpx_get_bt_entry_offset_bytes(struct mm_struct *mm, in mpx_get_bt_entry_offset_bytes()
610 static inline unsigned long bd_entry_virt_space(struct mm_struct *mm) in bd_entry_virt_space()
635 static noinline int zap_bt_entries_mapping(struct mm_struct *mm, in zap_bt_entries_mapping()
695 static unsigned long mpx_get_bd_entry_offset(struct mm_struct *mm, in mpx_get_bd_entry_offset()
732 static int unmap_entire_bt(struct mm_struct *mm, in unmap_entire_bt()
786 static int try_unmap_single_bt(struct mm_struct *mm, in try_unmap_single_bt()
860 static int mpx_unmap_tables(struct mm_struct *mm, in mpx_unmap_tables()
896 void mpx_notify_unmap(struct mm_struct *mm, struct vm_area_struct *vma, in mpx_notify_unmap()