Home
last modified time | relevance | path

Searched refs:NUM_USER_ASIDS (Results 1 – 2 of 2) sorted by relevance

/arch/arm64/mm/
Dcontext.c44 #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()
179 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
180 if (asid != NUM_USER_ASIDS) in new_context()
189 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
257 WARN_ON(NUM_USER_ASIDS - 1 <= num_possible_cpus()); in asids_init()
259 asid_map = kzalloc(BITS_TO_LONGS(NUM_USER_ASIDS) * sizeof(*asid_map), in asids_init()
263 NUM_USER_ASIDS); in asids_init()
265 pr_info("ASID allocator initialised with %lu entries\n", NUM_USER_ASIDS); in asids_init()
/arch/arm/mm/
Dcontext.c43 #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()