Lines Matching refs:asid_map
24 static unsigned long *asid_map; variable
94 bitmap_copy(asid_map, pinned_asid_map, NUM_USER_ASIDS); in set_reserved_asid_bits()
96 set_kpti_asid_bits(asid_map); in set_reserved_asid_bits()
98 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in set_reserved_asid_bits()
123 __set_bit(asid2idx(asid), asid_map); in flush_context()
186 if (!__test_and_set_bit(asid2idx(asid), asid_map)) in new_context()
197 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
207 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
210 __set_bit(asid, asid_map); in new_context()
405 asid_map = kcalloc(BITS_TO_LONGS(NUM_USER_ASIDS), sizeof(*asid_map), in asids_init()
407 if (!asid_map) in asids_init()
421 set_kpti_asid_bits(asid_map); in asids_init()