Lines Matching refs:NUM_USER_ASIDS
37 #define NUM_USER_ASIDS ASID_FIRST_VERSION macro
81 unsigned int len = BITS_TO_LONGS(NUM_USER_ASIDS) * sizeof(unsigned long); in set_kpti_asid_bits()
94 bitmap_copy(asid_map, pinned_asid_map, NUM_USER_ASIDS); in set_reserved_asid_bits()
98 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); in set_reserved_asid_bits()
197 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
198 if (asid != NUM_USER_ASIDS) in new_context()
207 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, 1); in new_context()
376 unsigned long num_available_asids = NUM_USER_ASIDS; in asids_update_limit()
405 asid_map = kcalloc(BITS_TO_LONGS(NUM_USER_ASIDS), sizeof(*asid_map), in asids_init()
409 NUM_USER_ASIDS); in asids_init()
411 pinned_asid_map = kcalloc(BITS_TO_LONGS(NUM_USER_ASIDS), in asids_init()