Searched refs:context_asid_map (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/arch/riscv/mm/ |
D | context.c | 30 static unsigned long *context_asid_map; variable 69 bitmap_zero(context_asid_map, num_asids); in __flush_context() 83 __set_bit(cntx2asid(cntx), context_asid_map); in __flush_context() 88 __set_bit(0, context_asid_map); in __flush_context() 117 if (!__test_and_set_bit(cntx2asid(cntx), context_asid_map)) in __new_context() 125 asid = find_next_zero_bit(context_asid_map, num_asids, cur_idx); in __new_context() 136 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context() 139 __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() [all …]
|