Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/mm/
Dcontext.c24 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(ctxid2asid(asid), asid_map); in flush_context()
186 if (!__test_and_set_bit(ctxid2asid(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 = bitmap_zalloc(NUM_USER_ASIDS, GFP_KERNEL); in asids_init()
[all …]
/linux-6.1.9/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()