Home
last modified time | relevance | path

Searched refs:bounces (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Duffd-stress.c7 * This test allocates two virtual areas and bounces the physical
45 static int bounces; variable
56 "# Run anonymous memory test on 100MiB region with 99999 bounces:\n"
58 "# Run share memory test on 1GiB region with 99 bounces:\n"
60 "# Run hugetlb memory test on 256MiB region with 50 bounces:\n"
64 "# 10MiB-~6GiB 999 bounces anonymous test, "
70 fprintf(stderr, "\nUsage: ./uffd-stress <test type> <MiB> <bounces>\n\n"); in usage()
97 if (!(bounces & BOUNCE_RANDOM)) { in locking_thread()
98 page_nr = -bounces; in locking_thread()
99 if (!(bounces in locking_thread()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Duserfaultfd.c7 * This test allocates two virtual areas and bounces the physical
70 static int bounces; variable
116 "# Run anonymous memory test on 100MiB region with 99999 bounces:\n"
118 "# Run share memory test on 1GiB region with 99 bounces:\n"
120 "# Run hugetlb memory test on 256MiB region with 50 bounces (using /dev/hugepages/hugefile):\n"
124 "# 10MiB-~6GiB 999 bounces anonymous test, "
130 fprintf(stderr, "\nUsage: ./userfaultfd <test type> <MiB> <bounces> " in usage()
369 if (bounces & BOUNCE_RANDOM) { in locking_thread()
370 seed = (unsigned int) time(NULL) - bounces; in locking_thread()
371 if (!(bounces in locking_thread()
[all...]
/kernel/linux/linux-5.10/kernel/locking/
H A Dlockdep_proc.c509 seq_printf(m, "%14lu ", stats->bounces[bounce_contended_write]); in seq_stats()
511 seq_printf(m, " %14lu ", stats->bounces[bounce_acquired_write]); in seq_stats()
518 seq_printf(m, "%14lu ", stats->bounces[bounce_contended_read]); in seq_stats()
520 seq_printf(m, " %14lu ", stats->bounces[bounce_acquired_read]); in seq_stats()
579 "con-bounces", in seq_header()
585 "acq-bounces", in seq_header()
H A Dlockdep.c284 for (i = 0; i < ARRAY_SIZE(stats.bounces); i++) in lock_stats()
285 stats.bounces[i] += pcs->bounces[i]; in lock_stats()
5734 stats->bounces[bounce_contended + !!hlock->read]++; in __lock_contended()
5779 stats->bounces[bounce_acquired + !!hlock->read]++; in __lock_acquired()
/kernel/linux/linux-6.6/kernel/locking/
H A Dlockdep_proc.c511 seq_printf(m, "%14lu ", stats->bounces[bounce_contended_write]); in seq_stats()
513 seq_printf(m, " %14lu ", stats->bounces[bounce_acquired_write]); in seq_stats()
520 seq_printf(m, "%14lu ", stats->bounces[bounce_contended_read]); in seq_stats()
522 seq_printf(m, " %14lu ", stats->bounces[bounce_acquired_read]); in seq_stats()
581 "con-bounces", in seq_header()
587 "acq-bounces", in seq_header()
H A Dlockdep.c316 for (i = 0; i < ARRAY_SIZE(stats.bounces); i++) in lock_stats()
317 stats.bounces[i] += pcs->bounces[i]; in lock_stats()
5954 stats->bounces[bounce_contended + !!hlock->read]++; in __lock_contended()
5999 stats->bounces[bounce_acquired + !!hlock->read]++; in __lock_acquired()
/kernel/linux/linux-5.10/include/linux/
H A Dlockdep_types.h165 unsigned long bounces[nr_bounce_types]; member
/kernel/linux/linux-6.6/include/linux/
H A Dlockdep_types.h174 unsigned long bounces[nr_bounce_types]; member

Completed in 21 milliseconds