Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arm64/mm/
Dcontext.c41 #define NUM_USER_ASIDS ASID_FIRST_VERSION macro
49 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in flush_context()
134 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
135 if (asid != NUM_USER_ASIDS) in new_context()
144 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
204 WARN_ON(NUM_USER_ASIDS < num_possible_cpus()); in asids_init()
206 asid_map = kzalloc(BITS_TO_LONGS(NUM_USER_ASIDS) * sizeof(*asid_map), in asids_init()
210 NUM_USER_ASIDS); in asids_init()
212 pr_info("ASID allocator initialised with %lu entries\n", NUM_USER_ASIDS); in asids_init()
/linux-4.4.14/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()