Lines Matching refs:num_asids
24 static unsigned long num_asids; variable
70 bitmap_zero(context_asid_map, num_asids); in __flush_context()
126 asid = find_next_zero_bit(context_asid_map, num_asids, cur_idx); in __new_context()
127 if (asid != num_asids) in __new_context()
131 ver = atomic_long_add_return_relaxed(num_asids, ¤t_version); in __new_context()
137 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context()
249 num_asids = 1 << asid_bits; in asids_init()
250 asid_mask = num_asids - 1; in asids_init()
257 if (num_asids > (2 * num_possible_cpus())) { in asids_init()
258 atomic_long_set(¤t_version, num_asids); in asids_init()
260 context_asid_map = bitmap_zalloc(num_asids, GFP_KERNEL); in asids_init()
263 num_asids); in asids_init()
270 asid_bits, num_asids); in asids_init()