Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c103 static int sev_flush_asids(unsigned int min_asid, unsigned int max_asid) in sev_flush_asids() argument
109 asid = find_next_bit(sev_reclaim_asid_bitmap, nr_asids, min_asid); in sev_flush_asids()
149 static bool __sev_recycle_asids(unsigned int min_asid, unsigned int max_asid) in __sev_recycle_asids() argument
151 if (sev_flush_asids(min_asid, max_asid)) in __sev_recycle_asids()
182 unsigned int min_asid = sev->es_active ? 1 : min_sev_asid; in sev_asid_new() local
188 if (min_asid > max_asid) in sev_asid_new()
203 asid = find_next_zero_bit(sev_asid_bitmap, max_asid + 1, min_asid); in sev_asid_new()
205 if (retry && __sev_recycle_asids(min_asid, max_asid)) { in sev_asid_new()
Dsvm.h336 u32 min_asid; member
Dsvm.c628 sd->min_asid = max_sev_asid + 1; in svm_enable_virtualization_cpu()
1987 sd->next_asid = sd->min_asid; in new_asid()