Searched refs:NUM_USER_ASIDS (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/arch/arm64/mm/ |
D | context.c | 44 #define NUM_USER_ASIDS (ASID_FIRST_VERSION >> 1) macro 48 #define NUM_USER_ASIDS (ASID_FIRST_VERSION) macro 97 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in flush_context() 176 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context() 177 if (asid != NUM_USER_ASIDS) in new_context() 186 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context() 264 WARN_ON(NUM_USER_ASIDS - 1 <= num_possible_cpus()); in asids_init() 266 asid_map = kcalloc(BITS_TO_LONGS(NUM_USER_ASIDS), sizeof(*asid_map), in asids_init() 270 NUM_USER_ASIDS); in asids_init() 272 pr_info("ASID allocator initialised with %lu entries\n", NUM_USER_ASIDS); in asids_init()
|
/Linux-v4.19/arch/arm/mm/ |
D | context.c | 43 #define NUM_USER_ASIDS ASID_FIRST_VERSION macro 47 static DECLARE_BITMAP(asid_map, NUM_USER_ASIDS); 145 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in flush_context() 226 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context() 227 if (asid == NUM_USER_ASIDS) { in new_context() 231 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
|