Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm64/mm/
Dcontext.c33 #define NUM_USER_ASIDS (ASID_FIRST_VERSION >> 1) macro
37 #define NUM_USER_ASIDS (ASID_FIRST_VERSION) macro
86 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in flush_context()
165 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
166 if (asid != NUM_USER_ASIDS) in new_context()
175 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
256 WARN_ON(NUM_USER_ASIDS - 1 <= num_possible_cpus()); in asids_init()
258 asid_map = kcalloc(BITS_TO_LONGS(NUM_USER_ASIDS), sizeof(*asid_map), in asids_init()
262 NUM_USER_ASIDS); in asids_init()
264 pr_info("ASID allocator initialised with %lu entries\n", NUM_USER_ASIDS); in asids_init()
/Linux-v5.4/arch/arm/mm/
Dcontext.c40 #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()