| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | virtio.c | 57 #define DEV_SOFTC(vs) ((void *)(vs)) argument 72 vs->vs_vc = vc; in vi_softc_linkup() 73 vs->vs_pi = pi; in vi_softc_linkup() 98 if (vs->vs_mtx) in vi_reset_dev() 112 if (vs->vs_isr) in vi_reset_dev() 148 VS_LOCK(vs); in vi_intr_init() 179 vq = &vs->vs_queues[vs->vs_curq]; in vi_vq_init() 621 value = vs->vs_queues[vs->vs_curq].vq_pfn; in vi_pci_read() 625 vs->vs_queues[vs->vs_curq].vq_qsize : 0; in vi_pci_read() 647 vs->vs_queues[vs->vs_curq].vq_msix_idx : in vi_pci_read() [all …]
|
| H A D | virtio.h | 338 #define VS_LOCK(vs) \ argument 340 if (vs->vs_mtx) \ 341 pthread_mutex_lock(vs->vs_mtx); \ 344 #define VS_UNLOCK(vs) \ argument 346 if (vs->vs_mtx) \ 441 if (pci_msix_enabled(vs->vs_pi)) in vq_interrupt() 444 VS_LOCK(vs); in vq_interrupt() 445 vs->vs_isr |= VTCFG_ISR_QUEUES; in vq_interrupt() 446 pci_generate_msi(vs->vs_pi, 0); in vq_interrupt() 447 pci_lintr_assert(vs->vs_pi); in vq_interrupt() [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/ |
| H A D | libzfs_status.c | 91 vdev_errors(vdev_stat_t *vs, uint_t vsc) in vdev_errors() argument 94 vs->vs_read_errors != 0 || vs->vs_write_errors != 0 || in vdev_errors() 95 vs->vs_checksum_errors != 0); in vdev_errors() 100 vdev_broken(vdev_stat_t *vs, uint_t vsc) in vdev_broken() argument 123 vs->vs_configured_ashift < vs->vs_physical_ashift); in vdev_non_native_ashift() 134 vdev_stat_t *vs; in find_vdev_problem() local 159 (uint64_t **)&vs, &vsc) == 0); in find_vdev_problem() 161 if (func(vs, vsc) != 0) in find_vdev_problem() 199 vdev_stat_t *vs; in check_status() local 213 (uint64_t **)&vs, &vsc) == 0); in check_status() [all …]
|
| /freebsd-12.1/sys/net/ |
| H A D | vnet.c | 478 vs = arg; in vnet_register_sysinit() 486 if (vs2->subsystem == vs->subsystem && vs2->order > vs->order) in vnet_register_sysinit() 500 vs->func(vs->arg); in vnet_register_sysinit() 511 vs = arg; in vnet_deregister_sysinit() 524 vs = arg; in vnet_register_sysuninit() 547 vs = arg; in vnet_deregister_sysuninit() 556 vs->func(vs->arg); in vnet_deregister_sysuninit() 578 vs->func(vs->arg); in vnet_sysinit() 597 vs->func(vs->arg); in vnet_sysuninit() 761 xprint(" %#08x %#08x\n", vs->subsystem, vs->order); in db_show_vnet_print_vs() [all …]
|
| /freebsd-12.1/tools/tools/vimage/ |
| H A D | vimage.c | 331 bzero(vs, sizeof(*vs)); in getjail() 337 jailparam_import_raw(¶ms[psize++], &vs->vnet, sizeof(vs->vnet)); in getjail() 340 jailparam_import_raw(¶ms[psize++], &vs->name, sizeof(vs->name)); in getjail() 346 jailparam_import_raw(¶ms[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(¶ms[psize++], &vs->mount, sizeof(vs->mount)); in getjail() [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libzpool/common/ |
| H A D | util.c | 44 vdev_stat_t *vs; in show_vdev_stats() local 68 (uint64_t **)&vs, &c) != 0) in show_vdev_stats() 69 vs = &v0; in show_vdev_stats() 71 sec = MAX(1, vs->vs_timestamp / NANOSEC); in show_vdev_stats() 73 nicenum(vs->vs_alloc, used, sizeof (used)); in show_vdev_stats() 74 nicenum(vs->vs_space - vs->vs_alloc, avail, sizeof (avail)); in show_vdev_stats() 77 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes, in show_vdev_stats() 81 nicenum(vs->vs_read_errors, rerr, sizeof (rerr)); in show_vdev_stats() 82 nicenum(vs->vs_write_errors, werr, sizeof (werr)); in show_vdev_stats() 90 vs->vs_space ? 6 : 0, vs->vs_space ? used : "", in show_vdev_stats() [all …]
|
| /freebsd-12.1/contrib/unbound/services/ |
| H A D | view.c | 121 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-12.1/sys/nlm/ |
| H A D | nlm_prot_impl.c | 1744 memset(vs, 0, sizeof(*vs)); in nlm_get_vfs_state() 1747 if (!vs->vs_mp) { in nlm_get_vfs_state() 1817 if (vs->vs_vp) { in nlm_release_vfs_state() 1819 vput(vs->vs_vp); in nlm_release_vfs_state() 1821 vrele(vs->vs_vp); in nlm_release_vfs_state() 1823 if (vs->vs_mp) in nlm_release_vfs_state() 1851 memset(&vs, 0, sizeof(vs)); in nlm_do_test() 1949 memset(&vs, 0, sizeof(vs)); in nlm_do_lock() 2096 vs.vs_vp = NULL; in nlm_do_lock() 2138 memset(&vs, 0, sizeof(vs)); in nlm_do_cancel() [all …]
|
| /freebsd-12.1/lib/libc/xdr/ |
| H A D | xdr_float.c | 104 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-12.1/cddl/usr.sbin/zfsd/ |
| H A D | vdev.cc | 164 vdev_stat_t *vs; in State() local 181 vs = reinterpret_cast<vdev_stat_t *>(nvlist_array); in State() 182 return (static_cast<vdev_state>(vs->vs_state)); in State() 290 vdev_stat_t *vs; in IsActiveSpare() local 297 reinterpret_cast<uint64_t **>(&vs), &c); in IsActiveSpare() 298 if (vs == NULL || vs->vs_aux != VDEV_AUX_SPARED) in IsActiveSpare()
|
| /freebsd-12.1/usr.sbin/jail/ |
| H A D | config.c | 134 struct cfstring *s, *vs, *ns; in load_config() local 217 TAILQ_FOREACH(vs, &vp->val, tq) in load_config() 218 if (!STAILQ_EMPTY(&vs->vars)) { in load_config() 226 vs = TAILQ_FIRST(&vp->val); in load_config() 236 memmove(s->s + v->pos + vs->len, in load_config() 239 memcpy(s->s + v->pos, vs->s, vs->len); in load_config() 242 vv->pos += vs->len; in load_config() 243 s->len += vs->len; in load_config() 244 while ((vs = TAILQ_NEXT(vs, tq))) { in load_config() 246 ns->s = estrdup(vs->s); in load_config() [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/zpool/ |
| H A D | zpool_main.c | 1517 vdev_stat_t *vs; in print_status_config() local 1538 state = zpool_state_to_name(vs->vs_state, vs->vs_aux); in print_status_config() 1642 vs->vs_configured_ashift < vs->vs_physical_ashift) { in print_status_config() 1645 1 << vs->vs_configured_ashift, 1 << vs->vs_physical_ashift); in print_status_config() 1724 vdev_stat_t *vs; in print_import_config() local 1860 vdev_stat_t *vs; in show_import() local 1882 health = zpool_state_to_name(vs->vs_state, vs->vs_aux); in show_import() 3302 vdev_stat_t *vs; in print_list_stats() local 3338 print_one_column(ZPOOL_PROP_FREE, vs->vs_space - vs->vs_alloc, in print_list_stats() 3348 (vs->vs_alloc * 100 / vs->vs_space); in print_list_stats() [all …]
|
| /freebsd-12.1/contrib/sqlite3/tea/win/ |
| H A D | nmakehlp.c | 606 unsigned char *ks, *ke, *vs, *ve; in SubstituteFile() local 611 vs = ke; in SubstituteFile() 612 while (vs && *vs && isspace(*vs)) ++vs; in SubstituteFile() 613 ve = vs; in SubstituteFile() 616 list_insert(&substPtr, (char*)ks, (char*)vs); in SubstituteFile()
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/ |
| H A D | zfs_upgrade.kshlib | 50 typeset vs=$(get_pool_prop version $pool) 51 if [ "$vs" = "-" ]; then 54 echo "$vs"
|
| /freebsd-12.1/usr.sbin/pmcstat/ |
| H A D | pmcpl_callgraph.c | 480 char ns[30], vs[10]; in pmcstat_cgnode_topprint() local 486 snprintf(vs, sizeof(vs), "%.1f", v); in pmcstat_cgnode_topprint() 501 PMCSTAT_PRINTW("%5.5s", vs); in pmcstat_cgnode_topprint() 545 vs_len = snprintf(vs, sizeof(vs), ":%.1f", v); in pmcstat_cgnode_topprint() 569 PMCSTAT_PRINTW("%s", vs); in pmcstat_cgnode_topprint()
|
| H A D | pmcpl_calltree.c | 467 char ns[30], vs[10], is[20]; in pmcpl_ct_node_printtop() local 501 snprintf(vs, sizeof(vs), "%.1f", v); in pmcpl_ct_node_printtop() 504 PMCSTAT_PRINTW("%5.5s ", vs); in pmcpl_ct_node_printtop() 511 vs[0] = '\0'; vs_len = 0; in pmcpl_ct_node_printtop() 517 vs_len = snprintf(vs, sizeof(vs), in pmcpl_ct_node_printtop() 550 PMCSTAT_PRINTW("%s%s%s ", ns, is, vs); in pmcpl_ct_node_printtop()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | DiagnosticASTKinds.td | 63 "specifiers (%1 vs %3) has unspecified value">; 227 "translation units (%1 vs. %2)">; 234 "translation units (%1 vs. %2)">; 260 "translation units (%1 vs. %2)">; 265 "translation units (%1 vs. %2)">; 272 "different translation units (%2 vs. %3)">; 275 "different translation units (%2 vs. %3)">; 278 "in different translation units (%2 vs. %3)">; 286 "translation units (%1 vs. %2)">; 294 "units (%1 vs. %2)">; [all …]
|
| /freebsd-12.1/usr.bin/hexdump/tests/ |
| H A D | hexdump_test.sh | 155 hexdump -vs ${i} "$(atf_get_srcdir)/d_hexdump_c.in" 161 hexdump -vs 8 "$(atf_get_srcdir)/d_hexdump_c.in"
|
| /freebsd-12.1/sys/contrib/zstd/contrib/pzstd/ |
| H A D | README.md | 36 Compression Speed vs Ratio with 4 Threads | Decompression Speed with 4 Threads 38  | ![Decompression Spe…
|
| /freebsd-12.1/contrib/gcclibs/libiberty/ |
| H A D | safe-ctype.c | 137 #define vs _sch_isvsp macro 152 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
|
| /freebsd-12.1/contrib/binutils/libiberty/ |
| H A D | safe-ctype.c | 137 #define vs _sch_isvsp macro 152 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | vdev.c | 3641 bcopy(&vd->vdev_stat, vs, sizeof (*vs)); in vdev_get_stats() 3642 vs->vs_timestamp = gethrtime() - vs->vs_timestamp; in vdev_get_stats() 3643 vs->vs_state = vd->vdev_state; in vdev_get_stats() 3707 vdev_stat_t *vs = &vd->vdev_stat; in vdev_scan_stat_init() local 3713 vs->vs_scan_processed = 0; in vdev_scan_stat_init() 3773 vs->vs_self_healed += psize; in vdev_stat_update() 3776 vs->vs_ops[type]++; in vdev_stat_update() 3777 vs->vs_bytes[type] += psize; in vdev_stat_update() 3807 vs->vs_checksum_errors++; in vdev_stat_update() 3809 vs->vs_read_errors++; in vdev_stat_update() [all …]
|
| /freebsd-12.1/usr.sbin/etcupdate/tests/ |
| H A D | always_test.sh | 408 Modified mismatch: /difffiles/difftype/difftype/file (regular file vs fifo file) 411 Modified mismatch: /difflinks/difftype/difftype/link (symbolic link vs regular file) 413 New link conflict: /difftype/difftype/difflinks/link ("new" vs "test") 421 New file mismatch: /adddir/conflict (directory vs regular file) 425 New link conflict: /second/second/difflinks/link ("new link" vs "test link") 426 New file mismatch: /second/second/difftype/dir (directory vs fifo file)
|
| /freebsd-12.1/sys/dev/nvme/ |
| H A D | nvme_sim.c | 197 cpi->transport_version = nvme_mmio_read_4(ctrlr, vs); in nvme_sim_action() 199 cpi->protocol_version = nvme_mmio_read_4(ctrlr, vs); in nvme_sim_action() 225 nvmex->spec = nvme_mmio_read_4(ctrlr, vs); in nvme_sim_action()
|
| /freebsd-12.1/contrib/binutils/binutils/ |
| H A D | resbin.c | 1063 rc_ver_stringinfo *vs; in bin_to_res_version() local 1066 vs = (rc_ver_stringinfo *) res_alloc (sizeof *vs); in bin_to_res_version() 1069 (const char *) NULL, &vs->key, &subverlen, in bin_to_res_version() 1077 vs->value = get_unicode (wrbfd, data, length, &vslen); in bin_to_res_version() 1085 vs->next = NULL; in bin_to_res_version() 1086 *ppvs = vs; in bin_to_res_version() 1087 ppvs = &vs->next; in bin_to_res_version() 2012 const rc_ver_stringinfo *vs; in res_to_bin_versioninfo() local 2023 for (vs = vi->u.string.strings; vs != NULL; vs = vs->next) in res_to_bin_versioninfo() 2033 off = unicode_to_bin (wrbfd, off, vs->key); in res_to_bin_versioninfo() [all …]
|