Home
last modified time | relevance | path

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

12345678910

/freebsd-13.1/usr.sbin/bhyve/
H A Dvirtio.c62 #define DEV_SOFTC(vs) ((void *)(vs)) argument
77 vs->vs_vc = vc; in vi_softc_linkup()
78 vs->vs_pi = pi; in vi_softc_linkup()
103 if (vs->vs_mtx) in vi_reset_dev()
118 if (vs->vs_isr) in vi_reset_dev()
154 VS_LOCK(vs); in vi_intr_init()
185 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.h234 #define VS_LOCK(vs) \ argument
236 if (vs->vs_mtx) \
237 pthread_mutex_lock(vs->vs_mtx); \
240 #define VS_UNLOCK(vs) \ argument
242 if (vs->vs_mtx) \
342 if (pci_msix_enabled(vs->vs_pi)) in vi_interrupt()
345 VS_LOCK(vs); in vi_interrupt()
346 vs->vs_isr |= isr; in vi_interrupt()
347 pci_generate_msi(vs->vs_pi, 0); in vi_interrupt()
348 pci_lintr_assert(vs->vs_pi); in vi_interrupt()
[all …]
H A Dgdb.c665 struct vcpu_state *vs; in report_stop() local
700 struct vcpu_state *vs; in discard_stop() local
705 vs->stepped = false; in discard_stop()
782 struct vcpu_state *vs; in gdb_cpu_resume() local
793 if (vs->stepping) { in gdb_cpu_resume()
835 struct vcpu_state *vs; in gdb_cpu_mtrap() local
842 if (vs->stepping) { in gdb_cpu_mtrap()
843 vs->stepping = false; in gdb_cpu_mtrap()
844 vs->stepped = true; in gdb_cpu_mtrap()
846 while (vs->stepped) { in gdb_cpu_mtrap()
[all …]
/freebsd-13.1/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_status.c116 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()
151 vs->vs_configured_ashift < vs->vs_physical_ashift); in vdev_non_native_ashift()
162 vdev_stat_t *vs; in find_vdev_problem() local
187 (uint64_t **)&vs, &vsc) == 0); in find_vdev_problem()
189 if (func(vs, vsc) != 0) in find_vdev_problem()
228 vdev_stat_t *vs; in check_status() local
244 (uint64_t **)&vs, &vsc) == 0); in check_status()
304 vs->vs_aux == VDEV_AUX_ACTIVE) { in check_status()
[all …]
/freebsd-13.1/sys/net/
H A Dvnet.c482 vs = arg; in vnet_register_sysinit()
490 if (vs2->subsystem == vs->subsystem && vs2->order > vs->order) in vnet_register_sysinit()
504 vs->func(vs->arg); in vnet_register_sysinit()
515 vs = arg; in vnet_deregister_sysinit()
528 vs = arg; in vnet_register_sysuninit()
551 vs = arg; in vnet_deregister_sysuninit()
560 vs->func(vs->arg); in vnet_deregister_sysuninit()
582 vs->func(vs->arg); in vnet_sysinit()
601 vs->func(vs->arg); in vnet_sysuninit()
766 xprint(" %#08x %#08x\n", vs->subsystem, vs->order); in db_show_vnet_print_vs()
[all …]
/freebsd-13.1/tools/tools/vimage/
H A Dvimage.c331 bzero(vs, sizeof(*vs)); in getjail()
337 jailparam_import_raw(&params[psize++], &vs->vnet, sizeof(vs->vnet)); in getjail()
340 jailparam_import_raw(&params[psize++], &vs->name, sizeof(vs->name)); in getjail()
346 jailparam_import_raw(&params[psize++], &vs->path, sizeof(vs->path)); in getjail()
350 sizeof(vs->hostname)); in getjail()
358 sizeof(vs->childcnt)); in getjail()
365 sizeof(vs->childmax)); in getjail()
369 sizeof(vs->cpuset)); in getjail()
377 sizeof(vs->rawsock)); in getjail()
384 jailparam_import_raw(&params[psize++], &vs->mount, sizeof(vs->mount)); in getjail()
[all …]
/freebsd-13.1/sys/contrib/openzfs/lib/libzpool/
H A Dutil.c48 vdev_stat_t *vs; in show_vdev_stats() local
74 (uint64_t **)&vs, &c) != 0) in show_vdev_stats()
75 vs = v0; in show_vdev_stats()
85 sec = MAX(1, vs->vs_timestamp / NANOSEC); in show_vdev_stats()
87 nicenum(vs->vs_alloc, used, sizeof (used)); in show_vdev_stats()
88 nicenum(vs->vs_space - vs->vs_alloc, avail, sizeof (avail)); in show_vdev_stats()
91 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes, in show_vdev_stats()
95 nicenum(vs->vs_read_errors, rerr, sizeof (rerr)); in show_vdev_stats()
96 nicenum(vs->vs_write_errors, werr, sizeof (werr)); in show_vdev_stats()
104 vs->vs_space ? 6 : 0, vs->vs_space ? used : "", in show_vdev_stats()
[all …]
/freebsd-13.1/contrib/unbound/services/
H A Dview.c121 views_enter_view_name(struct views* vs, char* name) in views_enter_view_name() argument
130 lock_rw_wrlock(&vs->lock); in views_enter_view_name()
132 if(!rbtree_insert(&vs->vtree, &v->node)) { in views_enter_view_name()
136 lock_rw_unlock(&vs->lock); in views_enter_view_name()
139 lock_rw_unlock(&vs->lock); in views_enter_view_name()
144 views_apply_cfg(struct views* vs, struct config_file* cfg) in views_apply_cfg() argument
157 if(!(v = views_enter_view_name(vs, cv->name))) in views_apply_cfg()
224 views_find_view(struct views* vs, const char* name, int write) in views_find_view() argument
230 lock_rw_rdlock(&vs->lock); in views_find_view()
232 lock_rw_unlock(&vs->lock); in views_find_view()
[all …]
/freebsd-13.1/sys/kern/
H A Dsubr_stats.c2077 vs->errs);
2081 "data_off=%hu", vs->flags, vsd_dtype2name[vs->dtype],
2082 vs->dsz, vs->data_off);
2085 stats_voistatdata_tostr(vsd, v->dtype, vs->dtype, vs->dsz,
2168 vs_stype2name[vs->stype], vs->errs, vs->flags,
2169 vsd_dtype2name[vs->dtype], vs->data_off);
2184 stats_voistatdata_tostr(vsd, v->dtype, vs->dtype, vs->dsz,
2344 vs->dsz);
2368 vs->dsz);
2465 vs->errs = 0;
[all …]
H A Dvfs_hash.c79 enum vgetstate vs; in vfs_hash_get() local
91 vs = vget_prep(vp); in vfs_hash_get()
93 error = vget_finish(vp, flags, vs); in vfs_hash_get()
159 enum vgetstate vs; in vfs_hash_insert() local
173 vs = vget_prep(vp2); in vfs_hash_insert()
175 error = vget_finish(vp2, flags, vs); in vfs_hash_insert()
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c350 vdev_stat_t *vs; in print_summary_stats() local
354 (uint64_t **)&vs, &c) != 0) { in print_summary_stats()
359 (vdev_aux_t)vs->vs_aux), vdev_desc); in print_summary_stats()
360 print_kv("alloc", vs->vs_alloc); in print_summary_stats()
361 print_kv(",free", vs->vs_space - vs->vs_alloc); in print_summary_stats()
362 print_kv(",size", vs->vs_space); in print_summary_stats()
364 print_kv(",read_errors", vs->vs_read_errors); in print_summary_stats()
365 print_kv(",read_ops", vs->vs_ops[ZIO_TYPE_READ]); in print_summary_stats()
367 print_kv(",write_errors", vs->vs_write_errors); in print_summary_stats()
711 vdev_stat_t *vs; in print_stats() local
[all …]
/freebsd-13.1/lib/libc/xdr/
H A Dxdr_float.c104 struct vax_single vs, *vsp; in xdr_float() local
114 vs = *((struct vax_single *)fp); in xdr_float()
117 if ((vs.mantissa2 == lim->s.mantissa2) && in xdr_float()
118 (vs.exp == lim->s.exp) && in xdr_float()
119 (vs.mantissa1 == lim->s.mantissa1)) { in xdr_float()
124 is.exp = vs.exp - VAX_SNG_BIAS + IEEE_SNG_BIAS; in xdr_float()
125 is.mantissa = (vs.mantissa1 << 16) | vs.mantissa2; in xdr_float()
127 is.sign = vs.sign; in xdr_float()
/freebsd-13.1/sys/nlm/
H A Dnlm_prot_impl.c1737 memset(vs, 0, sizeof(*vs)); in nlm_get_vfs_state()
1740 if (!vs->vs_mp) { in nlm_get_vfs_state()
1806 if (vs->vs_vp) { in nlm_release_vfs_state()
1808 vput(vs->vs_vp); in nlm_release_vfs_state()
1810 vrele(vs->vs_vp); in nlm_release_vfs_state()
1812 if (vs->vs_mp) in nlm_release_vfs_state()
1840 memset(&vs, 0, sizeof(vs)); in nlm_do_test()
1938 memset(&vs, 0, sizeof(vs)); in nlm_do_lock()
2085 vs.vs_vp = NULL; in nlm_do_lock()
2127 memset(&vs, 0, sizeof(vs)); in nlm_do_cancel()
[all …]
/freebsd-13.1/cddl/usr.sbin/zfsd/
H A Dvdev.cc165 vdev_stat_t *vs; in State() local
182 vs = reinterpret_cast<vdev_stat_t *>(nvlist_array); in State()
183 return (static_cast<vdev_state>(vs->vs_state)); in State()
291 vdev_stat_t *vs; in IsActiveSpare() local
298 reinterpret_cast<uint64_t **>(&vs), &c); in IsActiveSpare()
299 if (vs == NULL || vs->vs_aux != VDEV_AUX_SPARED) in IsActiveSpare()
/freebsd-13.1/contrib/bmake/unit-tests/
H A Dmeta-cmd-cmp.exp16 vs
26 vs
32 vs
43 vs
/freebsd-13.1/usr.sbin/jail/
H A Dconfig.c136 struct cfstring *s, *vs, *ns; in load_config() local
219 TAILQ_FOREACH(vs, &vp->val, tq) in load_config()
220 if (!STAILQ_EMPTY(&vs->vars)) { in load_config()
228 vs = TAILQ_FIRST(&vp->val); in load_config()
238 memmove(s->s + v->pos + vs->len, in load_config()
241 memcpy(s->s + v->pos, vs->s, vs->len); in load_config()
244 vv->pos += vs->len; in load_config()
245 s->len += vs->len; in load_config()
246 while ((vs = TAILQ_NEXT(vs, tq))) { in load_config()
248 ns->s = estrdup(vs->s); in load_config()
[all …]
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c2252 vdev_stat_t *vs; in print_status_config() local
2274 state = zpool_state_to_name(vs->vs_state, vs->vs_aux); in print_status_config()
2429 vs->vs_configured_ashift < vs->vs_physical_ashift) { in print_status_config()
2513 vdev_stat_t *vs; in print_import_config() local
2685 vdev_stat_t *vs; in show_import() local
2710 health = zpool_state_to_name(vs->vs_state, vs->vs_aux); in show_import()
4654 print_one_stat(vs->vs_space - vs->vs_alloc, format, in print_iostat_default()
6094 vdev_stat_t *vs; in print_list_stats() local
6137 print_one_column(ZPOOL_PROP_FREE, vs->vs_space - vs->vs_alloc, in print_list_stats()
6148 (vs->vs_alloc * 10000 / vs->vs_space); in print_list_stats()
[all …]
/freebsd-13.1/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_mod.c117 vdev_stat_t *vs; in zfs_toplevel_state() local
123 (uint64_t **)&vs, &c) == 0); in zfs_toplevel_state()
124 return (vs->vs_state); in zfs_toplevel_state()
195 vdev_stat_t *vs; in zfs_process_add() local
202 (uint64_t **)&vs, &c) == 0); in zfs_process_add()
203 if (vs->vs_state == VDEV_STATE_HEALTHY) { in zfs_process_add()
363 if ((vs->vs_state != VDEV_STATE_DEGRADED) && in zfs_process_add()
364 (vs->vs_state != VDEV_STATE_FAULTED) && in zfs_process_add()
365 (vs->vs_state != VDEV_STATE_CANT_OPEN)) { in zfs_process_add()
367 "a bad state (currently %d)", vs->vs_state); in zfs_process_add()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticASTKinds.td412 "translation units (%1 vs. %2)">;
415 "translation units (%1 vs. %2)">,
425 "translation units (%1 vs. %2)">;
428 "translation units (%1 vs. %2)">,
454 "translation units (%1 vs. %2)">;
457 "translation units (%1 vs. %2)">,
463 "translation units (%1 vs. %2)">;
466 "translation units (%1 vs. %2)">,
507 "translation units (%1 vs. %2)">;
523 "units (%1 vs. %2)">;
[all …]
/freebsd-13.1/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.1/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-13.1/usr.sbin/pmcstat/
H A Dpmcpl_callgraph.c483 char ns[30], vs[10]; in pmcstat_cgnode_topprint() local
489 snprintf(vs, sizeof(vs), "%.1f", v); in pmcstat_cgnode_topprint()
517 PMCSTAT_PRINTW("%5.5s", vs); in pmcstat_cgnode_topprint()
561 vs_len = snprintf(vs, sizeof(vs), ":%.1f", v); in pmcstat_cgnode_topprint()
585 PMCSTAT_PRINTW("%s", vs); in pmcstat_cgnode_topprint()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dvdev.c4361 if (vs) { in vdev_get_stats_ex_impl()
4362 memset(vs->vs_ops, 0, sizeof (vs->vs_ops)); in vdev_get_stats_ex_impl()
4363 memset(vs->vs_bytes, 0, sizeof (vs->vs_bytes)); in vdev_get_stats_ex_impl()
4374 if (vs) in vdev_get_stats_ex_impl()
4403 if (vs) { in vdev_get_stats_ex()
4404 bcopy(&vd->vdev_stat, vs, sizeof (*vs)); in vdev_get_stats_ex()
4405 vs->vs_timestamp = gethrtime() - vs->vs_timestamp; in vdev_get_stats_ex()
4406 vs->vs_state = vd->vdev_state; in vdev_get_stats_ex()
4447 vs->vs_esize = P2ALIGN( in vdev_get_stats_ex()
4503 vs->vs_scan_processed = 0; in vdev_scan_stat_init()
[all …]
/freebsd-13.1/sys/fs/pseudofs/
H A Dpseudofs_vncache.c123 enum vgetstate vs; in pfs_vncache_alloc() local
138 vs = vget_prep(vp); in pfs_vncache_alloc()
140 if (vget_finish(vp, LK_EXCLUSIVE, vs) == 0) { in pfs_vncache_alloc()
/freebsd-13.1/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"

12345678910