Searched refs:uffd_msg (Results 1 – 13 of 13) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_mod_race.c | 94 struct uffd_msg uffd_msg; in test_bpf_mod_race_config() local 141 if (!ASSERT_EQ(read(uffd, &uffd_msg, sizeof(uffd_msg)), sizeof(uffd_msg), in test_bpf_mod_race_config() 144 if (!ASSERT_EQ(uffd_msg.event, UFFD_EVENT_PAGEFAULT, "read uffd event is pagefault")) in test_bpf_mod_race_config()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | uffd-common.h | 83 struct uffd_msg *msg, 120 int uffd_read_msg(uffd_global_test_opts_t *gopts, struct uffd_msg *msg); 123 struct uffd_msg *msg,
|
| H A D | uffd-unit-tests.c | 220 struct uffd_msg msg = { 0 }; in fork_event_consumer() 994 struct uffd_msg *msg, in uffd_poison_handle_fault() 1086 struct uffd_msg *msg, in uffd_move_handle_fault_common() 1106 static void uffd_move_handle_fault(uffd_global_test_opts_t *gopts, struct uffd_msg *msg, in uffd_move_handle_fault() 1112 static void uffd_move_pmd_handle_fault(uffd_global_test_opts_t *gopts, struct uffd_msg *msg, in uffd_move_pmd_handle_fault() 1123 struct uffd_msg *msg, struct uffd_args *args) in uffd_move_test_common() 1360 struct uffd_msg msg = { 0 }; in uffd_consume_message()
|
| H A D | uffd-common.c | 443 int uffd_read_msg(uffd_global_test_opts_t *gopts, struct uffd_msg *msg) in uffd_read_msg() 460 void uffd_handle_page_fault(uffd_global_test_opts_t *gopts, struct uffd_msg *msg, in uffd_handle_page_fault() 535 struct uffd_msg msg; in uffd_poll_thread()
|
| H A D | uffd-stress.c | 145 struct uffd_msg msg; in uffd_read_thread()
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | userfaultfd_util.h | 15 typedef int (*uffd_handler_t)(int uffd_mode, int uffd, struct uffd_msg *msg);
|
| /linux/fs/ |
| H A D | userfaultfd.c | 68 struct uffd_msg msg; 181 static inline void msg_init(struct uffd_msg *msg) in msg_init() 183 BUILD_BUG_ON(sizeof(struct uffd_msg) != 32); in msg_init() 188 memset(msg, 0, sizeof(struct uffd_msg)); in msg_init() 191 static inline struct uffd_msg userfault_msg(unsigned long address, in userfault_msg() 197 struct uffd_msg msg; in userfault_msg() 978 struct uffd_msg *msg) in resolve_userfault_fork() 993 struct uffd_msg *msg, struct inode *inode) in userfaultfd_ctx_read() 1162 struct uffd_msg msg; in userfaultfd_read_iter()
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | page_fault_test.c | 309 static int uffd_generic_handler(int uffd_mode, int uffd, struct uffd_msg *msg, in uffd_generic_handler() 342 static int uffd_pt_handler(int mode, int uffd, struct uffd_msg *msg) in uffd_pt_handler() 347 static int uffd_data_handler(int mode, int uffd, struct uffd_msg *msg) in uffd_data_handler() 399 static int uffd_no_handler(int mode, int uffd, struct uffd_msg *msg) in uffd_no_handler()
|
| /linux/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-signal-pagefault.c | 85 struct uffd_msg msg; /* Data read from userfaultfd */ in fault_handler_thread()
|
| /linux/include/uapi/linux/ |
| H A D | userfaultfd.h | 108 struct uffd_msg { struct
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | userfaultfd.rst | 178 ``pagefault.flags`` within the ``uffd_msg``, checking for the 186 event out of a struct uffd_msg that you read in the thread from the 378 ``userfaultfd`` context in the ``uffd_msg.fork``. 384 ``UFFD_EVENT_REMAP``. The ``uffd_msg.remap`` will contain the old and 390 be generated upon these calls to madvise(). The ``uffd_msg.remove`` 395 get ``UFFD_EVENT_UNMAP`` with ``uffd_msg.remove`` containing start and
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | demand_paging_test.c | 58 struct uffd_msg *msg) in handle_uffd_page_request()
|
| /linux/tools/testing/selftests/x86/ |
| H A D | test_shadow_stack.c | 459 struct uffd_msg msg; in uffd_thread()
|