Home
last modified time | relevance | path

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

/linux/arch/x86/mm/
H A Dtlb.c111 #define MAX_ASID_AVAILABLE ((1 << CR3_AVAIL_PCID_BITS) - 2) macro
118 VM_WARN_ON_ONCE(asid > MAX_ASID_AVAILABLE); in kern_pcid()
286 static u16 last_global_asid = MAX_ASID_AVAILABLE;
287 static DECLARE_BITMAP(global_asid_used, MAX_ASID_AVAILABLE);
288 static DECLARE_BITMAP(global_asid_freed, MAX_ASID_AVAILABLE);
289 static int global_asid_available = MAX_ASID_AVAILABLE - TLB_NR_DYN_ASIDS - 1;
310 global_asid_freed, MAX_ASID_AVAILABLE); in reset_global_asid_space()
311 bitmap_clear(global_asid_freed, 0, MAX_ASID_AVAILABLE); in reset_global_asid_space()
324 if (last_global_asid >= MAX_ASID_AVAILABLE - 1) in allocate_global_asid()
327 asid = find_next_zero_bit(global_asid_used, MAX_ASID_AVAILABLE, last_global_asid); in allocate_global_asid()
[all …]