Searched refs:alloced_pkeys (Results 1 – 1 of 1) sorted by relevance
560 int alloced_pkeys[NR_PKEYS]; in alloc_random_pkey() local563 memset(alloced_pkeys, 0, sizeof(alloced_pkeys)); in alloc_random_pkey()571 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()577 ret = alloced_pkeys[random_index]; in alloc_random_pkey()579 alloced_pkeys[random_index] = 0; in alloc_random_pkey()584 if (!alloced_pkeys[i]) in alloc_random_pkey()586 free_ret = sys_pkey_free(alloced_pkeys[i]); in alloc_random_pkey()975 int alloced_pkeys[NR_PKEYS]; in test_pkey_alloc_free_attach_pkey0() local998 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()1004 if (!alloced_pkeys[i]) in test_pkey_alloc_free_attach_pkey0()[all …]