Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/svm/ !
Dsev.c87 static int sev_flush_asids(int min_asid, int max_asid) in sev_flush_asids() argument
92 asid = find_next_bit(sev_reclaim_asid_bitmap, nr_asids, min_asid); in sev_flush_asids()
119 static bool __sev_recycle_asids(int min_asid, int max_asid) in __sev_recycle_asids() argument
121 if (sev_flush_asids(min_asid, max_asid)) in __sev_recycle_asids()
146 int asid, min_asid, max_asid, ret; in sev_asid_new() local
164 min_asid = sev->es_active ? 1 : min_sev_asid; in sev_asid_new()
167 asid = find_next_zero_bit(sev_asid_bitmap, max_asid + 1, min_asid); in sev_asid_new()
169 if (retry && __sev_recycle_asids(min_asid, max_asid)) { in sev_asid_new()
Dsvm.h299 u32 min_asid; member
Dsvm.c638 sd->min_asid = max_sev_asid + 1; in svm_hardware_enable()
2001 sd->next_asid = sd->min_asid; in new_asid()