Home
last modified time | relevance | path

Searched defs:gopts (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Duffd-common.c16 pthread_mutex_t *area_mutex(char *area, unsigned long nr, uffd_global_test_opts_t *gopts) in area_mutex()
26 uffd_global_test_opts_t *gopts) in area_count()
54 static void anon_release_pages(uffd_global_test_opts_t *gopts, char *rel_area) in anon_release_pages()
60 static int anon_allocate_area(uffd_global_test_opts_t *gopts, void **alloc_area, bool is_src) in anon_allocate_area()
71 static void noop_alias_mapping(uffd_global_test_opts_t *gopts, __u64 *start, in noop_alias_mapping()
76 static void hugetlb_release_pages(uffd_global_test_opts_t *gopts, char *rel_area) in hugetlb_release_pages()
87 static int hugetlb_allocate_area(uffd_global_test_opts_t *gopts, void **alloc_area, bool is_src) in hugetlb_allocate_area()
123 static void hugetlb_alias_mapping(uffd_global_test_opts_t *gopts, __u64 *start, in hugetlb_alias_mapping()
132 static void shmem_release_pages(uffd_global_test_opts_t *gopts, char *rel_area) in shmem_release_pages()
138 static int shmem_allocate_area(uffd_global_test_opts_t *gopts, void **alloc_area, bool is_src) in shmem_allocate_area()
[all …]
H A Duffd-unit-tests.c213 uffd_global_test_opts_t *gopts; member
281 static int pagemap_test_fork(uffd_global_test_opts_t *gopts, bool with_event, bool test_pin) in pagemap_test_fork()
338 static void uffd_wp_unpopulated_test(uffd_global_test_opts_t *gopts, uffd_test_args_t *args) in uffd_wp_unpopulated_test()
384 static void uffd_wp_fork_test_common(uffd_global_test_opts_t *gopts, uffd_test_args_t *args, in uffd_wp_fork_test_common()
454 static void uffd_wp_fork_test(uffd_global_test_opts_t *gopts, uffd_test_args_t *args) in uffd_wp_fork_test()
459 static void uffd_wp_fork_with_event_test(uffd_global_test_opts_t *gopts, uffd_test_args_t *args) in uffd_wp_fork_with_event_test()
464 static void uffd_wp_fork_pin_test_common(uffd_global_test_opts_t *gopts, in uffd_wp_fork_pin_test_common()
517 static void uffd_wp_fork_pin_test(uffd_global_test_opts_t *gopts, uffd_test_args_t *args) in uffd_wp_fork_pin_test()
522 static void uffd_wp_fork_pin_with_event_test(uffd_global_test_opts_t *gopts, uffd_test_args_t *args) in uffd_wp_fork_pin_with_event_test()
527 static void check_memory_contents(uffd_global_test_opts_t *gopts, char *p) in check_memory_contents()
[all …]
H A Duffd-stress.c52 static uffd_global_test_opts_t *gopts; variable
85 static void uffd_stats_reset(uffd_global_test_opts_t *gopts, struct uffd_args *args, in uffd_stats_reset()
103 uffd_global_test_opts_t *gopts = args->gopts; in locking_thread() local
134 static int copy_page_retry(uffd_global_test_opts_t *gopts, unsigned long offset) in copy_page_retry()
144 uffd_global_test_opts_t *gopts = args->gopts; in uffd_read_thread() local
162 uffd_global_test_opts_t *gopts = args->gopts; in background_thread() local
196 uffd_global_test_opts_t *gopts = args->gopts; in stress() local
262 static int userfaultfd_stress(uffd_global_test_opts_t *gopts) in userfaultfd_stress()
387 static void set_test_type(uffd_global_test_opts_t *gopts, const char *type) in set_test_type()
409 static void parse_test_type_arg(uffd_global_test_opts_t *gopts, const char *raw_type) in parse_test_type_arg()
H A Duffd-wp-mremap.c155 static void test_one_folio(uffd_global_test_opts_t *gopts, size_t size, bool private, in test_one_folio()
335 uffd_global_test_opts_t gopts = { 0 }; in main() local
H A Duffd-common.h79 struct uffd_global_test_opts *gopts; member