Home
last modified time | relevance | path

Searched refs:vs (Results 1 – 25 of 266) sorted by relevance

1234567891011

/freebsd/usr.sbin/bhyve/
H A Dvirtio.c61 #define DEV_SOFTC(vs) ((void *)(vs)) argument
76 vs->vs_vc = vc; in vi_softc_linkup()
77 vs->vs_pi = pi; in vi_softc_linkup()
102 if (vs->vs_mtx) in vi_reset_dev()
117 if (vs->vs_isr) in vi_reset_dev()
153 VS_LOCK(vs); in vi_intr_init()
184 vq = &vs->vs_queues[vs->vs_curq]; in vi_vq_init()
636 value = vs->vs_queues[vs->vs_curq].vq_pfn; in vi_pci_read()
640 vs->vs_queues[vs->vs_curq].vq_qsize : 0; in vi_pci_read()
662 vs->vs_queues[vs->vs_curq].vq_msix_idx : in vi_pci_read()
[all …]
H A Dvirtio.h247 #define VS_LOCK(vs) \ argument
249 if (vs->vs_mtx) \
250 pthread_mutex_lock(vs->vs_mtx); \
253 #define VS_UNLOCK(vs) \ argument
255 if (vs->vs_mtx) \
355 if (pci_msix_enabled(vs->vs_pi)) in vi_interrupt()
358 VS_LOCK(vs); in vi_interrupt()
359 vs->vs_isr |= isr; in vi_interrupt()
360 pci_generate_msi(vs->vs_pi, 0); in vi_interrupt()
361 pci_lintr_assert(vs->vs_pi); in vi_interrupt()
[all …]
H A Dgdb.c677 struct vcpu_state *vs; in report_stop() local
712 struct vcpu_state *vs; in discard_stop() local
717 vs->stepped = false; in discard_stop()
836 struct vcpu_state *vs; in gdb_cpu_resume() local
847 if (vs->stepping) { in gdb_cpu_resume()
889 struct vcpu_state *vs; in gdb_cpu_step() local
896 if (vs->stepping) { in gdb_cpu_step()
897 vs->stepping = false; in gdb_cpu_step()
898 vs->stepped = true; in gdb_cpu_step()
902 while (vs->stepped) { in gdb_cpu_step()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_status.c100 vdev_missing(vdev_stat_t *vs, uint_t vsc) in vdev_missing() argument
104 vs->vs_aux == VDEV_AUX_OPEN_FAILED); in vdev_missing()
108 vdev_faulted(vdev_stat_t *vs, uint_t vsc) in vdev_faulted() argument
115 vdev_errors(vdev_stat_t *vs, uint_t vsc) in vdev_errors() argument
119 vs->vs_read_errors != 0 || vs->vs_write_errors != 0 || in vdev_errors()
120 vs->vs_checksum_errors != 0); in vdev_errors()
124 vdev_broken(vdev_stat_t *vs, uint_t vsc) in vdev_broken() argument
151 vs->vs_configured_ashift < vs->vs_physical_ashift); in vdev_non_native_ashift()
186 if (func(vs, vsc) != 0) in find_vdev_problem()
295 vs->vs_aux == VDEV_AUX_ACTIVE) { in check_status()
[all …]
/freebsd/sys/net/
H A Dvnet.c519 vs = arg; in vnet_register_sysinit()
527 if (vs2->subsystem == vs->subsystem && vs2->order > vs->order) in vnet_register_sysinit()
542 vs->func(vs->arg); in vnet_register_sysinit()
554 vs = arg; in vnet_deregister_sysinit()
567 vs = arg; in vnet_register_sysuninit()
590 vs = arg; in vnet_deregister_sysuninit()
600 vs->func(vs->arg); in vnet_deregister_sysuninit()
623 vs->func(vs->arg); in vnet_sysinit()
642 vs->func(vs->arg); in vnet_sysuninit()
807 xprint(" %#08x %#08x\n", vs->subsystem, vs->order); in db_show_vnet_print_vs()
[all …]
/freebsd/tools/tools/vimage/
H A Dvimage.c329 bzero(vs, sizeof(*vs)); in getjail()
335 jailparam_import_raw(&params[psize++], &vs->vnet, sizeof(vs->vnet)); in getjail()
338 jailparam_import_raw(&params[psize++], &vs->name, sizeof(vs->name)); in getjail()
344 jailparam_import_raw(&params[psize++], &vs->path, sizeof(vs->path)); in getjail()
348 sizeof(vs->hostname)); in getjail()
356 sizeof(vs->childcnt)); in getjail()
363 sizeof(vs->childmax)); in getjail()
367 sizeof(vs->cpuset)); in getjail()
375 sizeof(vs->rawsock)); in getjail()
382 jailparam_import_raw(&params[psize++], &vs->mount, sizeof(vs->mount)); in getjail()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dutil.c48 vdev_stat_t *vs; in show_vdev_stats() local
75 (uint64_t **)&vs, &c) != 0) in show_vdev_stats()
76 vs = v0; in show_vdev_stats()
86 sec = MAX(1, vs->vs_timestamp / NANOSEC); in show_vdev_stats()
88 nicenum(vs->vs_alloc, used, sizeof (used)); in show_vdev_stats()
89 nicenum(vs->vs_space - vs->vs_alloc, avail, sizeof (avail)); in show_vdev_stats()
92 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes, in show_vdev_stats()
96 nicenum(vs->vs_read_errors, rerr, sizeof (rerr)); in show_vdev_stats()
97 nicenum(vs->vs_write_errors, werr, sizeof (werr)); in show_vdev_stats()
105 vs->vs_space ? 6 : 0, vs->vs_space ? used : "", in show_vdev_stats()
[all …]
/freebsd/contrib/unbound/services/
H A Dview.c122 views_enter_view_name(struct views* vs, char* name) in views_enter_view_name() argument
131 lock_rw_wrlock(&vs->lock); in views_enter_view_name()
133 if(!rbtree_insert(&vs->vtree, &v->node)) { in views_enter_view_name()
137 lock_rw_unlock(&vs->lock); in views_enter_view_name()
140 lock_rw_unlock(&vs->lock); in views_enter_view_name()
145 views_apply_cfg(struct views* vs, struct config_file* cfg) in views_apply_cfg() argument
158 if(!(v = views_enter_view_name(vs, cv->name))) in views_apply_cfg()
225 views_find_view(struct views* vs, const char* name, int write) in views_find_view() argument
231 lock_rw_rdlock(&vs->lock); in views_find_view()
233 lock_rw_unlock(&vs->lock); in views_find_view()
[all …]
/freebsd/sys/kern/
H A Dsubr_stats.c2084 vs->errs);
2088 "data_off=%hu", vs->flags, vsd_dtype2name[vs->dtype],
2089 vs->dsz, vs->data_off);
2092 stats_voistatdata_tostr(vsd, v->dtype, vs->dtype, vs->dsz,
2175 vs_stype2name[vs->stype], vs->errs, vs->flags,
2176 vsd_dtype2name[vs->dtype], vs->data_off);
2191 stats_voistatdata_tostr(vsd, v->dtype, vs->dtype, vs->dsz,
2351 vs->dsz);
2375 vs->dsz);
2472 vs->errs = 0;
[all …]
H A Dvfs_hash.c76 enum vgetstate vs; in vfs_hash_get() local
88 vs = vget_prep(vp); in vfs_hash_get()
90 error = vget_finish(vp, flags, vs); in vfs_hash_get()
156 enum vgetstate vs; in vfs_hash_insert() local
170 vs = vget_prep(vp2); in vfs_hash_insert()
172 error = vget_finish(vp2, flags, vs); in vfs_hash_insert()
/freebsd/lib/libc/xdr/
H A Dxdr_float.c97 struct vax_single vs, *vsp; in xdr_float() local
107 vs = *((struct vax_single *)fp); in xdr_float()
110 if ((vs.mantissa2 == lim->s.mantissa2) && in xdr_float()
111 (vs.exp == lim->s.exp) && in xdr_float()
112 (vs.mantissa1 == lim->s.mantissa1)) { in xdr_float()
117 is.exp = vs.exp - VAX_SNG_BIAS + IEEE_SNG_BIAS; in xdr_float()
118 is.mantissa = (vs.mantissa1 << 16) | vs.mantissa2; in xdr_float()
120 is.sign = vs.sign; in xdr_float()
/freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c342 vdev_stat_t *vs; in print_summary_stats() local
346 (uint64_t **)&vs, &c) != 0) { in print_summary_stats()
351 (vdev_aux_t)vs->vs_aux), vdev_desc); in print_summary_stats()
352 print_kv("alloc", vs->vs_alloc); in print_summary_stats()
353 print_kv(",free", vs->vs_space - vs->vs_alloc); in print_summary_stats()
354 print_kv(",size", vs->vs_space); in print_summary_stats()
356 print_kv(",read_errors", vs->vs_read_errors); in print_summary_stats()
357 print_kv(",read_ops", vs->vs_ops[ZIO_TYPE_READ]); in print_summary_stats()
359 print_kv(",write_errors", vs->vs_write_errors); in print_summary_stats()
712 vdev_stat_t *vs; in print_stats() local
[all …]
/freebsd/sys/nlm/
H A Dnlm_prot_impl.c1758 memset(vs, 0, sizeof(*vs)); in nlm_get_vfs_state()
1761 if (!vs->vs_mp) { in nlm_get_vfs_state()
1827 if (vs->vs_vp) { in nlm_release_vfs_state()
1829 vput(vs->vs_vp); in nlm_release_vfs_state()
1831 vrele(vs->vs_vp); in nlm_release_vfs_state()
1833 if (vs->vs_mp) in nlm_release_vfs_state()
1861 memset(&vs, 0, sizeof(vs)); in nlm_do_test()
1959 memset(&vs, 0, sizeof(vs)); in nlm_do_lock()
2106 vs.vs_vp = NULL; in nlm_do_lock()
2148 memset(&vs, 0, sizeof(vs)); in nlm_do_cancel()
[all …]
/freebsd/cddl/usr.sbin/zfsd/
H A Dvdev.cc161 vdev_stat_t *vs; in State() local
178 vs = reinterpret_cast<vdev_stat_t *>(nvlist_array); in State()
179 return (static_cast<vdev_state>(vs->vs_state)); in State()
287 vdev_stat_t *vs; in IsActiveSpare() local
294 reinterpret_cast<uint64_t **>(&vs), &c); in IsActiveSpare()
295 if (vs == NULL || vs->vs_aux != VDEV_AUX_SPARED) in IsActiveSpare()
/freebsd/contrib/bmake/unit-tests/
H A Dmeta-cmd-cmp.exp16 vs
26 vs
32 vs
43 vs
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_mod.c118 vdev_stat_t *vs; in zfs_toplevel_state() local
124 (uint64_t **)&vs, &c) == 0); in zfs_toplevel_state()
125 return (vs->vs_state); in zfs_toplevel_state()
214 vdev_stat_t *vs; in zfs_process_add() local
228 (uint64_t **)&vs, &c) == 0); in zfs_process_add()
229 if (vs->vs_state == VDEV_STATE_HEALTHY) { in zfs_process_add()
399 (vs->vs_state != VDEV_STATE_FAULTED) && in zfs_process_add()
1004 vdev_stat_t *vs = NULL; in vdev_size_from_config() local
1012 (uint64_t **)&vs, &c) == 0); in vdev_size_from_config()
1013 if (!vs) { in vdev_size_from_config()
[all …]
/freebsd/usr.sbin/jail/
H A Dconfig.c137 struct cfstring *s, *vs, *ns; in load_config() local
211 TAILQ_FOREACH(vs, &vp->val, tq) in load_config()
212 if (!STAILQ_EMPTY(&vs->vars)) { in load_config()
220 vs = TAILQ_FIRST(&vp->val); in load_config()
230 memmove(s->s + v->pos + vs->len, in load_config()
233 memcpy(s->s + v->pos, vs->s, vs->len); in load_config()
236 vv->pos += vs->len; in load_config()
237 s->len += vs->len; in load_config()
238 while ((vs = TAILQ_NEXT(vs, tq))) { in load_config()
240 ns->s = estrdup(vs->s); in load_config()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c2414 vdev_stat_t *vs; in vdev_health_check_cb() local
2422 if (vs->vs_checksum_errors || vs->vs_read_errors || in vdev_health_check_cb()
2423 vs->vs_write_errors || vs->vs_state != VDEV_STATE_HEALTHY) in vdev_health_check_cb()
2442 vdev_stat_t *vs; in print_status_config() local
2465 state = zpool_state_to_name(vs->vs_state, vs->vs_aux); in print_status_config()
2614 if (vs->vs_read_errors + vs->vs_write_errors + in print_status_config()
2659 vs->vs_configured_ashift < vs->vs_physical_ashift) { in print_status_config()
2954 health = zpool_state_to_name(vs->vs_state, vs->vs_aux); in show_import()
4975 print_one_stat(vs->vs_space - vs->vs_alloc, format, in print_iostat_default()
6468 (vs->vs_alloc * 10000 / vs->vs_space); in print_list_stats()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dlm75.yaml48 vs-supply:
66 vs-supply = <&vs>;
/freebsd/sys/fs/pseudofs/
H A Dpseudofs_vncache.c122 enum vgetstate vs; in pfs_vncache_alloc() local
137 vs = vget_prep(vp); in pfs_vncache_alloc()
139 if (vget_finish(vp, LK_EXCLUSIVE, vs) == 0) { in pfs_vncache_alloc()
220 vs = vget_prep(vp); in pfs_vncache_alloc()
222 if (vget_finish(vp, LK_EXCLUSIVE, vs) == 0) { in pfs_vncache_alloc()
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/
H A Dzfs_upgrade.kshlib45 typeset vs=$(get_pool_prop version $pool)
46 if [ "$vs" = "-" ]; then
49 echo "$vs"
/freebsd/contrib/sqlite3/tea/win/
H A Dnmakehlp.c628 unsigned char *ks, *ke, *vs, *ve; in SubstituteFile() local
633 vs = ke; in SubstituteFile()
634 while (vs && *vs && isspace(*vs)) ++vs; in SubstituteFile()
635 ve = vs; in SubstituteFile()
638 list_insert(&substPtr, (char*)ks, (char*)vs); in SubstituteFile()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoV.td381 // vs<nf>r.v vd, (rs1)
1106 def : InstAlias<"vneg.v $vd, $vs$vm", (VRSUB_VX VR:$vd, VR:$vs, X0, VMaskOp:$vm)>;
1107 def : InstAlias<"vneg.v $vd, $vs", (VRSUB_VX VR:$vd, VR:$vs, X0, zero_reg)>;
1169 def : InstAlias<"vnot.v $vd, $vs",
1421 (VFSGNJN_VV VR:$vd, VR:$vs, VR:$vs, VMaskOp:$vm)>;
1423 (VFSGNJN_VV VR:$vd, VR:$vs, VR:$vs, zero_reg)>;
1425 (VFSGNJX_VV VR:$vd, VR:$vs, VR:$vs, VMaskOp:$vm)>;
1427 (VFSGNJX_VV VR:$vd, VR:$vs, VR:$vs, zero_reg)>;
1581 def : InstAlias<"vmmv.m $vd, $vs",
1582 (VMAND_MM VR:$vd, VR:$vs, VR:$vs)>;
[all …]
/freebsd/usr.sbin/pmcstat/
H A Dpmcpl_callgraph.c480 char ns[30], vs[10]; in pmcstat_cgnode_topprint() local
486 snprintf(vs, sizeof(vs), "%.1f", v); in pmcstat_cgnode_topprint()
514 PMCSTAT_PRINTW("%5.5s", vs); in pmcstat_cgnode_topprint()
558 vs_len = snprintf(vs, sizeof(vs), ":%.1f", v); in pmcstat_cgnode_topprint()
582 PMCSTAT_PRINTW("%s", vs); in pmcstat_cgnode_topprint()
/freebsd/tests/sys/compat32/aarch64/
H A Dswp_cond_test_impl.S145 movw r0, :lower16:.L.vs
146 movt r0, :upper16:.L.vs
147 ldr r1, =(.L.vsEnd - .L.vs - 1)
394 .L.vs:
397 .size .L.vs, .L.vsEnd - .L.vs

1234567891011