Home
last modified time | relevance | path

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

12345678910>>...48

/netbsd-src/sys/arch/arc/dev/
H A Dpccons.c159 } vs; variable
597 printf(": %s\n", vs.color ? "color" : "mono"); in pccons_common_attach()
932 char *cp0 = (char *)crtat; *cp0++ = (c); *cp0 = (at); crtat++; vs.col++; \
991 vs.color = 0; in sput()
996 vs.color = 1; in sput()
1005 bios_display_info(&vs.col, &vs.row, &vs.ncol, &vs.nrow); in sput()
1006 vs.nchr = vs.ncol * vs.nrow; in sput()
1007 vs.col--; in sput()
1008 vs.row--; in sput()
1009 cursorat = vs.ncol * vs.row + vs.col; in sput()
[all …]
/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_status.c76 vdev_missing(vdev_stat_t *vs, uint_t vsc) in vdev_missing() argument
78 return (vs->vs_state == VDEV_STATE_CANT_OPEN && in vdev_missing()
79 vs->vs_aux == VDEV_AUX_OPEN_FAILED); in vdev_missing()
84 vdev_faulted(vdev_stat_t *vs, uint_t vsc) in vdev_faulted() argument
86 return (vs->vs_state == VDEV_STATE_FAULTED); in vdev_faulted()
91 vdev_errors(vdev_stat_t *vs, uint_t vsc) in vdev_errors() argument
93 return (vs->vs_state == VDEV_STATE_DEGRADED || in vdev_errors()
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
[all …]
/netbsd-src/sys/dev/
H A Dvideo.c313 #define video_stream_free_bufs(vs) \ argument
314 video_stream_realloc_bufs((vs), 0)
1488 struct video_stream *vs = &sc->sc_stream_in; in video_request_bufs() local
1495 vs->vs_type = req->type; in video_request_bufs()
1504 err = video_stream_setup_bufs(vs, in video_request_bufs()
1511 buf = vs->vs_buf[i]->vb_buf; in video_request_bufs()
1528 struct video_stream *vs = &sc->sc_stream_in; in video_query_buf() local
1530 if (buf->type != vs->vs_type) in video_query_buf()
1532 if (buf->index >= vs->vs_nbufs) in video_query_buf()
1535 memcpy(buf, vs->vs_buf[buf->index]->vb_buf, sizeof(*buf)); in video_query_buf()
[all …]
/netbsd-src/sys/dev/usb/
H A Duvideo.c356 #define uvideo_stream_probe(vs, act, data) \ argument
357 (uvideo_stream_probe_and_commit((vs), (act), \
359 #define uvideo_stream_commit(vs, act, data) \ argument
360 (uvideo_stream_probe_and_commit((vs), (act), \
498 struct uvideo_stream *vs; in uvideo_attach() local
561 vs = uvideo_find_stream(sc, ifdesc->bInterfaceNumber); in uvideo_attach()
562 if (vs == NULL) { in uvideo_attach()
563 vs = uvideo_stream_alloc(); in uvideo_attach()
564 err = uvideo_stream_init(vs, sc, ifdesc); in uvideo_attach()
573 err = uvideo_stream_init_desc(vs, ifdesc, &iter); in uvideo_attach()
[all …]
/netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/
H A Dutil.c69 vdev_stat_t *vs; in show_vdev_stats() local
93 (uint64_t **)&vs, &c) != 0) in show_vdev_stats()
94 vs = &v0; in show_vdev_stats()
96 sec = MAX(1, vs->vs_timestamp / NANOSEC); in show_vdev_stats()
98 nicenum(vs->vs_alloc, used); in show_vdev_stats()
99 nicenum(vs->vs_space - vs->vs_alloc, avail); in show_vdev_stats()
100 nicenum(vs->vs_ops[ZIO_TYPE_READ] / sec, rops); in show_vdev_stats()
101 nicenum(vs->vs_ops[ZIO_TYPE_WRITE] / sec, wops); in show_vdev_stats()
102 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes); in show_vdev_stats()
103 nicenum(vs->vs_bytes[ZIO_TYPE_WRITE] / sec, wbytes); in show_vdev_stats()
[all …]
/netbsd-src/sys/arch/amiga/dev/
H A Dgrf_cc.c195 struct view_size vs; in grf_cc_on() local
212 if ((*view_cdevsw.d_ioctl)(0, VIOCGSIZE, (void *)&vs, -1, NULL)) { in grf_cc_on()
215 vs.width = 640; in grf_cc_on()
216 vs.height = 400; in grf_cc_on()
217 vs.depth = 2; in grf_cc_on()
219 gi->gd_colors = 1 << vs.depth; in grf_cc_on()
220 gi->gd_planes = vs.depth; in grf_cc_on()
222 gi->gd_fbwidth = vs.width; in grf_cc_on()
223 gi->gd_fbheight = vs.height; in grf_cc_on()
226 gi->gd_dwidth = vs.width; in grf_cc_on()
[all …]
H A Dview.c190 view_setsize(struct view_softc *vu, struct view_size *vs) in view_setsize() argument
198 if (vs->x != vu->size.x || vs->y != vu->size.y) in view_setsize()
201 if (vs->width != vu->size.width || vs->height != vu->size.height || in view_setsize()
202 vs->depth != vu->size.depth) in view_setsize()
208 ns.width = vs->width; in view_setsize()
209 ns.height = vs->height; in view_setsize()
211 new = grf_alloc_view(NULL, &ns, vs->depth); in view_setsize()
224 vu->size.x = vs->x; in view_setsize()
225 vu->size.y = vs->y; in view_setsize()
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dsum.c188 mp_size_t ds, vs, vds; in sum_raw() local
197 vs = MPFR_PREC2LIMBS (xq); in sum_raw()
198 vd = xe - vs * GMP_NUMB_BITS - minexp; in sum_raw()
247 vs -= vds; in sum_raw()
248 MPFR_ASSERTD (vs > 0); /* see xe <= minexp test above */ in sum_raw()
255 vs -= (xe - maxexp) / GMP_NUMB_BITS; in sum_raw()
256 MPFR_ASSERTD (vs > 0); in sum_raw()
264 MPFR_ASSERTD (vs <= ts); in sum_raw()
265 mpn_rshift (tp, vp, vs, vd); in sum_raw()
270 vs--; in sum_raw()
[all …]
/netbsd-src/external/bsd/unbound/dist/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()
232 if(!(v = (struct view*)rbtree_search(&vs->vtree, &key.node))) { in views_find_view()
[all …]
/netbsd-src/sys/ddb/
H A Ddb_print.c52 struct db_variable vs; in db_show_regs() local
57 vs = *regp; in db_show_regs()
58 vs.modif = modif; in db_show_regs()
59 db_read_variable(&vs, &value); in db_show_regs()
60 db_printf("%-12s%s", vs.name, db_num_to_str(value)); in db_show_regs()
/netbsd-src/sys/fs/nfs/nlm/
H A Dnlm_prot_impl.c1762 fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode) in nlm_get_vfs_state() argument
1767 memset(vs, 0, sizeof(*vs)); in nlm_get_vfs_state()
1769 vs->vs_mp = vfs_getvfs(&fhp->fh_fsid); in nlm_get_vfs_state()
1770 if (!vs->vs_mp) { in nlm_get_vfs_state()
1776 error = VFS_CHECKEXP(vs->vs_mp, in nlm_get_vfs_state()
1783 (vs->vs_mp->mnt_flag & MNT_RDONLY)) { in nlm_get_vfs_state()
1789 error = VFS_FHTOVP(vs->vs_mp, &fhp->fh_fid, LK_EXCLUSIVE, &vs->vs_vp); in nlm_get_vfs_state()
1792 vs->vs_vnlocked = TRUE; in nlm_get_vfs_state()
1808 error = VOP_ACCESS(vs->vs_vp, accmode, cred, curthread); in nlm_get_vfs_state()
1815 error = VOP_ACCESS(vs->vs_vp, VWRITE, cred, curthread); in nlm_get_vfs_state()
[all …]
/netbsd-src/sys/arch/atari/dev/
H A Dgrf.c366 struct view_size vs; in grf_viewsync() local
387 if ((*view_cdevsw.d_ioctl)(gp->g_viewdev, VIOCGSIZE, (void *)&vs, 0, in grf_viewsync()
393 vs.width = 640; in grf_viewsync()
394 vs.height = 400; in grf_viewsync()
395 vs.depth = 1; in grf_viewsync()
397 gi->gd_colors = 1 << vs.depth; in grf_viewsync()
398 gi->gd_planes = vs.depth; in grf_viewsync()
400 gi->gd_fbwidth = vs.width; in grf_viewsync()
401 gi->gd_fbheight = vs.height; in grf_viewsync()
404 gi->gd_dyn.gdi_dwidth = vs.width; in grf_viewsync()
[all …]
H A Dview.c196 view_setsize(struct view_softc *vu, struct view_size *vs) in view_setsize() argument
205 if (vs->x != vu->size.x || vs->y != vu->size.y) in view_setsize()
208 if (vs->width != vu->size.width || vs->height != vu->size.height || in view_setsize()
209 vs->depth != vu->size.depth) in view_setsize()
215 ns.width = vs->width; in view_setsize()
216 ns.height = vs->height; in view_setsize()
218 if ((dmode = grf_get_best_mode(&ns, vs->depth)) != NULL) { in view_setsize()
225 new = grf_alloc_view(dmode, &ns, vs->depth); in view_setsize()
/netbsd-src/sys/arch/sparc/sparc/
H A Dpmap.c2030 int vr, int vs, struct mmuentry *mh) in mmu_pagein_seg() argument
2038 sp->sg_pmeg = pmeg = me_alloc(mh, pm, vr, vs); in mmu_pagein_seg()
2072 int vr, vs, bits; in mmu_pagein() local
2084 vs = VA_VSEG(va); in mmu_pagein()
2102 sp = &rp->rg_segmap[vs]; in mmu_pagein()
2116 mmu_pagein_seg(pm, sp, va, vr, vs, &segm_lru); in mmu_pagein()
2371 int va, vr, vs; in pv_changepte4_4c() local
2389 vs = VA_VSEG(va); in pv_changepte4_4c()
2391 sp = &rp->rg_segmap[vs]; in pv_changepte4_4c()
2441 int pte, va, vr, vs, pmeg, flags; in pv_syncflags4_4c() local
[all …]
/netbsd-src/lib/libc/rpc/
H A Dxdr_float.c116 struct vax_single vs, *vsp; in xdr_float() local
126 vs = *((struct vax_single *)(void *)fp); in xdr_float()
130 if ((vs.mantissa2 == lim->s.mantissa2) && in xdr_float()
131 (vs.exp == lim->s.exp) && in xdr_float()
132 (vs.mantissa1 == lim->s.mantissa1)) { in xdr_float()
137 is.exp = vs.exp - VAX_SNG_BIAS + IEEE_SNG_BIAS; in xdr_float()
138 is.mantissa = (vs.mantissa1 << 16) | vs.mantissa2; in xdr_float()
140 is.sign = vs.sign; in xdr_float()
/netbsd-src/crypto/external/bsd/heimdal/dist/cf/
H A Dw32-check-exported-symbols.pl53 open (my $vs, '<', $vs_name) or die $!;
59 while(<$vs>)
101 close($vs);
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/docs/
H A Dtools.md12 displayment of the normal iterations vs the aggregates. When passed, it will
125 [BM_memcpy vs. BM_copy]/8 +5.2829 +5.2812 36 227 …
126 [BM_memcpy vs. BM_copy]/64 +21.1719 +21.1856 74 1640 …
127 [BM_memcpy vs. BM_copy]/512 +145.6487 +145.6097 87 12804 …
128 [BM_memcpy vs. BM_copy]/1024 +227.1860 +227.1776 111 25409 …
129 [BM_memcpy vs. BM_copy]/8192 +308.1664 +308.2898 657 202986 …
176 [BM_memcpy vs. BM_copy]/8 +5.1649 +5.1637 37 230 …
177 [BM_memcpy vs. BM_copy]/64 +21.4352 +21.4374 74 1654 …
178 [BM_memcpy vs. BM_copy]/512 +143.6022 +143.5865 91 13122 …
179 [BM_memcpy vs. BM_copy]/1024 +221.5903 +221.4790 120 26679 …
[all …]
/netbsd-src/usr.bin/make/unit-tests/
H A Dmeta-cmd-cmp.exp16 vs
26 vs
32 vs
43 vs
/netbsd-src/lib/libkvm/
H A Dkvm_sparc.c180 int vr, vs, pte; in _kvm_kvatop44c() local
204 vs = VA_VSEG(va); in _kvm_kvatop44c()
206 sp = &segmaps[(vr-nureg)*NSEGRG + vs]; in _kvm_kvatop44c()
228 int vr, vs; in _kvm_kvatop4m() local
250 vs = VA_VSEG(va); in _kvm_kvatop4m()
252 sp = &segmaps[(vr-nureg)*NSEGRG + vs]; in _kvm_kvatop4m()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/
H A Dnouveau_nvkm_subdev_instmem_nv40.c197 int ret, vs; in nv40_instmem_oneinit() local
203 vs = hweight8((nvkm_rd32(device, 0x001540) & 0x0000ff00) >> 8); in nv40_instmem_oneinit()
204 if (device->chipset == 0x40) imem->base.reserved = 0x6aa0 * vs; in nv40_instmem_oneinit()
205 else if (device->chipset < 0x43) imem->base.reserved = 0x4f00 * vs; in nv40_instmem_oneinit()
206 else if (nv44_gr_class(device)) imem->base.reserved = 0x4980 * vs; in nv40_instmem_oneinit()
207 else imem->base.reserved = 0x4a40 * vs; in nv40_instmem_oneinit()
/netbsd-src/external/cddl/osnet/dist/cmd/zpool/
H A Dzpool_main.c1333 vdev_stat_t *vs; in print_status_config() local
1346 (uint64_t **)&vs, &vsc) == 0); in print_status_config()
1348 state = zpool_state_to_name(vs->vs_state, vs->vs_aux); in print_status_config()
1354 if (vs->vs_aux == VDEV_AUX_SPARED) in print_status_config()
1356 else if (vs->vs_state == VDEV_STATE_HEALTHY) in print_status_config()
1364 zfs_nicenum(vs->vs_read_errors, rbuf, sizeof (rbuf)); in print_status_config()
1365 zfs_nicenum(vs->vs_write_errors, wbuf, sizeof (wbuf)); in print_status_config()
1366 zfs_nicenum(vs->vs_checksum_errors, cbuf, sizeof (cbuf)); in print_status_config()
1372 vs->vs_state <= VDEV_STATE_CANT_OPEN) { in print_status_config()
1376 } else if (vs->vs_aux != 0) { in print_status_config()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DDiagnosticASTKinds.td93 "specifiers (%1 vs %3) has unspecified value">;
412 "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)">,
477 "different translation units (%2 vs. %3)">;
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mpn/powerpc32/vmx/
H A Dlogops_n.asm119 define(`vs', `v9')
190 lvsl vs, 0, vp
198 vperm v5, v3, v1, vs
214 vperm v5, v3, v1, vs
223 vperm v5, v1, v3, vs
242 vperm v5, v3, v1, vs
259 vperm v5, v1, v3, vs
/netbsd-src/external/bsd/openldap/dist/servers/slapd/slapi/
H A Dslapi_utils.c590 slapi_entry_add_valueset(Slapi_Entry *e, const char *type, Slapi_ValueSet *vs) in slapi_entry_add_valueset() argument
601 return attr_merge_normalize( e, ad, *vs, NULL ); in slapi_entry_add_valueset()
2277 int slapi_attr_get_valueset( const Slapi_Attr *a, Slapi_ValueSet **vs ) in slapi_attr_get_valueset() argument
2279 *vs = &((Slapi_Attr *)a)->a_vals; in slapi_attr_get_valueset()
2488 Slapi_ValueSet *vs; in slapi_valueset_new() local
2490 vs = (Slapi_ValueSet *)slapi_ch_malloc( sizeof( *vs ) ); in slapi_valueset_new()
2491 *vs = NULL; in slapi_valueset_new()
2493 return vs; in slapi_valueset_new()
2496 void slapi_valueset_free(Slapi_ValueSet *vs) in slapi_valueset_free() argument
2498 if ( vs != NULL ) { in slapi_valueset_free()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/docs/
H A Dtools.md184 [BM_memcpy vs. BM_copy]/8 +5.2829 +5.2812 36 227 …
185 [BM_memcpy vs. BM_copy]/64 +21.1719 +21.1856 74 1640 …
186 [BM_memcpy vs. BM_copy]/512 +145.6487 +145.6097 87 12804 …
187 [BM_memcpy vs. BM_copy]/1024 +227.1860 +227.1776 111 25409 …
188 [BM_memcpy vs. BM_copy]/8192 +308.1664 +308.2898 657 202986 …
235 [BM_memcpy vs. BM_copy]/8 +5.1649 +5.1637 37 230 …
236 [BM_memcpy vs. BM_copy]/64 +21.4352 +21.4374 74 1654 …
237 [BM_memcpy vs. BM_copy]/512 +143.6022 +143.5865 91 13122 …
238 [BM_memcpy vs. BM_copy]/1024 +221.5903 +221.4790 120 26679 …
239 [BM_memcpy vs. BM_copy]/8192 +322.9059 +323.0096 664 215068 …

12345678910>>...48