Searched refs:alloced_pkeys (Results 1 – 1 of 1) sorted by relevance
554 int alloced_pkeys[NR_PKEYS]; in alloc_random_pkey() local557 memset(alloced_pkeys, 0, sizeof(alloced_pkeys)); in alloc_random_pkey()565 alloced_pkeys[nr_alloced++] = new_pkey; in alloc_random_pkey()571 ret = alloced_pkeys[random_index]; in alloc_random_pkey()573 alloced_pkeys[random_index] = 0; in alloc_random_pkey()578 if (!alloced_pkeys[i]) in alloc_random_pkey()580 free_ret = sys_pkey_free(alloced_pkeys[i]); in alloc_random_pkey()961 int alloced_pkeys[NR_PKEYS]; in test_pkey_alloc_free_attach_pkey0() local984 alloced_pkeys[nr_alloced++] = new_pkey; in test_pkey_alloc_free_attach_pkey0()990 if (!alloced_pkeys[i]) in test_pkey_alloc_free_attach_pkey0()[all …]