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

123

/freebsd-11-stable/usr.sbin/bhyve/
H A Dvirtio.c57 #define DEV_SOFTC(vs) ((void *)(vs))
64 vi_softc_linkup(struct virtio_softc *vs, struct virtio_consts *vc, argument
70 /* vs and dev_softc addresses must match */
71 assert((void *)vs == dev_softc);
72 vs->vs_vc = vc;
73 vs->vs_pi = pi;
74 pi->pi_arg = vs;
76 vs->vs_queues = queues;
78 queues[i].vq_vs = vs;
93 vi_reset_dev(struct virtio_softc *vs) argument
122 vi_set_io_bar(struct virtio_softc *vs, int barnum) argument
142 vi_intr_init(struct virtio_softc *vs, int barnum, int use_msix) argument
172 vi_vq_init(struct virtio_softc *vs, uint32_t pfn) argument
270 struct virtio_softc *vs; local
456 struct virtio_softc *vs; local
547 struct virtio_softc *vs = pi->pi_arg; local
667 struct virtio_softc *vs = pi->pi_arg; local
[all...]
H A Dvirtio.h337 #define VS_LOCK(vs) \
339 if (vs->vs_mtx) \
340 pthread_mutex_lock(vs->vs_mtx); \
343 #define VS_UNLOCK(vs) \
345 if (vs->vs_mtx) \
346 pthread_mutex_unlock(vs->vs_mtx); \
370 * vs->vs_vc->vc_reset(); then the data structure below is
371 * reinitialized (for each virtqueue: vs->vs_vc->vc_nvq).
437 vq_interrupt(struct virtio_softc *vs, struct vqueue_info *vq) argument
440 if (pci_msix_enabled(vs
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dutil.c44 vdev_stat_t *vs; local
68 (uint64_t **)&vs, &c) != 0)
69 vs = &v0;
71 sec = MAX(1, vs->vs_timestamp / NANOSEC);
73 nicenum(vs->vs_alloc, used, sizeof (used));
74 nicenum(vs->vs_space - vs->vs_alloc, avail, sizeof (avail));
75 nicenum(vs->vs_ops[ZIO_TYPE_READ] / sec, rops, sizeof (rops));
76 nicenum(vs->vs_ops[ZIO_TYPE_WRITE] / sec, wops, sizeof (wops));
77 nicenum(vs
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_status.c76 vdev_missing(vdev_stat_t *vs, uint_t vsc) argument
78 return (vs->vs_state == VDEV_STATE_CANT_OPEN &&
79 vs->vs_aux == VDEV_AUX_OPEN_FAILED);
84 vdev_faulted(vdev_stat_t *vs, uint_t vsc) argument
86 return (vs->vs_state == VDEV_STATE_FAULTED);
91 vdev_errors(vdev_stat_t *vs, uint_t vsc) argument
93 return (vs->vs_state == VDEV_STATE_DEGRADED ||
94 vs->vs_read_errors != 0 || vs->vs_write_errors != 0 ||
95 vs
100 vdev_broken(vdev_stat_t *vs, uint_t vsc) argument
107 vdev_offlined(vdev_stat_t *vs, uint_t vsc) argument
114 vdev_removed(vdev_stat_t *vs, uint_t vsc) argument
120 vdev_non_native_ashift(vdev_stat_t *vs, uint_t vsc) argument
134 vdev_stat_t *vs; local
199 vdev_stat_t *vs; local
[all...]
/freebsd-11-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-11-stable/sys/net/
H A Dvnet.c116 * vs. modules in similar but different ways. In both cases, virtualized
474 struct vnet_sysinit *vs, *vs2; local
477 vs = arg;
478 KASSERT(vs->subsystem > SI_SUB_VNET, ("vnet sysinit too early"));
483 if (vs2->subsystem > vs->subsystem)
485 if (vs2->subsystem == vs->subsystem && vs2->order > vs->order)
489 TAILQ_INSERT_BEFORE(vs2, vs, link);
491 TAILQ_INSERT_TAIL(&vnet_constructors, vs, link);
499 vs
508 struct vnet_sysinit *vs; local
521 struct vnet_sysinit *vs, *vs2; local
543 struct vnet_sysinit *vs; local
572 struct vnet_sysinit *vs; local
590 struct vnet_sysinit *vs; local
738 db_show_vnet_print_vs(struct vnet_sysinit *vs, int ddb) argument
768 struct vnet_sysinit *vs; local
782 struct vnet_sysinit *vs; local
[all...]
/freebsd-11-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-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dunorddf2vfp.S29 ITE(vs)
H A Dunordsf2vfp.S29 ITE(vs)
/freebsd-11-stable/lib/libc/xdr/
H A Dxdr_float.c102 struct vax_single vs, *vsp; local
112 vs = *((struct vax_single *)fp);
115 if ((vs.mantissa2 == lim->s.mantissa2) &&
116 (vs.exp == lim->s.exp) &&
117 (vs.mantissa1 == lim->s.mantissa1)) {
122 is.exp = vs.exp - VAX_SNG_BIAS + IEEE_SNG_BIAS;
123 is.mantissa = (vs.mantissa1 << 16) | vs.mantissa2;
125 is.sign = vs.sign;
/freebsd-11-stable/cddl/usr.sbin/zfsd/
H A Dvdev.cc164 vdev_stat_t *vs; local
181 vs = reinterpret_cast<vdev_stat_t *>(nvlist_array);
182 return (static_cast<vdev_state>(vs->vs_state));
290 vdev_stat_t *vs; local
297 reinterpret_cast<uint64_t **>(&vs), &c);
298 if (vs == NULL || vs->vs_aux != VDEV_AUX_SPARED)
/freebsd-11-stable/contrib/ntp/libntp/
H A Dtimexsup.c18 # warning inconsistent definitions of MOD_NANO vs STA_NANO
/freebsd-11-stable/contrib/groff/src/roff/troff/
H A Ddiv.h52 virtual void output(node *nd, int retain_size, vunits vs, vunits post_vs,
81 void output(node *nd, int retain_size, vunits vs, vunits post_vs,
120 void output(node *nd, int retain_size, vunits vs, vunits post_vs,
H A Ddiv.cpp64 vertical_size(vunits vs, vunits post_vs);
67 vertical_size::vertical_size(vunits vs, vunits post_vs) argument
68 : pre_extra(V0), post_extra(V0), pre(vs), post(post_vs)
267 vunits vs, vunits post_vs, hunits width)
270 vertical_size v(vs, post_vs);
286 v.pre = vs;
377 vunits vs, vunits post_vs, hunits width)
384 vertical_size v(vs, post_vs);
389 v.pre = vs;
266 output(node *nd, int retain_size, vunits vs, vunits post_vs, hunits width) argument
376 output(node *nd, int retain_size, vunits vs, vunits post_vs, hunits width) argument
/freebsd-11-stable/sys/nlm/
H A Dnlm_prot_impl.c1754 fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode)
1759 memset(vs, 0, sizeof(*vs));
1761 vs->vs_mp = vfs_getvfs(&fhp->fh_fsid);
1762 if (!vs->vs_mp) {
1768 error = VFS_CHECKEXP(vs->vs_mp,
1775 (vs->vs_mp->mnt_flag & MNT_RDONLY)) {
1781 error = VFS_FHTOVP(vs->vs_mp, &fhp->fh_fid, LK_EXCLUSIVE, &vs->vs_vp);
1784 vs
1753 nlm_get_vfs_state(struct nlm_host *host, struct svc_req *rqstp, fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode) argument
1829 nlm_release_vfs_state(struct vfs_state *vs) argument
1859 struct vfs_state vs; local
1957 struct vfs_state vs; local
2146 struct vfs_state vs; local
2236 struct vfs_state vs; local
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dsafe-ctype.c137 #define vs _sch_isvsp macro
152 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dsafe-ctype.c137 #define vs _sch_isvsp macro
152 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
/freebsd-11-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-11-stable/usr.sbin/jail/
H A Dconfig.c134 struct cfstring *s, *vs, *ns; local
217 TAILQ_FOREACH(vs, &vp->val, tq)
218 if (!STAILQ_EMPTY(&vs->vars)) {
226 vs = TAILQ_FIRST(&vp->val);
227 if (TAILQ_NEXT(vs, tq) != NULL &&
235 s->s = erealloc(s->s, s->len + vs->len + 1);
236 memmove(s->s + v->pos + vs->len,
239 memcpy(s->s + v->pos, vs->s, vs->len);
242 vv->pos += vs
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c1519 vdev_stat_t *vs; local
1533 (uint64_t **)&vs, &vsc) == 0);
1540 state = zpool_state_to_name(vs->vs_state, vs->vs_aux);
1546 if (vs->vs_aux == VDEV_AUX_SPARED)
1548 else if (vs->vs_state == VDEV_STATE_HEALTHY)
1556 zfs_nicenum(vs->vs_read_errors, rbuf, sizeof (rbuf));
1557 zfs_nicenum(vs->vs_write_errors, wbuf, sizeof (wbuf));
1558 zfs_nicenum(vs->vs_checksum_errors, cbuf, sizeof (cbuf));
1564 vs
1726 vdev_stat_t *vs; local
1862 vdev_stat_t *vs; local
3304 vdev_stat_t *vs; local
4866 vdev_stat_t *vs; local
[all...]
/freebsd-11-stable/usr.bin/hexdump/tests/
H A Dhexdump_test.sh160 hexdump -vs ${i} "$(atf_get_srcdir)/d_hexdump_c.in"
166 hexdump -vs 8 "$(atf_get_srcdir)/d_hexdump_c.in"
/freebsd-11-stable/usr.sbin/pmcstat/
H A Dpmcpl_callgraph.c477 char ns[30], vs[10]; local
485 snprintf(vs, sizeof(vs), "%.1f", v);
498 PMCSTAT_PRINTW("%5.5s", vs);
542 vs_len = snprintf(vs, sizeof(vs), ":%.1f", v);
566 PMCSTAT_PRINTW("%s", vs);
/freebsd-11-stable/sys/sys/
H A Dcdrio.h107 u_int8_t vs:1; member in struct:cdr_format_params
H A Dumtx.h164 struct vmspace *vs;

Completed in 488 milliseconds

123