Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/mm/
H A Dcontext.c10 static unsigned int num_mmids; variable
70 bitmap_zero(mmid_map, num_mmids); in flush_context()
156 mmid = find_next_zero_bit(mmid_map, num_mmids, cur_idx); in get_new_mmid()
157 if (mmid != num_mmids) in get_new_mmid()
168 mmid = find_first_zero_bit(mmid_map, num_mmids); in get_new_mmid()
276 num_mmids = asid_first_version(0); in mmid_init()
277 WARN_ON(num_mmids <= num_possible_cpus()); in mmid_init()
280 mmid_map = bitmap_zalloc(num_mmids, GFP_KERNEL); in mmid_init()
282 panic("Failed to allocate bitmap for %u MMIDs\n", num_mmids); in mmid_init()
287 pr_info("MMID allocator initialised with %u entries\n", num_mmids); in mmid_init()