| /src/sys/dev/wscons/ |
| wsemul_vt100_subr.c | 57 wsemul_vt100_scrollup(struct vt100base_data *vd, int n) 61 if (n > vd->scrreg_nrows) 62 n = vd->scrreg_nrows; 64 help = vd->scrreg_nrows - n; 66 (*vd->emulops->copyrows)(vd->emulcookie, 67 vd->scrreg_startrow + n, 68 vd->scrreg_startrow, 70 if (vd->dblwid) 71 memmove(&vd->dblwid[vd->scrreg_startrow] [all...] |
| wsemul_vt100.c | 145 struct vt100base_data *vd = &edp->bd; local 148 vd->emulops = type->textops; 149 vd->emulcookie = cookie; 150 vd->scrcapabilities = type->capabilities; 151 vd->nrows = type->nrows; 152 vd->ncols = type->ncols; 153 vd->crow = crow; 154 vd->ccol = ccol; 162 vd->msgattrs.default_attrs = WS_DEFAULT_COLATTR | 164 vd->msgattrs.default_bg = WS_DEFAULT_BG 220 struct vt100base_data *vd; local 245 struct vt100base_data *vd; local 277 struct vt100base_data *vd = &edp->bd; local 315 struct vt100base_data *vd = &edp->bd; local 338 struct vt100base_data *vd = &edp->bd; local 415 struct vt100base_data *vd = &edp->bd; local 454 struct vt100base_data *vd = &edp->bd; local 544 struct vt100base_data *vd = &edp->bd; local 800 struct vt100base_data *vd = &edp->bd; local 810 struct vt100base_data *vd = &edp->bd; local 822 struct vt100base_data *vd = &edp->bd; local 870 struct vt100base_data *vd = &edp->bd; local 912 struct vt100base_data *vd = &edp->bd; local 968 struct vt100base_data *vd = &edp->bd; local 1009 struct vt100base_data *vd = &edp->bd; local 1042 struct vt100base_data *vd = &edp->bd; local 1054 struct vt100base_data *vd = &edp->bd; local [all...] |
| wsdisplay_vcons.c | 184 vcons_init_common(struct vcons_data *vd, void *cookie, 191 memset(vd, 0, sizeof(struct vcons_data)); 193 vd->private = vdp = kmem_zalloc(sizeof(*vdp), KM_SLEEP); 194 vd->cookie = cookie; 196 vd->init_screen = vcons_dummy_init_screen; 197 vd->show_screen_cb = NULL; 214 vd->active = NULL; 219 callout_setfunc(&vdp->switch_callout, vcons_do_switch, vd); 238 vcons_softintr, vd); 240 callout_setfunc(&vdp->intr, vcons_intr, vd); 460 struct vcons_data *vd = v; local 594 struct vcons_data *vd = arg; local 669 struct vcons_data *vd = scr->scr_vd; local 772 struct vcons_data *vd = scr->scr_vd; local 827 struct vcons_data *vd = v; local 885 struct vcons_data *vd = v; local 925 struct vcons_data *vd = v; local 956 struct vcons_data *vd = v; local 1024 struct vcons_data *vd = scr->scr_vd; local 1085 struct vcons_data *vd = scr->scr_vd; local 1179 struct vcons_data *vd = scr->scr_vd; local 1242 struct vcons_data *vd = scr->scr_vd; local 1304 struct vcons_data *vd = scr->scr_vd; local 1616 struct vcons_data *vd = cookie; local 1625 struct vcons_data *vd = cookie; local 1652 struct vcons_data *vd = (struct vcons_data *)cookie; local 1697 struct vcons_data *vd = scr->scr_vd; local [all...] |
| wsemul_vt100_keys.c | 88 struct vt100base_data *vd = &edp->bd; local 109 if (vd->flags & VTFL_APPLKEYPAD) { 185 if (vd->flags & VTFL_APPLCURSOR) 192 if (vd->flags & VTFL_APPLCURSOR) 199 if (vd->flags & VTFL_APPLCURSOR) 206 if (vd->flags & VTFL_APPLCURSOR)
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| vdev_root.c | 50 too_many_errors(vdev_t *vd, int numerrors) 52 ASSERT3U(numerrors, <=, vd->vdev_children); 57 vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, 63 if (vd->vdev_children == 0) { 64 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; 68 vdev_open_children(vd); 70 for (int c = 0; c < vd->vdev_children; c++) { 71 vdev_t *cvd = vd->vdev_child[c]; 79 if (too_many_errors(vd, numerrors)) { 80 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS [all...] |
| vdev.c | 191 vdev_default_asize(vdev_t *vd, uint64_t psize) 193 uint64_t asize = P2ROUNDUP(psize, 1ULL << vd->vdev_top->vdev_ashift); 196 for (int c = 0; c < vd->vdev_children; c++) { 197 csize = vdev_psize_to_asize(vd->vdev_child[c], psize); 211 vdev_get_min_asize(vdev_t *vd) 213 vdev_t *pvd = vd->vdev_parent; 220 return (vd->vdev_asize); 226 if (vd == vd->vdev_top) 227 return (P2ALIGN(vd->vdev_asize, 1ULL << vd->vdev_ms_shift)) 410 vdev_t *vd; local 475 vdev_t *vd; local 796 vdev_t *vd; local 1053 vdev_t *vd = zio->io_vd; local 1204 vdev_t *vd = arg; local 2498 vdev_t *vd, *tvd; local 2554 vdev_t *vd; local 2589 vdev_t *vd, *tvd, *pvd, *rvd = spa->spa_root_vdev; local 2649 vdev_t *vd, *tvd; local 2970 vdev_t *vd = zio->io_vd ? zio->io_vd : rvd; local [all...] |
| vdev_label.c | 187 vdev_label_read(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset, 194 zio_nowait(zio_read_phys(zio, vd, 195 vdev_label_offset(vd->vdev_psize, l, offset), 201 vdev_label_write(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset, 210 zio_nowait(zio_write_phys(zio, vd, 211 vdev_label_offset(vd->vdev_psize, l, offset), 220 vdev_config_generate(spa_t *spa, vdev_t *vd, boolean_t getstats, 227 fnvlist_add_string(nv, ZPOOL_CONFIG_TYPE, vd->vdev_ops->vdev_op_type); 229 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ID, vd->vdev_id); 230 fnvlist_add_uint64(nv, ZPOOL_CONFIG_GUID, vd->vdev_guid) 952 vdev_t *vd = zio->io_vd; local 1199 vdev_t *vd; local 1253 vdev_t *vd; local [all...] |
| vdev_file.c | 39 vdev_file_hold(vdev_t *vd) 41 ASSERT(vd->vdev_path != NULL); 45 vdev_file_rele(vdev_t *vd) 47 ASSERT(vd->vdev_path != NULL); 51 vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, 62 if (vd->vdev_path == NULL || vd->vdev_path[0] != '/') { 63 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; 71 if (vd->vdev_tsd != NULL) { 72 ASSERT(vd->vdev_reopening) 163 vdev_t *vd = zio->io_vd; local [all...] |
| vdev_geom.c | 75 vdev_geom_set_rotation_rate(vdev_t *vd, struct g_consumer *cp) 82 vd->vdev_rotation_rate = rate; 84 vd->vdev_rotation_rate = VDEV_RATE_UNKNOWN; 91 vdev_t *vd; local 98 vd = cp->private; 108 old_physpath = vd->vdev_physpath; 109 vd->vdev_physpath = spa_strdup(physpath); 113 vd->vdev_physpath) != 0); 126 spa_async_request(vd->vdev_spa, SPA_ASYNC_CONFIG_UPDATE); 133 vdev_t *vd; local 155 vdev_t *vd; local 292 vdev_t *vd; local 920 vdev_t *vd; local 969 vdev_t *vd; local [all...] |
| vdev_disk.c | 57 vdev_disk_alloc(vdev_t *vd) 61 dvd = vd->vdev_tsd = kmem_zalloc(sizeof (vdev_disk_t), KM_SLEEP); 74 vdev_disk_free(vdev_t *vd) 76 vdev_disk_t *dvd = vd->vdev_tsd; 87 * callbacks and free vd->vdev_tsd. 97 vd->vdev_tsd = NULL; 105 vdev_disk_hold(vdev_t *vd) 108 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER)); 113 vdev_disk_rele(vdev_t *vd) 116 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER)) 431 vdev_t *vd = zio->io_vd; local 534 vdev_t *vd = zio->io_vd; local [all...] |
| trim_map.c | 40 #define TRIM_ZIO_END(vd, offset, size) (offset + \ 41 P2ROUNDUP(size, 1ULL << vd->vdev_top->vdev_ashift)) 100 static void trim_map_vdev_commit_done(spa_t *spa, vdev_t *vd); 141 trim_map_create(vdev_t *vd) 145 ASSERT(zfs_trim_enabled && !vd->vdev_notrim && 146 vd->vdev_ops->vdev_op_leaf); 160 vd->vdev_trimmap = tm; 164 trim_map_destroy(vdev_t *vd) 169 ASSERT(vd->vdev_ops->vdev_op_leaf); 174 tm = vd->vdev_trimmap 337 vdev_t *vd = zio->io_vd; local 383 vdev_t *vd = zio->io_vd; local [all...] |
| zfs_fm.c | 107 const char *subclass, spa_t *spa, vdev_t *vd, zio_t *zio, 157 if (vd != NULL) { 167 if (zio->io_vd == vd && !vdev_accessible(vd, zio)) 176 vd->vdev_ops->vdev_op_leaf && 177 vdev_dtl_contains(vd, DTL_MISSING, zio->io_txg, 1)) 186 if (vd != NULL && 188 (vd->vdev_remove_wanted || vd->vdev_state == VDEV_STATE_REMOVED)) 229 vd != NULL ? vd->vdev_guid : 0) [all...] |
| vdev_missing.c | 47 vdev_missing_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, 65 vdev_missing_close(vdev_t *vd)
|
| /src/usr.sbin/mscdlabel/ |
| iso9660.c | 16 printinfo(struct iso_primary_descriptor *vd) 20 strlcpy(label, vd->volume_id, sizeof(label)); 27 d = vd->creation_date; 41 struct iso_primary_descriptor *vd; local 44 vd = malloc(BLKSIZ); 47 res = pread(fd, vd, BLKSIZ, (start + i) * BLKSIZ); 53 if (memcmp(vd->id, ISO_STANDARD_ID, sizeof(vd->id))) 55 if (isonum_711(vd->type) == ISO_VD_PRIMARY) { 56 printinfo(vd); [all...] |
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| vdev.h | 58 extern int vdev_validate_aux(vdev_t *vd); 59 extern zio_t *vdev_probe(vdev_t *vd, zio_t *pio); 61 extern boolean_t vdev_is_bootable(vdev_t *vd); 63 extern vdev_t *vdev_lookup_by_guid(vdev_t *vd, uint64_t guid); 65 extern void vdev_dtl_dirty(vdev_t *vd, vdev_dtl_type_t d, 67 extern boolean_t vdev_dtl_contains(vdev_t *vd, vdev_dtl_type_t d, 69 extern boolean_t vdev_dtl_empty(vdev_t *vd, vdev_dtl_type_t d); 70 extern void vdev_dtl_reassess(vdev_t *vd, uint64_t txg, uint64_t scrub_txg, 72 extern boolean_t vdev_dtl_required(vdev_t *vd); 73 extern boolean_t vdev_resilver_needed(vdev_t *vd, [all...] |
| trim_map.h | 37 extern void trim_map_create(vdev_t *vd); 38 extern void trim_map_destroy(vdev_t *vd); 39 extern void trim_map_free(vdev_t *vd, uint64_t offset, uint64_t size, uint64_t txg);
|
| vdev_impl.h | 62 typedef int vdev_open_func_t(vdev_t *vd, uint64_t *size, uint64_t *max_size, 64 typedef void vdev_close_func_t(vdev_t *vd); 65 typedef uint64_t vdev_asize_func_t(vdev_t *vd, uint64_t psize); 68 typedef void vdev_state_change_func_t(vdev_t *vd, int, int); 69 typedef void vdev_hold_func_t(vdev_t *vd); 70 typedef void vdev_rele_func_t(vdev_t *vd); 276 #define VDEV_UBERBLOCK_SHIFT(vd) \ 277 MIN(MAX((vd)->vdev_top->vdev_ashift, UBERBLOCK_SHIFT), \ 279 #define VDEV_UBERBLOCK_COUNT(vd) \ 280 (VDEV_UBERBLOCK_RING >> VDEV_UBERBLOCK_SHIFT(vd)) [all...] |
| /src/libexec/ld.elf_so/ |
| symver.c | 138 const Elf_Verdef *vd = depobj->verdef; local 141 if (vd == NULL) { 147 for (;; vd = (const Elf_Verdef *)((const char *)vd + vd->vd_next)) { 148 if (vd->vd_version != VER_DEF_CURRENT) { 151 depobj->path, vd->vd_version); 154 dbg(("hash: 0x%x, vd_hash: 0x%x", hash, vd->vd_hash)); 155 if (hash == vd->vd_hash) { 157 ((const char *)vd + vd->vd_aux) 180 const Elf_Verdef *vd; local [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| regcprop.cc | 111 free_debug_insn_changes (struct value_data *vd, unsigned int regno) 114 for (cur = vd->e[regno].debug_insn_changes; cur; cur = next) 117 --vd->n_debug_insn_changes; 120 vd->e[regno].debug_insn_changes = NULL; 129 kill_value_one_regno (unsigned int regno, struct value_data *vd) 133 if (vd->e[regno].oldest_regno != regno) 135 for (i = vd->e[regno].oldest_regno; 136 vd->e[i].next_regno != regno; 137 i = vd->e[i].next_regno) 139 vd->e[i].next_regno = vd->e[regno].next_regno 200 kill_value_regno (REGNO (x), REG_NREGS (x), vd); local 240 struct value_data *const vd = (struct value_data *) data; local 249 struct value_data *vd; member in struct:kill_set_value_data 285 set_value_regno (REGNO (x), GET_MODE (x), vd); local 739 struct value_data *const vd = (struct value_data *) data; local 790 ADDR_SPACE_GENERIC, insn, vd); local 856 note_uses (&PATTERN (insn), cprop_find_used_regs, vd); local 883 kill_value (XEXP (link, 0), vd); local 1075 note_uses (&PATTERN (insn), cprop_find_used_regs, vd); local 1097 set_value_regno (REGNO (dest), GET_MODE (dest), vd); local 1153 copy_value (SET_DEST (set), SET_SRC (set), vd); local 1230 struct value_data *vd; local [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| regcprop.cc | 111 free_debug_insn_changes (struct value_data *vd, unsigned int regno) 114 for (cur = vd->e[regno].debug_insn_changes; cur; cur = next) 117 --vd->n_debug_insn_changes; 120 vd->e[regno].debug_insn_changes = NULL; 129 kill_value_one_regno (unsigned int regno, struct value_data *vd) 133 if (vd->e[regno].oldest_regno != regno) 135 for (i = vd->e[regno].oldest_regno; 136 vd->e[i].next_regno != regno; 137 i = vd->e[i].next_regno) 139 vd->e[i].next_regno = vd->e[regno].next_regno 200 kill_value_regno (REGNO (x), REG_NREGS (x), vd); local 240 struct value_data *const vd = (struct value_data *) data; local 249 struct value_data *vd; member in struct:kill_set_value_data 285 set_value_regno (REGNO (x), GET_MODE (x), vd); local 729 struct value_data *const vd = (struct value_data *) data; local 780 ADDR_SPACE_GENERIC, insn, vd); local 846 note_uses (&PATTERN (insn), cprop_find_used_regs, vd); local 873 kill_value (XEXP (link, 0), vd); local 1060 note_uses (&PATTERN (insn), cprop_find_used_regs, vd); local 1082 set_value_regno (REGNO (dest), GET_MODE (dest), vd); local 1138 copy_value (SET_DEST (set), SET_SRC (set), vd); local 1215 struct value_data *vd; local [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/perlasm/ |
| riscv.pm | 420 # vadd.vv vd, vs2, vs1, vm 422 my $vd = read_vreg shift; 426 return ".word ".($template | ($vm << 25) | ($vs2 << 20) | ($vs1 << 15) | ($vd << 7)); 430 # vadd.vx vd, vs2, rs1, vm 432 my $vd = read_vreg shift; 436 return ".word ".($template | ($vm << 25) | ($vs2 << 20) | ($rs1 << 15) | ($vd << 7)); 440 # vsub.vv vd, vs2, vs1, vm 442 my $vd = read_vreg shift; 446 return ".word ".($template | ($vm << 25) | ($vs2 << 20) | ($vs1 << 15) | ($vd << 7)); 450 # vsub.vx vd, vs2, rs1, v [all...] |
| /src/sys/arch/x68k/dev/ |
| vs.c | 368 struct vs_dma *vd; local 375 for (vd = sc->sc_dmas; vd != NULL; vd = vd->vd_next) { 376 if (KVADDR(vd) <= block && block < KVADDR_END(vd) 379 if (vd == NULL) { 387 if (vd != sc->sc_prev_vd) { 389 vd->vd_map, DMAC_OCR_DIR_MTD [all...] |
| /src/lib/libc/rpc/ |
| xdr_float.c | 220 struct vax_double vd; 244 vd = *((struct vax_double *)(void *)dp); 248 if ((vd.mantissa4 == lim->d.mantissa4) && 249 (vd.mantissa3 == lim->d.mantissa3) && 250 (vd.mantissa2 == lim->d.mantissa2) && 251 (vd.mantissa1 == lim->d.mantissa1) && 252 (vd.exp == lim->d.exp)) { 258 id.exp = vd.exp - VAX_DBL_BIAS + IEEE_DBL_BIAS; 259 id.mantissa1 = (vd.mantissa1 << 13) | 260 ((unsigned int)vd.mantissa2 >> 3) [all...] |
| /src/sys/dev/sun/ |
| cgthreevar.h | 52 struct vcons_data vd; member in struct:cgthree_softc
|
| /src/sys/arch/virt68k/dev/ |
| mainbus.c | 102 struct bi_virt_dev *vd = bootinfo_dataptr(bi); local 108 ma.ma_addr = vd->vd_mmio_base + (i * 0x1000); 110 ma.ma_irq = vd->vd_irq_base + i; 126 struct bi_virt_dev *vd = bootinfo_dataptr(bi); local 142 ma.ma_addr = vd->vd_mmio_base + (i * 0x1000); 144 ma.ma_irq = vd->vd_irq_base + i; 151 ma.ma_addr = vd->vd_mmio_base; 153 ma.ma_irq = vd->vd_irq_base; 194 struct bi_virt_dev *vd = bootinfo_dataptr(bi); local 208 ma.ma_addr = vd->vd_mmio_base + (i * 0x200) [all...] |