Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dbpf_mod_race.c118 struct uffd_msg uffd_msg; in test_bpf_mod_race_config() local
165 if (!ASSERT_EQ(read(uffd, &uffd_msg, sizeof(uffd_msg)), sizeof(uffd_msg), in test_bpf_mod_race_config()
168 if (!ASSERT_EQ(uffd_msg.event, UFFD_EVENT_PAGEFAULT, "read uffd event is pagefault")) in test_bpf_mod_race_config()
/Linux-v6.1/fs/
Duserfaultfd.c92 struct uffd_msg msg;
185 static inline void msg_init(struct uffd_msg *msg) in msg_init()
187 BUILD_BUG_ON(sizeof(struct uffd_msg) != 32); in msg_init()
192 memset(msg, 0, sizeof(struct uffd_msg)); in msg_init()
195 static inline struct uffd_msg userfault_msg(unsigned long address, in userfault_msg()
201 struct uffd_msg msg; in userfault_msg()
993 struct uffd_msg *msg) in resolve_userfault_fork()
1008 struct uffd_msg *msg, struct inode *inode) in userfaultfd_ctx_read()
1177 struct uffd_msg msg; in userfaultfd_read()
/Linux-v6.1/Documentation/admin-guide/mm/
Duserfaultfd.rst177 ``pagefault.flags`` within the ``uffd_msg``, checking for the
185 event out of a struct uffd_msg that you read in the thread from the
302 ``userfaultfd`` context in the ``uffd_msg.fork``.
308 ``UFFD_EVENT_REMAP``. The ``uffd_msg.remap`` will contain the old and
314 be generated upon these calls to madvise(). The ``uffd_msg.remove``
319 get ``UFFD_EVENT_UNMAP`` with ``uffd_msg.remove`` containing start and
/Linux-v6.1/include/uapi/linux/
Duserfaultfd.h95 struct uffd_msg { struct
/Linux-v6.1/tools/testing/selftests/powerpc/tm/
Dtm-signal-pagefault.c85 struct uffd_msg msg; /* Data read from userfaultfd */ in fault_handler_thread()
/Linux-v6.1/tools/testing/selftests/vm/
Duserfaultfd.c724 static int uffd_read_msg(int ufd, struct uffd_msg *msg) in uffd_read_msg()
741 static void uffd_handle_page_fault(struct uffd_msg *msg, in uffd_handle_page_fault()
814 struct uffd_msg msg; in uffd_poll_thread()
874 struct uffd_msg msg; in uffd_read_thread()
/Linux-v6.1/tools/testing/selftests/kvm/
Ddemand_paging_test.c140 struct uffd_msg msg; in uffd_handler_thread_fn()