Searched refs:mmid_map (Results 1 – 1 of 1) sorted by relevance
/linux/arch/mips/mm/ |
A D | context.c | 11 static unsigned long *mmid_map; variable 70 bitmap_clear(mmid_map, 0, num_mmids); in flush_context() 73 __set_bit(MMID_KERNEL_WIRED, mmid_map); in flush_context() 88 __set_bit(mmid & cpu_asid_mask(&cpu_data[cpu]), mmid_map); in flush_context() 149 if (!__test_and_set_bit(mmid & mmid_mask, mmid_map)) { in get_new_mmid() 156 mmid = find_next_zero_bit(mmid_map, num_mmids, cur_idx); in get_new_mmid() 168 mmid = find_first_zero_bit(mmid_map, num_mmids); in get_new_mmid() 171 __set_bit(mmid, mmid_map); in get_new_mmid() 280 mmid_map = kcalloc(BITS_TO_LONGS(num_mmids), sizeof(*mmid_map), in mmid_init() 282 if (!mmid_map) in mmid_init() [all …]
|
Completed in 3 milliseconds