Lines Matching refs:fgt
532 unsigned long fgt:TC_FGT_BITS; /* Fine Grained Trap id */ member
1199 .fgt = g ## _GROUP, \
1988 const struct encoding_to_trap_config *fgt = &encoding_to_fgt[i]; in populate_nv_trap_config() local
1992 if (fgt->tc.fgt >= __NR_FGT_GROUP_IDS__) { in populate_nv_trap_config()
1994 print_nv_trap_error(fgt, "Invalid FGT", ret); in populate_nv_trap_config()
1997 tc = get_trap_config(fgt->encoding); in populate_nv_trap_config()
1999 if (tc.fgt) { in populate_nv_trap_config()
2001 print_nv_trap_error(fgt, "Duplicate FGT", ret); in populate_nv_trap_config()
2004 tc.val |= fgt->tc.val; in populate_nv_trap_config()
2005 prev = xa_store(&sr_forward_xa, fgt->encoding, in populate_nv_trap_config()
2010 print_nv_trap_error(fgt, "Failed FGT insertion", ret); in populate_nv_trap_config()
2148 switch ((enum fgt_group_id)tc.fgt) { in check_fgt_bit()
2200 if (tc.fgt != __NO_FGT_GROUP__ && in triage_sysreg_trap()
2201 (vcpu->kvm->arch.fgu[tc.fgt] & BIT(tc.bit))) { in triage_sysreg_trap()
2213 switch ((enum fgt_group_id)tc.fgt) { in triage_sysreg_trap()
2246 tc.fgt = __NO_FGT_GROUP__; in triage_sysreg_trap()
2256 if (tc.fgt != __NO_FGT_GROUP__ && check_fgt_bit(vcpu->kvm, is_read, in triage_sysreg_trap()