Lines Matching refs:type
61 #define VMM_STAT_FDEFINE(type, nelems, desc, func, scope) \
62 struct vmm_stat_type type[1] = { \
65 SYSINIT(type##_stat, SI_SUB_KLD, SI_ORDER_ANY, vmm_stat_register, type)
67 #define VMM_STAT_DEFINE(type, nelems, desc, scope) \
68 VMM_STAT_FDEFINE(type, nelems, desc, NULL, scope)
70 #define VMM_STAT_DECLARE(type) \
71 extern struct vmm_stat_type type[1]
73 #define VMM_STAT(type, desc) \
74 VMM_STAT_DEFINE(type, 1, desc, VMM_STAT_SCOPE_ANY)
75 #define VMM_STAT_INTEL(type, desc) \
76 VMM_STAT_DEFINE(type, 1, desc, VMM_STAT_SCOPE_INTEL)
77 #define VMM_STAT_AMD(type, desc) \
78 VMM_STAT_DEFINE(type, 1, desc, VMM_STAT_SCOPE_AMD)
80 #define VMM_STAT_FUNC(type, desc, func) \
81 VMM_STAT_FDEFINE(type, 1, desc, func, VMM_STAT_SCOPE_ANY)
83 #define VMM_STAT_ARRAY(type, nelems, desc) \
84 VMM_STAT_DEFINE(type, nelems, desc, VMM_STAT_SCOPE_ANY)