Searched refs:asid_map (Results 1 – 2 of 2) sorted by relevance
/arch/arm64/mm/ |
D | context.c | 23 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/ |
D | context.c | 44 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()
|