Home
last modified time | relevance | path

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

/linux-6.6.21/arch/arm64/mm/
Dfault.c502 unsigned int mm_flags, unsigned long vm_flags, in __do_page_fault() argument
513 return handle_mm_fault(vma, addr, mm_flags, regs); in __do_page_fault()
537 unsigned int mm_flags = FAULT_FLAG_DEFAULT; in do_page_fault() local
552 mm_flags |= FAULT_FLAG_USER; in do_page_fault()
563 mm_flags |= FAULT_FLAG_INSTRUCTION; in do_page_fault()
567 mm_flags |= FAULT_FLAG_WRITE; in do_page_fault()
590 if (!(mm_flags & FAULT_FLAG_USER)) in do_page_fault()
601 fault = handle_mm_fault(vma, addr, mm_flags | FAULT_FLAG_VMA_LOCK, regs); in do_page_fault()
626 fault = __do_page_fault(mm, vma, addr, mm_flags, vm_flags, regs); in do_page_fault()
640 mm_flags |= FAULT_FLAG_TRIED; in do_page_fault()
/linux-6.6.21/include/linux/sched/
Dcoredump.h24 static inline int __get_dumpable(unsigned long mm_flags) in __get_dumpable() argument
26 return mm_flags & MMF_DUMPABLE_MASK; in __get_dumpable()
/linux-6.6.21/fs/
Dcoredump.c293 __get_dumpable(cprm->mm_flags)); in format_corename()
543 .mm_flags = mm->flags, in do_coredump()
553 if (!__get_dumpable(cprm.mm_flags)) in do_coredump()
565 if (__get_dumpable(cprm.mm_flags) == SUID_DUMP_ROOT) { in do_coredump()
1032 unsigned long mm_flags) in vma_dump_size() argument
1034 #define FILTER(type) (mm_flags & (1UL << MMF_DUMP_##type)) in vma_dump_size()
1176 m->dump_size = vma_dump_size(vma, cprm->mm_flags); in dump_vma_snapshot()
/linux-6.6.21/include/linux/
Dcoredump.h23 unsigned long mm_flags; member
/linux-6.6.21/mm/
Dgup.c496 static inline void mm_set_has_pinned_flag(unsigned long *mm_flags) in mm_set_has_pinned_flag() argument
498 if (!test_bit(MMF_HAS_PINNED, mm_flags)) in mm_set_has_pinned_flag()
499 set_bit(MMF_HAS_PINNED, mm_flags); in mm_set_has_pinned_flag()