Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/mm/
H A Dtlb.c109 #define MAX_ASID_AVAILABLE ((1 << CR3_AVAIL_PCID_BITS) - 2) macro
116 VM_WARN_ON_ONCE(asid > MAX_ASID_AVAILABLE); in kern_pcid()
279 static u16 last_global_asid = MAX_ASID_AVAILABLE;
280 static DECLARE_BITMAP(global_asid_used, MAX_ASID_AVAILABLE);
281 static DECLARE_BITMAP(global_asid_freed, MAX_ASID_AVAILABLE);
282 static int global_asid_available = MAX_ASID_AVAILABLE - TLB_NR_DYN_ASIDS - 1;
303 global_asid_freed, MAX_ASID_AVAILABLE); in reset_global_asid_space()
304 bitmap_clear(global_asid_freed, 0, MAX_ASID_AVAILABLE); in reset_global_asid_space()
317 if (last_global_asid >= MAX_ASID_AVAILABLE - 1) in allocate_global_asid()
320 asid = find_next_zero_bit(global_asid_used, MAX_ASID_AVAILABLE, last_global_asid); in allocate_global_asid()
[all …]