Home
last modified time | relevance | path

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

/linux/arch/mips/mm/
H A Dcontext.c11 static unsigned long *mmid_map; variable
70 bitmap_zero(mmid_map, 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 = bitmap_zalloc(num_mmids, GFP_KERNEL); in mmid_init()
281 if (!mmid_map) in mmid_init()
[all …]