Home
last modified time | relevance | path

Searched refs:vd (Results 1 – 25 of 148) sorted by relevance

123456

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_initialize.c48 vdev_initialize_should_stop(vdev_t *vd) in vdev_initialize_should_stop() argument
50 return (vd->vdev_initialize_exit_wanted || !vdev_writeable(vd) || in vdev_initialize_should_stop()
51 vd->vdev_detached || vd->vdev_top->vdev_removing || in vdev_initialize_should_stop()
52 vd->vdev_top->vdev_rz_expanding); in vdev_initialize_should_stop()
70 vdev_t *vd = spa_lookup_by_guid(tx->tx_pool->dp_spa, guid, B_FALSE); in vdev_initialize_zap_update_sync() local
71 if (vd == NULL || vd->vdev_top->vdev_removing || in vdev_initialize_zap_update_sync()
72 !vdev_is_concrete(vd) || vd->vdev_top->vdev_rz_expanding) in vdev_initialize_zap_update_sync()
75 uint64_t last_offset = vd->vdev_initialize_offset[txg & TXG_MASK]; in vdev_initialize_zap_update_sync()
76 vd->vdev_initialize_offset[txg & TXG_MASK] = 0; in vdev_initialize_zap_update_sync()
78 VERIFY(vd->vdev_leaf_zap != 0); in vdev_initialize_zap_update_sync()
[all …]
H A Dvdev.c173 vdev_dbgmsg(vdev_t *vd, const char *fmt, ...) in vdev_dbgmsg() argument
182 if (vd->vdev_path != NULL) { in vdev_dbgmsg()
183 zfs_dbgmsg("%s vdev '%s': %s", vd->vdev_ops->vdev_op_type, in vdev_dbgmsg()
184 vd->vdev_path, buf); in vdev_dbgmsg()
187 vd->vdev_ops->vdev_op_type, in vdev_dbgmsg()
188 (u_longlong_t)vd->vdev_id, in vdev_dbgmsg()
189 (u_longlong_t)vd->vdev_guid, buf); in vdev_dbgmsg()
194 vdev_dbgmsg_print_tree(vdev_t *vd, int indent) in vdev_dbgmsg_print_tree() argument
198 if (vd->vdev_ishole || vd->vdev_ops == &vdev_missing_ops) { in vdev_dbgmsg_print_tree()
200 (u_longlong_t)vd->vdev_id, in vdev_dbgmsg_print_tree()
[all …]
H A Dvdev_trim.c169 vdev_trim_should_stop(vdev_t *vd) in vdev_trim_should_stop() argument
171 return (vd->vdev_trim_exit_wanted || !vdev_writeable(vd) || in vdev_trim_should_stop()
172 vd->vdev_detached || vd->vdev_top->vdev_removing || in vdev_trim_should_stop()
173 vd->vdev_top->vdev_rz_expanding); in vdev_trim_should_stop()
193 vdev_autotrim_wait_kick(vdev_t *vd, int num_of_kick) in vdev_autotrim_wait_kick() argument
195 mutex_enter(&vd->vdev_autotrim_lock); in vdev_autotrim_wait_kick()
197 if (vd->vdev_autotrim_exit_wanted) in vdev_autotrim_wait_kick()
199 cv_wait_idle(&vd->vdev_autotrim_kick_cv, in vdev_autotrim_wait_kick()
200 &vd->vdev_autotrim_lock); in vdev_autotrim_wait_kick()
202 boolean_t exit_wanted = vd->vdev_autotrim_exit_wanted; in vdev_autotrim_wait_kick()
[all …]
H A Dvdev_rebuild.c145 clear_rebuild_bytes(vdev_t *vd) in clear_rebuild_bytes() argument
147 vdev_stat_t *vs = &vd->vdev_stat; in clear_rebuild_bytes()
149 for (uint64_t i = 0; i < vd->vdev_children; i++) in clear_rebuild_bytes()
150 clear_rebuild_bytes(vd->vdev_child[i]); in clear_rebuild_bytes()
152 mutex_enter(&vd->vdev_stat_lock); in clear_rebuild_bytes()
154 mutex_exit(&vd->vdev_stat_lock); in clear_rebuild_bytes()
161 vdev_rebuild_should_stop(vdev_t *vd) in vdev_rebuild_should_stop() argument
163 return (!vdev_writeable(vd) || vd->vdev_removing || in vdev_rebuild_should_stop()
164 vd->vdev_rebuild_exit_wanted || in vdev_rebuild_should_stop()
165 vd->vdev_rebuild_cancel_wanted || in vdev_rebuild_should_stop()
[all …]
H A Dvdev_label.c188 vdev_label_read(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_read() argument
196 zio_nowait(zio_read_phys(zio, vd, in vdev_label_read()
197 vdev_label_offset(vd->vdev_psize, l, offset), in vdev_label_read()
203 vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_write() argument
211 zio_nowait(zio_write_phys(zio, vd, in vdev_label_write()
212 vdev_label_offset(vd->vdev_psize, l, offset), in vdev_label_write()
221 vdev_config_generate_stats(vdev_t *vd, nvlist_t *nv) in vdev_config_generate_stats() argument
230 vdev_get_stats_ex(vd, vs, vsx); in vdev_config_generate_stats()
403 root_vdev_actions_getprogress(vdev_t *vd, nvlist_t *nvl) in root_vdev_actions_getprogress() argument
405 spa_t *spa = vd->vdev_spa; in root_vdev_actions_getprogress()
[all …]
H A Dvdev_removal.c171 vdev_activate(vdev_t *vd) in vdev_activate() argument
173 metaslab_group_t *mg = vd->vdev_mg; in vdev_activate()
174 spa_t *spa = vd->vdev_spa; in vdev_activate()
176 vd->vdev_stat.vs_dspace : vd->vdev_stat.vs_space; in vdev_activate()
178 ASSERT(!vd->vdev_islog); in vdev_activate()
179 ASSERT(vd->vdev_noalloc); in vdev_activate()
182 metaslab_group_activate(vd->vdev_log_mg); in vdev_activate()
188 vd->vdev_noalloc = B_FALSE; in vdev_activate()
192 vdev_passivate(vdev_t *vd, uint64_t *txg) in vdev_passivate() argument
194 spa_t *spa = vd->vdev_spa; in vdev_passivate()
[all …]
H A Dvdev_draid.c580 vdev_draid_asize(vdev_t *vd, uint64_t psize, uint64_t txg) in vdev_draid_asize() argument
583 vdev_draid_config_t *vdc = vd->vdev_tsd; in vdev_draid_asize()
584 uint64_t ashift = vd->vdev_ashift; in vdev_draid_asize()
586 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_asize()
601 vdev_draid_asize_to_psize(vdev_t *vd, uint64_t asize) in vdev_draid_asize_to_psize() argument
603 vdev_draid_config_t *vdc = vd->vdev_tsd; in vdev_draid_asize_to_psize()
614 vdev_draid_offset_to_group(vdev_t *vd, uint64_t offset) in vdev_draid_offset_to_group() argument
616 vdev_draid_config_t *vdc = vd->vdev_tsd; in vdev_draid_offset_to_group()
618 ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops); in vdev_draid_offset_to_group()
627 vdev_draid_group_to_offset(vdev_t *vd, uint64_t group) in vdev_draid_group_to_offset() argument
[all …]
H A Dvdev_root.c41 vdev_root_core_tvds(vdev_t *vd) in vdev_root_core_tvds() argument
45 for (uint64_t c = 0; c < vd->vdev_children; c++) { in vdev_root_core_tvds()
46 vdev_t *cvd = vd->vdev_child[c]; in vdev_root_core_tvds()
67 too_many_errors(vdev_t *vd, uint64_t numerrors) in too_many_errors() argument
74 tvds = vdev_root_core_tvds(vd); in too_many_errors()
80 return (numerrors > spa_missing_tvds_allowed(vd->vdev_spa)); in too_many_errors()
84 vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_root_open() argument
87 spa_t *spa = vd->vdev_spa; in vdev_root_open()
91 if (vd->vdev_children == 0) { in vdev_root_open()
92 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_root_open()
[all …]
H A Dvdev_indirect.c324 vdev_indirect_mark_obsolete(vdev_t *vd, uint64_t offset, uint64_t size) in vdev_indirect_mark_obsolete() argument
326 spa_t *spa = vd->vdev_spa; in vdev_indirect_mark_obsolete()
328 ASSERT3U(vd->vdev_indirect_config.vic_mapping_object, !=, 0); in vdev_indirect_mark_obsolete()
329 ASSERT(vd->vdev_removing || vd->vdev_ops == &vdev_indirect_ops); in vdev_indirect_mark_obsolete()
332 vd->vdev_indirect_mapping, offset) != NULL); in vdev_indirect_mark_obsolete()
335 mutex_enter(&vd->vdev_obsolete_lock); in vdev_indirect_mark_obsolete()
336 range_tree_add(vd->vdev_obsolete_segments, offset, size); in vdev_indirect_mark_obsolete()
337 mutex_exit(&vd->vdev_obsolete_lock); in vdev_indirect_mark_obsolete()
338 vdev_dirty(vd, 0, NULL, spa_syncing_txg(spa)); in vdev_indirect_mark_obsolete()
351 vdev_t *vd = vdev_lookup_top(spa, vdev_id); in spa_vdev_indirect_mark_obsolete() local
[all …]
H A Dzfs_fm.c207 vdev_prop_get_inherited(vdev_t *vd, vdev_prop_t prop) in vdev_prop_get_inherited() argument
214 propval = vd->vdev_checksum_n; in vdev_prop_get_inherited()
217 propval = vd->vdev_checksum_t; in vdev_prop_get_inherited()
220 propval = vd->vdev_io_n; in vdev_prop_get_inherited()
223 propval = vd->vdev_io_t; in vdev_prop_get_inherited()
226 propval = vd->vdev_slow_io_n; in vdev_prop_get_inherited()
229 propval = vd->vdev_slow_io_t; in vdev_prop_get_inherited()
239 if (vd->vdev_parent == NULL) in vdev_prop_get_inherited()
242 return (vdev_prop_get_inherited(vd->vdev_parent, prop)); in vdev_prop_get_inherited()
295 zfs_ereport_clear(spa_t *spa, vdev_t *vd) in zfs_ereport_clear() argument
[all …]
H A Dspa_checkpoint.c210 vdev_t *vd = sdc->sdc_vd; in spa_checkpoint_discard_sync_callback() local
211 metaslab_t *ms = vd->vdev_ms[sme->sme_offset >> vd->vdev_ms_shift]; in spa_checkpoint_discard_sync_callback()
239 vdev_dirty(vd, VDD_METASLAB, ms, sdc->sdc_txg); in spa_checkpoint_discard_sync_callback()
243 ASSERT3U(vd->vdev_spa->spa_checkpoint_info.sci_dspace, >=, in spa_checkpoint_discard_sync_callback()
245 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, >=, sme->sme_run); in spa_checkpoint_discard_sync_callback()
247 vd->vdev_spa->spa_checkpoint_info.sci_dspace -= sme->sme_run; in spa_checkpoint_discard_sync_callback()
248 vd->vdev_stat.vs_checkpoint_space -= sme->sme_run; in spa_checkpoint_discard_sync_callback()
263 vdev_t *vd = rvd->vdev_child[c]; in spa_checkpoint_accounting_verify() local
265 if (vd->vdev_checkpoint_sm != NULL) { in spa_checkpoint_accounting_verify()
267 -space_map_allocated(vd->vdev_checkpoint_sm); in spa_checkpoint_accounting_verify()
[all …]
/freebsd/stand/common/
H A Dvdisk.c75 vdisk_info_t *vd; in vdisk_get_info() local
77 STAILQ_FOREACH(vd, &vdisk_list, vdisk_link) { in vdisk_get_info()
78 if (vd->vdisk_unit == dev->d_unit) in vdisk_get_info()
79 return (vd); in vdisk_get_info()
81 return (vd); in vdisk_get_info()
89 vdisk_info_t *vd, *p; in command_mapvd() local
97 STAILQ_FOREACH(vd, &vdisk_list, vdisk_link) { in command_mapvd()
98 if (strcmp(vd->vdisk_path, argv[1]) == 0) { in command_mapvd()
101 vd->vdisk_unit); in command_mapvd()
126 vd = calloc(1, sizeof (*vd)); in command_mapvd()
[all …]
/freebsd/sys/dev/vt/
H A Dvt_core.c299 vt_schedule_flush(struct vt_device *vd, int ms) in vt_schedule_flush() argument
306 callout_schedule(&vd->vd_timer, hz / (1000 / ms)); in vt_schedule_flush()
312 struct vt_device *vd = vw->vw_device; in vt_resume_flush_timer() local
314 if (vd->vd_curwindow != vw) in vt_resume_flush_timer()
317 if (!(vd->vd_flags & VDF_ASYNC) || in vt_resume_flush_timer()
318 !atomic_cmpset_int(&vd->vd_timer_armed, 0, 1)) in vt_resume_flush_timer()
321 vt_schedule_flush(vd, ms); in vt_resume_flush_timer()
325 vt_suspend_flush_timer(struct vt_device *vd) in vt_suspend_flush_timer() argument
332 VT_LOCK_ASSERT(vd, MA_OWNED); in vt_suspend_flush_timer()
334 if (!(vd->vd_flags & VDF_ASYNC) || in vt_suspend_flush_timer()
[all …]
H A Dvt_cpulogos.c65 vt_draw_2_vga16_px(struct vt_device *vd, vt_axis_t x, vt_axis_t y, in vt_draw_2_vga16_px() argument
69 vd->vd_driver->vd_setpixel(vd, x, y, vt_vga2bsd(color >> 4)); in vt_draw_2_vga16_px()
70 vd->vd_driver->vd_setpixel(vd, x + 1, y, vt_vga2bsd(color & 0xf)); in vt_draw_2_vga16_px()
74 vt_draw_1_logo(struct vt_device *vd, vt_axis_t top, vt_axis_t left) in vt_draw_1_logo() argument
100 vt_draw_2_vga16_px(vd, in vt_draw_1_logo()
107 vt_draw_2_vga16_px(vd, left + (xy % vt_logo_sprite_width), in vt_draw_1_logo()
117 vtterm_draw_cpu_logos(struct vt_device *vd) in vtterm_draw_cpu_logos() argument
121 struct terminal *tm = vd->vd_curwindow->vw_terminal; in vtterm_draw_cpu_logos()
133 if (vd->vd_driver->vd_drawrect) in vtterm_draw_cpu_logos()
134 vd->vd_driver->vd_drawrect(vd, 0, 0, vd->vd_width - 1, in vtterm_draw_cpu_logos()
[all …]
H A Dvt.h173 #define VD_PASTEBUF(vd) ((vd)->vd_pastebuf.vpb_buf) argument
174 #define VD_PASTEBUFSZ(vd) ((vd)->vd_pastebuf.vpb_bufsz) argument
175 #define VD_PASTEBUFLEN(vd) ((vd)->vd_pastebuf.vpb_len) argument
177 #define VT_LOCK(vd) mtx_lock(&(vd)->vd_lock) argument
178 #define VT_UNLOCK(vd) mtx_unlock(&(vd) argument
179 VT_LOCK_ASSERT(vd,what) global() argument
181 VT_FLUSH_LOCK(vd) global() argument
185 VT_FLUSH_UNLOCK(vd) global() argument
[all...]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev.h53 typedef boolean_t vdev_open_children_func_t(vdev_t *vd);
55 extern void vdev_dbgmsg(vdev_t *vd, const char *fmt, ...)
67 extern int vdev_validate_aux(vdev_t *vd);
68 extern zio_t *vdev_probe(vdev_t *vd, zio_t *pio);
69 extern boolean_t vdev_is_concrete(vdev_t *vd);
70 extern boolean_t vdev_is_bootable(vdev_t *vd);
72 extern vdev_t *vdev_lookup_by_guid(vdev_t *vd, uint64_t guid);
74 extern void vdev_dtl_dirty(vdev_t *vd, vdev_dtl_type_t d,
76 extern boolean_t vdev_dtl_contains(vdev_t *vd, vdev_dtl_type_t d,
78 extern boolean_t vdev_dtl_empty(vdev_t *vd, vdev_dtl_type_t d);
[all …]
H A Dvdev_impl.h70 typedef void vdev_kobj_post_evt_func_t(vdev_t *vd);
71 typedef void vdev_fini_func_t(vdev_t *vd);
72 typedef int vdev_open_func_t(vdev_t *vd, uint64_t *size, uint64_t *max_size,
74 typedef void vdev_close_func_t(vdev_t *vd);
75 typedef uint64_t vdev_asize_func_t(vdev_t *vd, uint64_t psize, uint64_t txg);
76 typedef uint64_t vdev_min_asize_func_t(vdev_t *vd);
77 typedef uint64_t vdev_min_alloc_func_t(vdev_t *vd);
80 typedef void vdev_state_change_func_t(vdev_t *vd, int, int);
81 typedef boolean_t vdev_need_resilver_func_t(vdev_t *vd, const dva_t *dva,
83 typedef void vdev_hold_func_t(vdev_t *vd);
[all …]
/freebsd/sys/dev/vt/hw/fb/
H A Dvt_fb.c90 vt_fb_ioctl(struct vt_device *vd, u_long cmd, caddr_t data, struct thread *td) in vt_fb_ioctl()
95 info = vd->vd_softc; in vt_fb_ioctl()
116 if (vd->vd_driver->vd_blank == NULL) in vt_fb_ioctl()
118 vd->vd_driver->vd_blank(vd, TC_BLACK); in vt_fb_ioctl()
138 vt_fb_mmap(struct vt_device *vd, vm_ooffset_t offset, vm_paddr_t *paddr, in vt_fb_mmap()
143 info = vd->vd_softc; in vt_fb_mmap()
167 vt_fb_setpixel(struct vt_device *vd, int x, int y, term_color_t color) in vt_fb_setpixel()
173 info = vd->vd_softc; in vt_fb_setpixel()
204 vt_fb_drawrect(struct vt_device *vd, in in vt_fb_drawrect()
89 vt_fb_ioctl(struct vt_device * vd,u_long cmd,caddr_t data,struct thread * td) vt_fb_ioctl() argument
137 vt_fb_mmap(struct vt_device * vd,vm_ooffset_t offset,vm_paddr_t * paddr,int prot,vm_memattr_t * memattr) vt_fb_mmap() argument
166 vt_fb_setpixel(struct vt_device * vd,int x,int y,term_color_t color) vt_fb_setpixel() argument
203 vt_fb_drawrect(struct vt_device * vd,int x1,int y1,int x2,int y2,int fill,term_color_t color) vt_fb_drawrect() argument
220 vt_fb_blank(struct vt_device * vd,term_color_t color) vt_fb_blank() argument
268 vt_fb_bitblt_bitmap(struct vt_device * vd,const struct vt_window * vw,const uint8_t * pattern,const uint8_t * mask,unsigned int width,unsigned int height,unsigned int x,unsigned int y,term_color_t fg,term_color_t bg) vt_fb_bitblt_bitmap() argument
336 vt_fb_bitblt_text(struct vt_device * vd,const struct vt_window * vw,const term_rect_t * area) vt_fb_bitblt_text() argument
406 vt_fb_invalidate_text(struct vt_device * vd,const term_rect_t * area) vt_fb_invalidate_text() argument
429 vt_fb_postswitch(struct vt_device * vd) vt_fb_postswitch() argument
463 vt_fb_init(struct vt_device * vd) vt_fb_init() argument
508 vt_fb_fini(struct vt_device * vd,void * softc) vt_fb_fini() argument
535 vt_fb_suspend(struct vt_device * vd) vt_fb_suspend() argument
542 vt_fb_resume(struct vt_device * vd) vt_fb_resume() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchLSXInstrFormats.td13 // vd/rd/cd - destination register operand.
20 // <opcode | I13 | vd>
25 bits<5> vd;
29 let Inst{4-0} = vd;
33 // <opcode | vj | vd>
38 bits<5> vd;
42 let Inst{4-0} = vd;
45 // <opcode | rj | vd>
50 bits<5> vd;
54 let Inst{4-0} = vd;
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c62 vdev_t *vd; member
94 vdev_geom_set_physpath(vdev_t *vd, struct g_consumer *cp, in vdev_geom_set_physpath() argument
109 old_physpath = vd->vdev_physpath; in vdev_geom_set_physpath()
110 vd->vdev_physpath = spa_strdup(physpath); in vdev_geom_set_physpath()
114 vd->vdev_physpath) != 0); in vdev_geom_set_physpath()
127 spa_async_request(vd->vdev_spa, SPA_ASYNC_CONFIG_UPDATE); in vdev_geom_set_physpath()
142 vdev_t *vd = elem->vd; in vdev_geom_attrchanged() local
144 vdev_geom_set_physpath(vd, cp, /* null_update */B_TRUE); in vdev_geom_attrchanged()
156 vdev_t *vd; in vdev_geom_resize() local
163 vd = elem->vd; in vdev_geom_resize()
[all …]
H A Dvdev_file.c60 vdev_file_hold(vdev_t *vd) in vdev_file_hold() argument
62 ASSERT3P(vd->vdev_path, !=, NULL); in vdev_file_hold()
66 vdev_file_rele(vdev_t *vd) in vdev_file_rele() argument
68 ASSERT3P(vd->vdev_path, !=, NULL); in vdev_file_rele()
88 vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, in vdev_file_open() argument
99 vd->vdev_nonrot = B_TRUE; in vdev_file_open()
106 vd->vdev_has_trim = B_TRUE; in vdev_file_open()
112 vd->vdev_has_securetrim = B_FALSE; in vdev_file_open()
117 if (vd->vdev_path == NULL || vd->vdev_path[0] != '/') { in vdev_file_open()
118 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_file_open()
[all …]
/freebsd/tools/regression/usr.bin/cc/
H A Dfloat.c118 volatile double vd; in run_tests() local
126 vd = NAN; in run_tests()
127 test("NaN equality", fpequal(NAN, NAN) && NAN != NAN && vd != vd); in run_tests()
130 test("NaN comparison returns false", !(vd <= vd)); in run_tests()
138 vd = 0.0; in run_tests()
139 run_zero_opt_test(vd, vd); in run_tests()
141 vd = INFINITY; in run_tests()
142 run_inf_opt_test(vd); in run_tests()
145 vd = INFINITY; in run_tests()
146 x = (int)vd; in run_tests()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_file.c62 vdev_file_hold(vdev_t *vd) in vdev_file_hold() argument
64 ASSERT(vd->vdev_path != NULL); in vdev_file_hold()
68 vdev_file_rele(vdev_t *vd) in vdev_file_rele() argument
70 ASSERT(vd->vdev_path != NULL); in vdev_file_rele()
90 vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, in vdev_file_open() argument
101 vd->vdev_nonrot = B_TRUE; in vdev_file_open()
108 vd->vdev_has_trim = B_TRUE; in vdev_file_open()
114 vd->vdev_has_securetrim = B_FALSE; in vdev_file_open()
119 if (vd->vdev_path == NULL || vd->vdev_path[0] != '/') { in vdev_file_open()
120 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_file_open()
[all …]
/freebsd/sys/dev/vt/hw/vga/
H A Dvt_vga.c127 vga_setwmode(struct vt_device *vd, int wmode) in vga_setwmode()
129 struct vga_softc *sc = vd->vd_softc; in vga_setwmode()
149 vga_setfg(struct vt_device *vd, term_color_t color) in vga_setfg()
151 struct vga_softc *sc = vd->vd_softc; in vga_setfg()
153 vga_setwmode(vd, 3); in vga_setfg()
164 vga_setbg(struct vt_device *vd, term_color_t color) in vga_setbg()
166 struct vga_softc *sc = vd->vd_softc; in vga_setbg()
168 vga_setwmode(vd, 3); in vga_setbg()
326 vga_blank(struct vt_device *vd, term_color_t color) in vga_blank()
328 struct vga_softc *sc = vd in vga_blank()
125 vga_setwmode(struct vt_device * vd,int wmode) vga_setwmode() argument
147 vga_setfg(struct vt_device * vd,term_color_t color) vga_setfg() argument
162 vga_setbg(struct vt_device * vd,term_color_t color) vga_setbg() argument
324 vga_blank(struct vt_device * vd,term_color_t color) vga_blank() argument
335 vga_bitblt_put(struct vt_device * vd,u_long dst,term_color_t color,uint8_t v) vga_bitblt_put() argument
361 vga_setpixel(struct vt_device * vd,int x,int y,term_color_t color) vga_setpixel() argument
372 vga_drawrect(struct vt_device * vd,int x1,int y1,int x2,int y2,int fill,term_color_t color) vga_drawrect() argument
501 vga_bitblt_pixels_block_2colors(struct vt_device * vd,const uint8_t * masks,term_color_t fg,term_color_t bg,unsigned int x,unsigned int y,unsigned int height) vga_bitblt_pixels_block_2colors() argument
530 vga_bitblt_pixels_block_ncolors(struct vt_device * vd,const uint8_t * masks,unsigned int x,unsigned int y,unsigned int height) vga_bitblt_pixels_block_ncolors() argument
608 vga_bitblt_one_text_pixels_block(struct vt_device * vd,const struct vt_window * vw,unsigned int x,unsigned int y) vga_bitblt_one_text_pixels_block() argument
780 vga_bitblt_text_gfxmode(struct vt_device * vd,const struct vt_window * vw,const term_rect_t * area) vga_bitblt_text_gfxmode() argument
862 vga_bitblt_text_txtmode(struct vt_device * vd,const struct vt_window * vw,const term_rect_t * area) vga_bitblt_text_txtmode() argument
923 vga_bitblt_text(struct vt_device * vd,const struct vt_window * vw,const term_rect_t * area) vga_bitblt_text() argument
935 vga_invalidate_text(struct vt_device * vd,const term_rect_t * area) vga_invalidate_text() argument
959 vga_bitblt_bitmap(struct vt_device * vd,const struct vt_window * vw,const uint8_t * pattern,const uint8_t * mask,unsigned int width,unsigned int height,unsigned int x,unsigned int y,term_color_t fg,term_color_t bg) vga_bitblt_bitmap() argument
1002 vga_initialize_graphics(struct vt_device * vd) vga_initialize_graphics() argument
1083 vga_initialize(struct vt_device * vd,int textmode) vga_initialize() argument
1276 vga_probe(struct vt_device * vd) vga_probe() argument
1283 vga_init(struct vt_device * vd) vga_init() argument
1333 vga_postswitch(struct vt_device * vd) vga_postswitch() argument
[all...]
/freebsd/lib/libc/xdr/
H A Dxdr_float.c199 struct vax_double vd; in xdr_double()
222 vd = *((struct vax_double *)dp); in xdr_double()
225 if ((vd.mantissa4 == lim->d.mantissa4) && in xdr_double()
226 (vd.mantissa3 == lim->d.mantissa3) && in xdr_double()
227 (vd.mantissa2 == lim->d.mantissa2) && in xdr_double()
228 (vd.mantissa1 == lim->d.mantissa1) && in xdr_double()
229 (vd.exp == lim->d.exp)) { in xdr_double()
234 id.exp = vd.exp - VAX_DBL_BIAS + IEEE_DBL_BIAS; in xdr_double()
235 id.mantissa1 = (vd.mantissa1 << 13) | (vd.mantissa2 >> 3); in xdr_double()
236 id.mantissa2 = ((vd.mantissa2 & MASK(3)) << 29) | in xdr_double()
[all …]

123456