Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dmmu_internal.h43 int root_count; /* Currently serving as active root */ member
100 BUG_ON(!sp->root_count); in kvm_mmu_get_root()
103 ++sp->root_count; in kvm_mmu_get_root()
109 --sp->root_count; in kvm_mmu_put_root()
111 return !sp->root_count; in kvm_mmu_put_root()
Dmmutrace.h15 __field(__u32, root_count) \
22 __entry->root_count = sp->root_count; \
45 __entry->root_count, \
Dtdp_mmu.c102 return sp->tdp_mmu_page && sp->root_count; in is_tdp_mmu_root()
114 WARN_ON(root->root_count); in kvm_tdp_mmu_free_root()
175 root->root_count = 1; in get_tdp_mmu_vcpu_root()
Dmmu.c2317 if (!sp->root_count) { in __kvm_mmu_prepare_zap_page()
2383 WARN_ON(!sp->role.invalid || sp->root_count); in kvm_mmu_commit_zap_page()
2406 if (sp->root_count) in kvm_mmu_zap_oldest_mmu_pages()
3229 ++sp->root_count; in mmu_alloc_root()
/kernel/linux/linux-5.10/lib/
Dtest_objagg.c30 unsigned int root_count; member
138 world->root_count++; in root_create()
147 world->root_count--; in root_destroy()
154 unsigned int orig_root_count = world->root_count; in test_nodelta_obj_get()
169 if (world->root_count != orig_root_count + 1) { in test_nodelta_obj_get()
175 if (world->root_count != orig_root_count) { in test_nodelta_obj_get()
207 unsigned int orig_root_count = world->root_count; in test_nodelta_obj_put()
212 if (world->root_count != orig_root_count - 1) { in test_nodelta_obj_put()
217 if (world->root_count != orig_root_count) { in test_nodelta_obj_put()
598 if (orig_root_count != world->root_count) { in check_expect()
[all …]
Dobjagg.c20 unsigned int root_count; member
241 min = objagg->hints->root_count; in objagg_obj_root_id_alloc()
623 objagg_stats->root_count++; in objagg_stats_get()
666 hnode->root_id = objagg_hints->root_count++; in objagg_hints_node_create()
1039 objagg_stats->root_count++; in objagg_hints_stats_get()
/kernel/linux/linux-5.10/arch/x86/kernel/
Damd_nb.c234 u16 root_count = 0; in amd_cache_northbridges() local
255 root_count++; in amd_cache_northbridges()
257 if (root_count) { in amd_cache_northbridges()
258 roots_per_misc = root_count / misc_count; in amd_cache_northbridges()
264 if (!roots_per_misc || (root_count % roots_per_misc)) { in amd_cache_northbridges()
/kernel/linux/linux-5.10/include/linux/
Dobjagg.h45 unsigned int root_count; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c1405 if (hstats->root_count < ostats->root_count) in mlxsw_sp_acl_erp_hints_check()
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dmmu.rst226 root_count: