Lines Matching refs:context_asid_map
31 static unsigned long *context_asid_map; variable
70 bitmap_clear(context_asid_map, 0, num_asids); in __flush_context()
84 __set_bit(cntx & asid_mask, context_asid_map); in __flush_context()
89 __set_bit(0, context_asid_map); in __flush_context()
118 if (!__test_and_set_bit(cntx & asid_mask, context_asid_map)) in __new_context()
126 asid = find_next_zero_bit(context_asid_map, num_asids, cur_idx); in __new_context()
137 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context()
140 __set_bit(asid, context_asid_map); in __new_context()
258 context_asid_map = bitmap_zalloc(num_asids, GFP_KERNEL); in asids_init()
259 if (!context_asid_map) in asids_init()
263 __set_bit(0, context_asid_map); in asids_init()