Home
last modified time | relevance | path

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

/arch/arm64/mm/
Dcontext.c23 static unsigned long *asid_map; variable
86 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in flush_context()
99 __set_bit(asid2idx(asid), asid_map); in flush_context()
154 if (!__test_and_set_bit(asid2idx(asid), asid_map)) in new_context()
165 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
175 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
178 __set_bit(asid, asid_map); in new_context()
258 asid_map = kcalloc(BITS_TO_LONGS(NUM_USER_ASIDS), sizeof(*asid_map), in asids_init()
260 if (!asid_map) in asids_init()
/arch/arm/mm/
Dcontext.c44 static DECLARE_BITMAP(asid_map, NUM_USER_ASIDS);
142 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in flush_context()
154 __set_bit(asid & ~ASID_MASK, asid_map); in flush_context()
210 if (!__test_and_set_bit(asid, asid_map)) in new_context()
223 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
228 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
231 __set_bit(asid, asid_map); in new_context()