Home
last modified time | relevance | path

Searched refs:pagefault (Results 1 – 25 of 26) sorted by relevance

12

/linux/kernel/trace/rv/monitors/pagefault/
H A Dpagefault.h12 #define MONITOR_NAME pagefault
39 bool pagefault = test_bit(LTL_PAGEFAULT, mon->atoms); in ltl_start() local
40 bool val3 = !pagefault; in ltl_start()
52 bool pagefault = test_bit(LTL_PAGEFAULT, mon->atoms); in ltl_possible_next_states() local
53 bool val3 = !pagefault; in ltl_possible_next_states()
H A DKconfig10 bool "pagefault monitor"
/linux/kernel/trace/rv/
H A DMakefile14 obj-$(CONFIG_RV_MON_PAGEFAULT) += monitors/pagefault/pagefault.o
H A DKconfig64 source "kernel/trace/rv/monitors/pagefault/Kconfig"
/linux/tools/testing/selftests/mm/
H A Duffd-common.c443 if (msg->arg.pagefault.flags & UFFD_PAGEFAULT_FLAG_WP) { in uffd_handle_page_fault()
445 wp_range(uffd, msg->arg.pagefault.address, page_size, false); in uffd_handle_page_fault()
447 } else if (msg->arg.pagefault.flags & UFFD_PAGEFAULT_FLAG_MINOR) { in uffd_handle_page_fault()
464 ((char *)msg->arg.pagefault.address - in uffd_handle_page_fault()
468 continue_range(uffd, msg->arg.pagefault.address, page_size, in uffd_handle_page_fault()
493 if (msg->arg.pagefault.flags & UFFD_PAGEFAULT_FLAG_WRITE) in uffd_handle_page_fault()
496 offset = (char *)(unsigned long)msg->arg.pagefault.address - area_dst; in uffd_handle_page_fault()
H A Duffd-unit-tests.c1016 if (msg->arg.pagefault.flags & in uffd_poison_handle_fault()
1018 err("unexpected fault type %llu", msg->arg.pagefault.flags); in uffd_poison_handle_fault()
1020 offset = (char *)(unsigned long)msg->arg.pagefault.address - area_dst; in uffd_poison_handle_fault()
1105 if (msg->arg.pagefault.flags & in uffd_move_handle_fault_common()
1107 err("unexpected fault type %llu", msg->arg.pagefault.flags);
1109 offset = (char *)(unsigned long)msg->arg.pagefault.address - area_dst; in uffd_move_handle_fault()
/linux/tools/testing/selftests/powerpc/tm/
H A DMakefile8 tm-signal-context-force-tm tm-poison tm-signal-pagefault
28 $(OUTPUT)/tm-signal-pagefault: CFLAGS += -pthread -m64
H A D.gitignore17 tm-signal-pagefault
H A Dtm-signal-pagefault.c122 uffdio_copy.dst = msg.arg.pagefault.address & ~(pagesize-1); in fault_handler_thread()
/linux/Documentation/trace/rv/
H A Dmonitor_synthesis.rst71 $ rvgen monitor -c ltl -s pagefault.ltl -t per_task
73 This generates pagefault/ directory with:
75 - pagefault.h: The Buchi automaton (the non-deterministic state machine to
77 - pagefault.c: The skeleton for the RV monitor
158 to be complete. For example, for the `pagefault` monitor, the `pagefault.c`
161 #include "pagefault.h"
166 `$(MODEL_NAME).h` (`pagefault.h` in the above example) includes the
H A Dmonitor_rtapp.rst29 Monitor pagefault
32 The `pagefault` monitor reports real-time tasks raising page faults. Its
/linux/Documentation/fb/
H A Ddeferred_io.rst6 buffer and the MMU pagefault as a pretrigger for when to perform the device
13 - we get pagefault and reach fault handler
23 - get pagefault and the above sequence occurs again
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_pagefault.c27 struct pagefault { struct
185 static int handle_pagefault(struct xe_gt *gt, struct pagefault *pf) in handle_pagefault()
246 static void print_pagefault(struct xe_gt *gt, struct pagefault *pf) in print_pagefault()
266 static bool get_pagefault(struct pf_queue *pf_queue, struct pagefault *pf) in get_pagefault()
351 struct pagefault pf = {}; in pf_queue_work_func()
/linux/drivers/gpu/drm/ci/xfails/
H A Dpanfrost-rk3399-flakes.txt6 panfrost/panfrost_submit@pan-unhandled-pagefault
/linux/Documentation/gpu/rfc/
H A Di915_gem_lmem.rst17 * Use TTM CPU pagefault handler
/linux/include/uapi/linux/
H A Duserfaultfd.h122 } pagefault; member
/linux/kernel/bpf/
H A Dhelpers.c3370 guard(pagefault)(); in bpf_strcmp() local
3410 guard(pagefault)(); in bpf_strnchr() local
3464 guard(pagefault)(); in bpf_strchrnul() local
3496 guard(pagefault)(); in bpf_strrchr() local
3529 guard(pagefault)(); in bpf_strnlen() local
3579 guard(pagefault)(); in bpf_strspn() local
3623 guard(pagefault)(); in bpf_strcspn() local
3668 guard(pagefault)(); in bpf_strnstr() local
/linux/tools/testing/selftests/kvm/
H A Ddemand_paging_test.c61 uint64_t addr = msg->arg.pagefault.address; in handle_uffd_page_request()
/linux/include/linux/
H A Duaccess.h299 DEFINE_LOCK_GUARD_0(pagefault, pagefault_disable(), pagefault_enable()) in DEFINE_LOCK_GUARD_0() argument
/linux/tools/testing/selftests/kvm/arm64/
H A Dpage_fault_test.c312 uint64_t addr = msg->arg.pagefault.address; in uffd_generic_handler()
313 uint64_t flags = msg->arg.pagefault.flags; in uffd_generic_handler()
/linux/drivers/gpu/drm/i915/
H A DKconfig.profile32 userspace GGTT mmaps and force userspace to take a pagefault on
/linux/Documentation/admin-guide/mm/
H A Duserfaultfd.rst178 ``pagefault.flags`` within the ``uffd_msg``, checking for the
209 ``msg.arg.pagefault.flags & UFFD_PAGEFAULT_FLAG_WP`` set. Now you send
211 again while ``pagefault.mode`` does not have ``UFFDIO_WRITEPROTECT_MODE_WP``
/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c471 req.dst = msg.arg.pagefault.address; in uffd_thread()
/linux/tools/perf/Documentation/
H A Dperf-trace.txt288 As you can see, there was major pagefault in python process, from
/linux/Documentation/filesystems/
H A Dfuse.rst390 but is caused by a pagefault. ::

12