/freebsd-current/usr.sbin/bhyve/ |
H A D | virtio.c | 61 #define DEV_SOFTC(vs) ((void *)(vs)) 68 vi_softc_linkup(struct virtio_softc *vs, struct virtio_consts *vc, argument 74 /* vs and dev_softc addresses must match */ 75 assert((void *)vs == dev_softc); 76 vs->vs_vc = vc; 77 vs->vs_pi = pi; 78 pi->pi_arg = vs; 80 vs->vs_queues = queues; 82 queues[i].vq_vs = vs; 97 vi_reset_dev(struct virtio_softc *vs) argument 127 vi_set_io_bar(struct virtio_softc *vs, int barnum) argument 147 vi_intr_init(struct virtio_softc *vs, int barnum, int use_msix) argument 177 vi_vq_init(struct virtio_softc *vs, uint32_t pfn) argument 274 struct virtio_softc *vs; local 472 struct virtio_softc *vs; local 562 struct virtio_softc *vs = pi->pi_arg; local 682 struct virtio_softc *vs = pi->pi_arg; local 817 struct virtio_softc *vs; local 833 struct virtio_softc *vs; local 847 vi_pci_snapshot_softc(struct virtio_softc *vs, struct vm_snapshot_meta *meta) argument 876 vi_pci_snapshot_queues(struct virtio_softc *vs, struct vm_snapshot_meta *meta) argument 931 struct virtio_softc *vs; local [all...] |
H A D | virtio.h | 247 #define VS_LOCK(vs) \ 249 if (vs->vs_mtx) \ 250 pthread_mutex_lock(vs->vs_mtx); \ 253 #define VS_UNLOCK(vs) \ 255 if (vs->vs_mtx) \ 256 pthread_mutex_unlock(vs->vs_mtx); \ 284 * vs->vs_vc->vc_reset(); then the data structure below is 285 * reinitialized (for each virtqueue: vs->vs_vc->vc_nvq). 352 vi_interrupt(struct virtio_softc *vs, uint8_t isr, uint16_t msix_idx) argument 355 if (pci_msix_enabled(vs 371 vq_interrupt(struct virtio_softc *vs, struct vqueue_info *vq) argument [all...] |
H A D | gdb.c | 676 struct vcpu_state *vs; local 683 vs = &vcpu_state[stopped_vcpu]; 691 if (vs->hit_swbreak) { 695 } else if (vs->stepped) 711 struct vcpu_state *vs; local 714 vs = &vcpu_state[stopped_vcpu]; 715 vs->hit_swbreak = false; 716 vs->stepped = false; 835 struct vcpu_state *vs; local 838 vs 888 struct vcpu_state *vs; local 958 struct vcpu_state *vs; local [all...] |
/freebsd-current/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_status.c | 100 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); 108 vdev_faulted(vdev_stat_t *vs, uint_t vsc) argument 111 return (vs->vs_state == VDEV_STATE_FAULTED); 115 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 124 vdev_broken(vdev_stat_t *vs, uint_t vsc) argument 131 vdev_offlined(vdev_stat_t *vs, uint_t vsc) argument 138 vdev_removed(vdev_stat_t *vs, uint_t vsc) argument 145 vdev_non_native_ashift(vdev_stat_t *vs, uint_t vsc) argument 184 vdev_stat_t *vs = (vdev_stat_t *)fnvlist_lookup_uint64_array( local 234 vdev_stat_t *vs = (vdev_stat_t *)fnvlist_lookup_uint64_array(nvroot, local [all...] |
/freebsd-current/tools/tools/vimage/ |
H A D | vimage.c | 323 getjail(vstat_t *vs, int lastjid, int verbose) argument 329 bzero(vs, sizeof(*vs)); 335 jailparam_import_raw(¶ms[psize++], &vs->vnet, sizeof(vs->vnet)); 338 jailparam_import_raw(¶ms[psize++], &vs->name, sizeof(vs->name)); 344 jailparam_import_raw(¶ms[psize++], &vs->path, sizeof(vs->path)); 347 jailparam_import_raw(¶ms[psize++], &vs [all...] |
/freebsd-current/sys/net/ |
H A D | vnet.c | 116 * vs. modules in similar but different ways. In both cases, virtualized 516 struct vnet_sysinit *vs, *vs2; local 519 vs = arg; 520 KASSERT(vs->subsystem > SI_SUB_VNET, ("vnet sysinit too early")); 525 if (vs2->subsystem > vs->subsystem) 527 if (vs2->subsystem == vs->subsystem && vs2->order > vs->order) 531 TAILQ_INSERT_BEFORE(vs2, vs, link); 533 TAILQ_INSERT_TAIL(&vnet_constructors, vs, link); 542 vs 552 struct vnet_sysinit *vs; local 565 struct vnet_sysinit *vs, *vs2; local 587 struct vnet_sysinit *vs; local 618 struct vnet_sysinit *vs; local 636 struct vnet_sysinit *vs; local 785 db_show_vnet_print_vs(struct vnet_sysinit *vs, int ddb) argument 815 struct vnet_sysinit *vs; local 829 struct vnet_sysinit *vs; local [all...] |
/freebsd-current/contrib/unbound/services/ |
H A D | view.c | 122 views_enter_view_name(struct views* vs, char* name) argument 131 lock_rw_wrlock(&vs->lock); 133 if(!rbtree_insert(&vs->vtree, &v->node)) { 137 lock_rw_unlock(&vs->lock); 140 lock_rw_unlock(&vs->lock); 145 views_apply_cfg(struct views* vs, struct config_file* cfg) argument 158 if(!(v = views_enter_view_name(vs, cv->name))) 225 views_find_view(struct views* vs, const char* name, int write) argument 231 lock_rw_rdlock(&vs->lock); 232 if(!(v = (struct view*)rbtree_search(&vs [all...] |
H A D | view.h | 131 * @param vs: views 136 struct view* views_find_view(struct views* vs, const char* name, int write);
|
/freebsd-current/sys/contrib/openzfs/lib/libzpool/ |
H A D | util.c | 48 vdev_stat_t *vs; local 75 (uint64_t **)&vs, &c) != 0) 76 vs = v0; 86 sec = MAX(1, vs->vs_timestamp / NANOSEC); 88 nicenum(vs->vs_alloc, used, sizeof (used)); 89 nicenum(vs->vs_space - vs->vs_alloc, avail, sizeof (avail)); 90 nicenum(vs->vs_ops[ZIO_TYPE_READ] / sec, rops, sizeof (rops)); 91 nicenum(vs->vs_ops[ZIO_TYPE_WRITE] / sec, wops, sizeof (wops)); 92 nicenum(vs [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | unorddf2vfp.S | 29 ITE(vs)
|
H A D | unordsf2vfp.S | 29 ITE(vs)
|
/freebsd-current/lib/libc/xdr/ |
H A D | xdr_float.c | 97 struct vax_single vs, *vsp; local 107 vs = *((struct vax_single *)fp); 110 if ((vs.mantissa2 == lim->s.mantissa2) && 111 (vs.exp == lim->s.exp) && 112 (vs.mantissa1 == lim->s.mantissa1)) { 117 is.exp = vs.exp - VAX_SNG_BIAS + IEEE_SNG_BIAS; 118 is.mantissa = (vs.mantissa1 << 16) | vs.mantissa2; 120 is.sign = vs.sign;
|
/freebsd-current/sys/kern/ |
H A D | subr_stats.c | 78 #define VS_INCERRS(vs) do { \ 79 if ((vs)->errs < (1U << VS_EBITS) - 1) \ 80 (vs)->errs++; \ 104 * - Compressed voi array (trade off memory usage vs search time) 153 struct voistat *vs, struct sb_iter_ctx *ctx); 1424 struct voistat *vs; local 1434 vs = BLOB_OFFSET(sb, v->stats_off + (stype * sizeof(struct voistat))); 1435 *retvsd = BLOB_OFFSET(sb, vs->data_off); 1437 *retdtype = vs->dtype; 1439 *retvsdsz = vs 1588 struct voistat *vs; local 2036 stats_v1_itercb_tostr_freeform(struct statsblobv1 *sb, struct voi *v, struct voistat *vs, struct sb_iter_ctx *ctx) argument 2097 stats_v1_itercb_tostr_json(struct statsblobv1 *sb, struct voi *v, struct voistat *vs, struct sb_iter_ctx *ctx) argument 2207 stats_v1_itercb_tostr(struct statsblobv1 *sb, struct voi *v, struct voistat *vs, struct sb_iter_ctx *ctx) argument 2259 stats_v1_itercb_visit(struct statsblobv1 *sb, struct voi *v, struct voistat *vs, struct sb_iter_ctx *ctx) argument 2300 stats_v1_icb_reset_voistat(struct statsblobv1 *sb, struct voi *v __unused, struct voistat *vs, struct sb_iter_ctx *ctx __unused) argument 2501 stats_v1_voi_update_max(enum vsd_dtype voi_dtype __unused, struct voistatdata *voival, struct voistat *vs, void *vsd) argument 2585 stats_v1_voi_update_min(enum vsd_dtype voi_dtype __unused, struct voistatdata *voival, struct voistat *vs, void *vsd) argument 2669 stats_v1_voi_update_sum(enum vsd_dtype voi_dtype __unused, struct voistatdata *voival, struct voistat *vs, void *vsd) argument 2722 stats_v1_voi_update_hist(enum vsd_dtype voi_dtype, struct voistatdata *voival, struct voistat *vs, struct voistatdata_hist *hist) argument 3447 stats_v1_voi_update_tdgst(enum vsd_dtype voi_dtype, struct voistatdata *voival, struct voistat *vs, struct voistatdata_tdgst *tdgst) argument 3527 struct voistat *vs; local [all...] |
H A D | vfs_hash.c | 76 enum vgetstate vs; local 88 vs = vget_prep(vp); 90 error = vget_finish(vp, flags, vs); 156 enum vgetstate vs; local 170 vs = vget_prep(vp2); 172 error = vget_finish(vp2, flags, vs);
|
/freebsd-current/sys/contrib/openzfs/cmd/zpool_influxdb/ |
H A D | zpool_influxdb.c | 342 vdev_stat_t *vs; local 346 (uint64_t **)&vs, &c) != 0) { 350 pool_name, zpool_state_to_name((vdev_state_t)vs->vs_state, 351 (vdev_aux_t)vs->vs_aux), vdev_desc); 352 print_kv("alloc", vs->vs_alloc); 353 print_kv(",free", vs->vs_space - vs->vs_alloc); 354 print_kv(",size", vs->vs_space); 355 print_kv(",read_bytes", vs->vs_bytes[ZIO_TYPE_READ]); 356 print_kv(",read_errors", vs 712 vdev_stat_t *vs; local [all...] |
/freebsd-current/cddl/usr.sbin/zfsd/ |
H A D | vdev.cc | 161 vdev_stat_t *vs; local 178 vs = reinterpret_cast<vdev_stat_t *>(nvlist_array); 179 return (static_cast<vdev_state>(vs->vs_state)); 287 vdev_stat_t *vs; local 294 reinterpret_cast<uint64_t **>(&vs), &c); 295 if (vs == NULL || vs->vs_aux != VDEV_AUX_SPARED)
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | timexsup.c | 18 # warning inconsistent definitions of MOD_NANO vs STA_NANO
|
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | meta-cmd-cmp.exp | 16 vs 26 vs 32 vs 43 vs
|
/freebsd-current/sys/fs/pseudofs/ |
H A D | pseudofs_vncache.c | 122 enum vgetstate vs; local 137 vs = vget_prep(vp); 139 if (vget_finish(vp, LK_EXCLUSIVE, vs) == 0) { 220 vs = vget_prep(vp); 222 if (vget_finish(vp, LK_EXCLUSIVE, vs) == 0) {
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/ |
H A D | zfs_upgrade.kshlib | 45 typeset vs=$(get_pool_prop version $pool) 46 if [ "$vs" = "-" ]; then 49 echo "$vs"
|
/freebsd-current/sys/nlm/ |
H A D | nlm_prot_impl.c | 1752 fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode) 1758 memset(vs, 0, sizeof(*vs)); 1760 vs->vs_mp = vfs_getvfs(&fhp->fh_fsid); 1761 if (!vs->vs_mp) { 1767 error = VFS_CHECKEXP(vs->vs_mp, 1774 (vs->vs_mp->mnt_flag & MNT_RDONLY)) { 1780 error = VFS_FHTOVP(vs->vs_mp, &fhp->fh_fid, LK_EXCLUSIVE, &vs->vs_vp); 1783 vs 1751 nlm_get_vfs_state(struct nlm_host *host, struct svc_req *rqstp, fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode) argument 1824 nlm_release_vfs_state(struct vfs_state *vs) argument 1854 struct vfs_state vs; local 1952 struct vfs_state vs; local 2141 struct vfs_state vs; local 2231 struct vfs_state vs; local [all...] |
/freebsd-current/sys/dev/nvmf/host/ |
H A D | nvmf_sim.c | 180 cpi->protocol_version = sc->vs; 182 cpi->transport_version = sc->vs; 204 cts->protocol_version = sc->vs; 206 cts->transport_version = sc->vs; 210 nvme->spec = sc->vs;
|
/freebsd-current/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_mod.c | 118 vdev_stat_t *vs; local 124 (uint64_t **)&vs, &c) == 0); 125 return (vs->vs_state); 214 vdev_stat_t *vs; local 228 (uint64_t **)&vs, &c) == 0); 229 if (vs->vs_state == VDEV_STATE_HEALTHY) { 398 if ((vs->vs_state != VDEV_STATE_DEGRADED) && 399 (vs->vs_state != VDEV_STATE_FAULTED) && 400 (vs->vs_state != VDEV_STATE_REMOVED) && 401 (vs 1004 vdev_stat_t *vs = NULL; local [all...] |
/freebsd-current/usr.sbin/jail/ |
H A D | config.c | 137 struct cfstring *s, *vs, *ns; local 211 TAILQ_FOREACH(vs, &vp->val, tq) 212 if (!STAILQ_EMPTY(&vs->vars)) { 220 vs = TAILQ_FIRST(&vp->val); 221 if (TAILQ_NEXT(vs, tq) != NULL && 229 s->s = erealloc(s->s, s->len + vs->len + 1); 230 memmove(s->s + v->pos + vs->len, 233 memcpy(s->s + v->pos, vs->s, vs->len); 236 vv->pos += vs [all...] |
/freebsd-current/tests/sys/compat32/aarch64/ |
H A D | swp_cond_test_impl.S | 121 /* vs */ 135 /* !vs */ 145 movw r0, :lower16:.L.vs 146 movt r0, :upper16:.L.vs 147 ldr r1, =(.L.vsEnd - .L.vs - 1) 394 .L.vs: 395 .asciz "vs" 397 .size .L.vs, .L.vsEnd - .L.vs
|