Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Duserfaultfd_k.h88 typedef unsigned int __bitwise uffd_flags_t; typedef
101 #define MFILL_ATOMIC_FLAG(nr) ((__force uffd_flags_t) MFILL_ATOMIC_BIT(nr))
102 #define MFILL_ATOMIC_MODE_MASK ((__force uffd_flags_t) (MFILL_ATOMIC_BIT(0) - 1))
104 static inline bool uffd_flags_mode_is(uffd_flags_t flags, enum mfill_atomic_mode expected) in uffd_flags_mode_is()
106 return (flags & MFILL_ATOMIC_MODE_MASK) == ((__force uffd_flags_t) expected); in uffd_flags_mode_is()
109 static inline uffd_flags_t uffd_flags_set_mode(uffd_flags_t flags, enum mfill_atomic_mode mode) in uffd_flags_set_mode()
112 return flags | ((__force uffd_flags_t) mode); in uffd_flags_set_mode()
121 bool newly_allocated, uffd_flags_t flags);
125 uffd_flags_t flags);
130 unsigned long len, uffd_flags_t flags);
[all …]
H A Dshmem_fs.h200 uffd_flags_t flags,
H A Dhugetlb.h148 uffd_flags_t flags,
407 uffd_flags_t flags, in hugetlb_mfill_atomic_pte()
/linux-6.15/mm/
H A Duserfaultfd.c171 bool newly_allocated, uffd_flags_t flags) in mfill_atomic_install_pte()
241 uffd_flags_t flags, in mfill_atomic_pte_copy()
383 uffd_flags_t flags) in mfill_atomic_pte_continue()
427 uffd_flags_t flags) in mfill_atomic_pte_poison()
494 uffd_flags_t flags) in mfill_atomic_hugetlb()
650 uffd_flags_t flags);
657 uffd_flags_t flags, in mfill_atomic_pte()
701 uffd_flags_t flags) in mfill_atomic()
863 uffd_flags_t flags) in mfill_atomic_copy()
878 unsigned long len, uffd_flags_t flags) in mfill_atomic_continue()
[all …]
H A Dshmem.c3154 uffd_flags_t flags, in shmem_mfill_atomic_pte()
H A Dhugetlb.c6896 uffd_flags_t flags, in hugetlb_mfill_atomic_pte()
/linux-6.15/fs/
H A Duserfaultfd.c1583 uffd_flags_t flags = 0; in userfaultfd_copy()
1748 uffd_flags_t flags = 0; in userfaultfd_continue()