Home
last modified time | relevance | path

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

/linux-6.6.21/arch/riscv/mm/
Dcontext.c31 static unsigned long *context_asid_map; variable
70 bitmap_zero(context_asid_map, 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()
260 context_asid_map = bitmap_zalloc(num_asids, GFP_KERNEL); in asids_init()
261 if (!context_asid_map) in asids_init()
[all …]