Searched refs:NUM_USER_ASIDS (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/arch/arm64/mm/ |
D | context.c | 37 #define NUM_USER_ASIDS ASID_FIRST_VERSION macro 81 unsigned int len = BITS_TO_LONGS(NUM_USER_ASIDS) * sizeof(unsigned long); in set_kpti_asid_bits() 94 bitmap_copy(asid_map, pinned_asid_map, NUM_USER_ASIDS); in set_reserved_asid_bits() 98 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in set_reserved_asid_bits() 197 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context() 198 if (asid != NUM_USER_ASIDS) in new_context() 207 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context() 376 unsigned long num_available_asids = NUM_USER_ASIDS; in asids_update_limit() 405 asid_map = bitmap_zalloc(NUM_USER_ASIDS, GFP_KERNEL); in asids_init() 408 NUM_USER_ASIDS); in asids_init() [all …]
|
/Linux-v6.6/arch/arm/mm/ |
D | context.c | 40 #define NUM_USER_ASIDS ASID_FIRST_VERSION macro 44 static DECLARE_BITMAP(asid_map, NUM_USER_ASIDS); 142 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in flush_context() 223 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context() 224 if (asid == NUM_USER_ASIDS) { in new_context() 228 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
|