Searched refs:alloced_pkeys (Results 1 – 1 of 1) sorted by relevance
611 int alloced_pkeys[NR_PKEYS]; in alloc_random_pkey() local614 memset(alloced_pkeys, 0, sizeof(alloced_pkeys)); in alloc_random_pkey()623 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()629 ret = alloced_pkeys[random_index]; in alloc_random_pkey()631 alloced_pkeys[random_index] = 0; in alloc_random_pkey()636 if (!alloced_pkeys[i]) in alloc_random_pkey()638 free_ret = sys_pkey_free(alloced_pkeys[i]); in alloc_random_pkey()