Searched refs:context_asid_map (Results 1 – 1 of 1) sorted by relevance
/linux/arch/riscv/mm/ |
A D | context.c | 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() 248 context_asid_map = bitmap_zalloc(num_asids, GFP_KERNEL); in asids_init() 249 if (!context_asid_map) in asids_init() [all …]
|
Completed in 3 milliseconds