Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/mm/
Dprotection_keys.c552 int alloced_pkeys[NR_PKEYS]; in alloc_random_pkey() local
555 memset(alloced_pkeys, 0, sizeof(alloced_pkeys)); in alloc_random_pkey()
563 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()
569 ret = alloced_pkeys[random_index]; in alloc_random_pkey()
571 alloced_pkeys[random_index] = 0; in alloc_random_pkey()
576 if (!alloced_pkeys[i]) in alloc_random_pkey()
578 free_ret = sys_pkey_free(alloced_pkeys[i]); in alloc_random_pkey()
967 int alloced_pkeys[NR_PKEYS]; in test_pkey_alloc_free_attach_pkey0() local
990 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()
996 if (!alloced_pkeys[i]) in test_pkey_alloc_free_attach_pkey0()
[all …]