Home
last modified time | relevance | path

Searched refs:vst (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/amd64/vmm/
H A Dvmm_stat.c64 if (vst->desc == NULL) in vmm_stat_register()
78 vst->index = vst_num_elems; in vmm_stat_register()
87 struct vmm_stat_type *vst; in vmm_stat_copy() local
96 vst = vsttab[i]; in vmm_stat_copy()
97 if (vst->func != NULL) in vmm_stat_copy()
98 (*vst->func)(vm, vcpu, vst); in vmm_stat_copy()
133 struct vmm_stat_type *vst; in vmm_stat_desc_copy() local
136 vst = vsttab[i]; in vmm_stat_desc_copy()
137 if (index >= vst->index && index < vst->index + vst->nelems) { in vmm_stat_desc_copy()
138 if (vst->nelems > 1) { in vmm_stat_desc_copy()
[all …]
H A Dvmm_stat.h97 vmm_stat_array_incr(struct vm *vm, int vcpu, struct vmm_stat_type *vst, in vmm_stat_array_incr() argument
105 if (vst->index >= 0 && statidx < vst->nelems) in vmm_stat_array_incr()
106 stats[vst->index + statidx] += x; in vmm_stat_array_incr()
111 vmm_stat_array_set(struct vm *vm, int vcpu, struct vmm_stat_type *vst, in vmm_stat_array_set() argument
119 if (vst->index >= 0 && statidx < vst->nelems) in vmm_stat_array_set()
120 stats[vst->index + statidx] = val; in vmm_stat_array_set()
125 vmm_stat_incr(struct vm *vm, int vcpu, struct vmm_stat_type *vst, uint64_t x) in vmm_stat_incr() argument
129 vmm_stat_array_incr(vm, vcpu, vst, 0, x); in vmm_stat_incr()
134 vmm_stat_set(struct vm *vm, int vcpu, struct vmm_stat_type *vst, uint64_t val) in vmm_stat_set() argument
138 vmm_stat_array_set(vm, vcpu, vst, 0, val); in vmm_stat_set()
/f-stack/freebsd/net/
H A Dif_vlan.c2084 vst = malloc(sizeof(*vst), M_VLAN, M_NOWAIT); in vlan_snd_tag_alloc()
2085 if (vst == NULL) { in vlan_snd_tag_alloc()
2093 free(vst, M_VLAN); in vlan_snd_tag_alloc()
2097 m_snd_tag_init(&vst->com, ifp, vst->tag->type); in vlan_snd_tag_alloc()
2099 *ppmt = &vst->com; in vlan_snd_tag_alloc()
2109 vst = mst_to_vst(mst); in vlan_snd_tag_modify()
2110 return (vst->tag->ifp->if_snd_tag_modify(vst->tag, params)); in vlan_snd_tag_modify()
2119 vst = mst_to_vst(mst); in vlan_snd_tag_query()
2120 return (vst->tag->ifp->if_snd_tag_query(vst->tag, params)); in vlan_snd_tag_query()
2128 vst = mst_to_vst(mst); in vlan_snd_tag_free()
[all …]
/f-stack/freebsd/x86/cpufreq/
H A Dpowernow.c154 #define COUNT_OFF_VST(vst) DELAY(20 * (vst)) argument
222 u_int vst; member
369 COUNT_OFF_VST(sc->vst); in pn8_setfidvid()
383 COUNT_OFF_VST(sc->vst); in pn8_setfidvid()
430 COUNT_OFF_VST(sc->vst); in pn8_setfidvid()
701 sc->vst = psb->settlingtime; in pn_decode_pst()
844 sc->vst = ACPI_PN8_CTRL_TO_VST(ctrl), in pn_decode_acpi()