Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c630 long nr_pkey_malloc_records; variable
636 for (i = 0; i < nr_pkey_malloc_records; i++) { in record_pkey_malloc()
644 size_t old_nr_records = nr_pkey_malloc_records; in record_pkey_malloc()
645 size_t new_nr_records = (nr_pkey_malloc_records * 2 + 1); in record_pkey_malloc()
651 rec = &pkey_malloc_records[nr_pkey_malloc_records]; in record_pkey_malloc()
665 nr_pkey_malloc_records++; in record_pkey_malloc()
673 for (i = 0; i < nr_pkey_malloc_records; i++) { in free_pkey_malloc()
683 nr_pkey_malloc_records--; in free_pkey_malloc()