Searched refs:vs (Results 1 - 25 of 78) sorted by relevance

1234

/freebsd-13-stable/usr.sbin/bhyve/
H A Dvirtio.c59 #define DEV_SOFTC(vs) ((void *)(vs))
66 vi_softc_linkup(struct virtio_softc *vs, struct virtio_consts *vc, argument
72 /* vs and dev_softc addresses must match */
73 assert((void *)vs == dev_softc);
74 vs->vs_vc = vc;
75 vs->vs_pi = pi;
76 pi->pi_arg = vs;
78 vs->vs_queues = queues;
80 queues[i].vq_vs = vs;
95 vi_reset_dev(struct virtio_softc *vs) argument
125 vi_set_io_bar(struct virtio_softc *vs, int barnum) argument
145 vi_intr_init(struct virtio_softc *vs, int barnum, int use_msix) argument
175 vi_vq_init(struct virtio_softc *vs, uint32_t pfn) argument
274 struct virtio_softc *vs; local
469 struct virtio_softc *vs; local
560 struct virtio_softc *vs = pi->pi_arg; local
680 struct virtio_softc *vs = pi->pi_arg; local
815 struct virtio_softc *vs; local
831 struct virtio_softc *vs; local
845 vi_pci_snapshot_softc(struct virtio_softc *vs, struct vm_snapshot_meta *meta) argument
874 vi_pci_snapshot_queues(struct virtio_softc *vs, struct vm_snapshot_meta *meta) argument
924 struct virtio_softc *vs; local
[all...]
H A Dvirtio.h340 #define VS_LOCK(vs) \
342 if (vs->vs_mtx) \
343 pthread_mutex_lock(vs->vs_mtx); \
346 #define VS_UNLOCK(vs) \
348 if (vs->vs_mtx) \
349 pthread_mutex_unlock(vs->vs_mtx); \
377 * vs->vs_vc->vc_reset(); then the data structure below is
378 * reinitialized (for each virtqueue: vs->vs_vc->vc_nvq).
445 vq_interrupt(struct virtio_softc *vs, struct vqueue_info *vq) argument
448 if (pci_msix_enabled(vs
[all...]
H A Dgdb.c664 struct vcpu_state *vs; local
671 vs = &vcpu_state[stopped_vcpu];
679 if (vs->hit_swbreak) {
683 } else if (vs->stepped)
699 struct vcpu_state *vs; local
702 vs = &vcpu_state[stopped_vcpu];
703 vs->hit_swbreak = false;
704 vs->stepped = false;
779 struct vcpu_state *vs; local
782 vs
830 struct vcpu_state *vs; local
868 struct vcpu_state *vs; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_status.c101 vdev_missing(vdev_stat_t *vs, uint_t vsc) argument
103 return (vs->vs_state == VDEV_STATE_CANT_OPEN &&
104 vs->vs_aux == VDEV_AUX_OPEN_FAILED);
109 vdev_faulted(vdev_stat_t *vs, uint_t vsc) argument
111 return (vs->vs_state == VDEV_STATE_FAULTED);
116 vdev_errors(vdev_stat_t *vs, uint_t vsc) argument
118 return (vs->vs_state == VDEV_STATE_DEGRADED ||
119 vs->vs_read_errors != 0 || vs->vs_write_errors != 0 ||
120 vs
125 vdev_broken(vdev_stat_t *vs, uint_t vsc) argument
132 vdev_offlined(vdev_stat_t *vs, uint_t vsc) argument
139 vdev_removed(vdev_stat_t *vs, uint_t vsc) argument
145 vdev_non_native_ashift(vdev_stat_t *vs, uint_t vsc) argument
162 vdev_stat_t *vs; local
228 vdev_stat_t *vs; local
[all...]
/freebsd-13-stable/tools/tools/vimage/
H A Dvimage.c325 getjail(vstat_t *vs, int lastjid, int verbose) argument
331 bzero(vs, sizeof(*vs));
337 jailparam_import_raw(&params[psize++], &vs->vnet, sizeof(vs->vnet));
340 jailparam_import_raw(&params[psize++], &vs->name, sizeof(vs->name));
346 jailparam_import_raw(&params[psize++], &vs->path, sizeof(vs->path));
349 jailparam_import_raw(&params[psize++], &vs
[all...]
/freebsd-13-stable/sys/net/
H A Dvnet.c118 * vs. modules in similar but different ways. In both cases, virtualized
479 struct vnet_sysinit *vs, *vs2; local
482 vs = arg;
483 KASSERT(vs->subsystem > SI_SUB_VNET, ("vnet sysinit too early"));
488 if (vs2->subsystem > vs->subsystem)
490 if (vs2->subsystem == vs->subsystem && vs2->order > vs->order)
494 TAILQ_INSERT_BEFORE(vs2, vs, link);
496 TAILQ_INSERT_TAIL(&vnet_constructors, vs, link);
504 vs
513 struct vnet_sysinit *vs; local
526 struct vnet_sysinit *vs, *vs2; local
548 struct vnet_sysinit *vs; local
577 struct vnet_sysinit *vs; local
595 struct vnet_sysinit *vs; local
744 db_show_vnet_print_vs(struct vnet_sysinit *vs, int ddb) argument
774 struct vnet_sysinit *vs; local
788 struct vnet_sysinit *vs; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/lib/libzpool/
H A Dutil.c48 vdev_stat_t *vs; local
74 (uint64_t **)&vs, &c) != 0)
75 vs = v0;
85 sec = MAX(1, vs->vs_timestamp / NANOSEC);
87 nicenum(vs->vs_alloc, used, sizeof (used));
88 nicenum(vs->vs_space - vs->vs_alloc, avail, sizeof (avail));
89 nicenum(vs->vs_ops[ZIO_TYPE_READ] / sec, rops, sizeof (rops));
90 nicenum(vs->vs_ops[ZIO_TYPE_WRITE] / sec, wops, sizeof (wops));
91 nicenum(vs
[all...]
/freebsd-13-stable/contrib/unbound/services/
H A Dview.c121 views_enter_view_name(struct views* vs, char* name) argument
130 lock_rw_wrlock(&vs->lock);
132 if(!rbtree_insert(&vs->vtree, &v->node)) {
136 lock_rw_unlock(&vs->lock);
139 lock_rw_unlock(&vs->lock);
144 views_apply_cfg(struct views* vs, struct config_file* cfg) argument
157 if(!(v = views_enter_view_name(vs, cv->name)))
224 views_find_view(struct views* vs, const char* name, int write) argument
230 lock_rw_rdlock(&vs->lock);
231 if(!(v = (struct view*)rbtree_search(&vs
[all...]
H A Dview.h130 * @param vs: views
135 struct view* views_find_view(struct views* vs, const char* name, int write);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dunorddf2vfp.S29 ITE(vs)
H A Dunordsf2vfp.S29 ITE(vs)
/freebsd-13-stable/lib/libc/xdr/
H A Dxdr_float.c104 struct vax_single vs, *vsp; local
114 vs = *((struct vax_single *)fp);
117 if ((vs.mantissa2 == lim->s.mantissa2) &&
118 (vs.exp == lim->s.exp) &&
119 (vs.mantissa1 == lim->s.mantissa1)) {
124 is.exp = vs.exp - VAX_SNG_BIAS + IEEE_SNG_BIAS;
125 is.mantissa = (vs.mantissa1 << 16) | vs.mantissa2;
127 is.sign = vs.sign;
/freebsd-13-stable/sys/kern/
H A Dsubr_stats.c83 #define VS_INCERRS(vs) do { \
84 if ((vs)->errs < (1U << VS_EBITS) - 1) \
85 (vs)->errs++; \
109 * - Compressed voi array (trade off memory usage vs search time)
158 struct voistat *vs, struct sb_iter_ctx *ctx);
1417 struct voistat *vs; local
1427 vs = BLOB_OFFSET(sb, v->stats_off + (stype * sizeof(struct voistat)));
1428 *retvsd = BLOB_OFFSET(sb, vs->data_off);
1430 *retdtype = vs->dtype;
1432 *retvsdsz = vs
1581 struct voistat *vs; local
2029 stats_v1_itercb_tostr_freeform(struct statsblobv1 *sb, struct voi *v, struct voistat *vs, struct sb_iter_ctx *ctx) argument
2090 stats_v1_itercb_tostr_json(struct statsblobv1 *sb, struct voi *v, struct voistat *vs, struct sb_iter_ctx *ctx) argument
2200 stats_v1_itercb_tostr(struct statsblobv1 *sb, struct voi *v, struct voistat *vs, struct sb_iter_ctx *ctx) argument
2252 stats_v1_itercb_visit(struct statsblobv1 *sb, struct voi *v, struct voistat *vs, struct sb_iter_ctx *ctx) argument
2293 stats_v1_icb_reset_voistat(struct statsblobv1 *sb, struct voi *v __unused, struct voistat *vs, struct sb_iter_ctx *ctx __unused) argument
2494 stats_v1_voi_update_max(enum vsd_dtype voi_dtype __unused, struct voistatdata *voival, struct voistat *vs, void *vsd) argument
2578 stats_v1_voi_update_min(enum vsd_dtype voi_dtype __unused, struct voistatdata *voival, struct voistat *vs, void *vsd) argument
2662 stats_v1_voi_update_sum(enum vsd_dtype voi_dtype __unused, struct voistatdata *voival, struct voistat *vs, void *vsd) argument
2715 stats_v1_voi_update_hist(enum vsd_dtype voi_dtype, struct voistatdata *voival, struct voistat *vs, struct voistatdata_hist *hist) argument
3433 stats_v1_voi_update_tdgst(enum vsd_dtype voi_dtype, struct voistatdata *voival, struct voistat *vs, struct voistatdata_tdgst *tdgst) argument
3513 struct voistat *vs; local
[all...]
H A Dvfs_hash.c79 enum vgetstate vs; local
91 vs = vget_prep(vp);
93 error = vget_finish(vp, flags, vs);
153 enum vgetstate vs; local
167 vs = vget_prep(vp2);
169 error = vget_finish(vp2, flags, vs);
/freebsd-13-stable/sys/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c349 vdev_stat_t *vs; local
353 (uint64_t **)&vs, &c) != 0) {
357 pool_name, zpool_state_to_name((vdev_state_t)vs->vs_state,
358 (vdev_aux_t)vs->vs_aux), vdev_desc);
359 print_kv("alloc", vs->vs_alloc);
360 print_kv(",free", vs->vs_space - vs->vs_alloc);
361 print_kv(",size", vs->vs_space);
362 print_kv(",read_bytes", vs->vs_bytes[ZIO_TYPE_READ]);
363 print_kv(",read_errors", vs
711 vdev_stat_t *vs; local
[all...]
/freebsd-13-stable/cddl/usr.sbin/zfsd/
H A Dvdev.cc165 vdev_stat_t *vs; local
182 vs = reinterpret_cast<vdev_stat_t *>(nvlist_array);
183 return (static_cast<vdev_state>(vs->vs_state));
291 vdev_stat_t *vs; local
298 reinterpret_cast<uint64_t **>(&vs), &c);
299 if (vs == NULL || vs->vs_aux != VDEV_AUX_SPARED)
/freebsd-13-stable/sys/nlm/
H A Dnlm_prot_impl.c1731 fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode)
1737 memset(vs, 0, sizeof(*vs));
1739 vs->vs_mp = vfs_getvfs(&fhp->fh_fsid);
1740 if (!vs->vs_mp) {
1746 error = VFS_CHECKEXP(vs->vs_mp,
1753 (vs->vs_mp->mnt_flag & MNT_RDONLY)) {
1759 error = VFS_FHTOVP(vs->vs_mp, &fhp->fh_fid, LK_EXCLUSIVE, &vs->vs_vp);
1762 vs
1730 nlm_get_vfs_state(struct nlm_host *host, struct svc_req *rqstp, fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode) argument
1803 nlm_release_vfs_state(struct vfs_state *vs) argument
1833 struct vfs_state vs; local
1931 struct vfs_state vs; local
2120 struct vfs_state vs; local
2210 struct vfs_state vs; local
[all...]
/freebsd-13-stable/contrib/ntp/libntp/
H A Dtimexsup.c18 # warning inconsistent definitions of MOD_NANO vs STA_NANO
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Dmeta-cmd-cmp.exp16 vs
26 vs
32 vs
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/
H A Dzfs_upgrade.kshlib50 typeset vs=$(get_pool_prop version $pool)
51 if [ "$vs" = "-" ]; then
54 echo "$vs"
/freebsd-13-stable/contrib/sqlite3/tea/win/
H A Dnmakehlp.c614 unsigned char *ks, *ke, *vs, *ve;
619 vs = ke;
620 while (vs && *vs && isspace(*vs)) ++vs;
621 ve = vs;
624 list_insert(&substPtr, (char*)ks, (char*)vs);
606 unsigned char *ks, *ke, *vs, *ve; local
/freebsd-13-stable/usr.sbin/jail/
H A Dconfig.c136 struct cfstring *s, *vs, *ns; local
219 TAILQ_FOREACH(vs, &vp->val, tq)
220 if (!STAILQ_EMPTY(&vs->vars)) {
228 vs = TAILQ_FIRST(&vp->val);
229 if (TAILQ_NEXT(vs, tq) != NULL &&
237 s->s = erealloc(s->s, s->len + vs->len + 1);
238 memmove(s->s + v->pos + vs->len,
241 memcpy(s->s + v->pos, vs->s, vs->len);
244 vv->pos += vs
[all...]
/freebsd-13-stable/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c2087 print_status_initialize(vdev_stat_t *vs, boolean_t verbose) argument
2090 if ((vs->vs_initialize_state == VDEV_INITIALIZE_ACTIVE ||
2091 vs->vs_initialize_state == VDEV_INITIALIZE_SUSPENDED ||
2092 vs->vs_initialize_state == VDEV_INITIALIZE_COMPLETE) &&
2093 !vs->vs_scan_removing) {
2098 time_t t = vs->vs_initialize_action_time;
2100 if (vs->vs_initialize_state !=
2102 initialize_pct = (vs->vs_initialize_bytes_done *
2103 100 / (vs->vs_initialize_bytes_est + 1));
2109 switch (vs
2138 print_status_trim(vdev_stat_t *vs, boolean_t verbose) argument
2218 vdev_stat_t *vs; local
2479 vdev_stat_t *vs; local
2651 vdev_stat_t *vs; local
4594 print_iostat_default(vdev_stat_t *vs, iostat_cbdata_t *cb, double scale) argument
6057 vdev_stat_t *vs; local
8073 vdev_stat_t *vs; local
10154 vdev_stat_t *vs; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_mod.c117 vdev_stat_t *vs; local
123 (uint64_t **)&vs, &c) == 0);
124 return (vs->vs_state);
195 vdev_stat_t *vs; local
202 (uint64_t **)&vs, &c) == 0);
203 if (vs->vs_state == VDEV_STATE_HEALTHY) {
303 if ((vs->vs_state != VDEV_STATE_DEGRADED) &&
304 (vs->vs_state != VDEV_STATE_FAULTED) &&
305 (vs->vs_state != VDEV_STATE_CANT_OPEN)) {
/freebsd-13-stable/usr.bin/hexdump/tests/
H A Dhexdump_test.sh161 hexdump -vs ${i} "$(atf_get_srcdir)/d_hexdump_c.in"
167 hexdump -vs 8 "$(atf_get_srcdir)/d_hexdump_c.in"

Completed in 477 milliseconds

1234