Home
last modified time | relevance | path

Searched refs:roffset (Results 1 – 8 of 8) sorted by relevance

/src/tests/sys/cddl/zfs/bin/
H A Dfile_trunc.c170 off_t roffset = 0; in do_write() local
181 roffset = random() % fsize; in do_write()
182 if (lseek(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
194 if (lseek(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
211 "Wrote to offset %ld\n", (offset + roffset)); in do_write()
214 "Read back from offset %ld\n", (offset + roffset)); in do_write()
225 off_t roffset = 0; in do_trunc() local
227 roffset = random() % fsize; in do_trunc()
228 if (ftruncate(fd, (offset + roffset)) < 0) { in do_trunc()
236 (offset + roffset)); in do_trunc()
/src/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_trunc.c173 off_t roffset = 0; in do_write() local
184 roffset = random() % fsize; in do_write()
185 if (lseek64(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
197 if (lseek64(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
214 "Wrote to offset %" PRId64 "\n", (offset + roffset)); in do_write()
218 (offset + roffset)); in do_write()
229 off_t roffset = 0; in do_trunc() local
231 roffset = random() % fsize; in do_trunc()
232 if (ftruncate64(fd, (offset + roffset)) < 0) { in do_trunc()
239 (offset + roffset)); in do_trunc()
/src/sys/powerpc/powermac/
H A Dhrowpic.c179 u_int roffset; in hrowpic_toggle_irq() local
194 roffset = HPIC_INT_TO_BANK(irq); in hrowpic_toggle_irq()
198 sc->sc_softreg[roffset] |= (1 << rbit); in hrowpic_toggle_irq()
200 sc->sc_softreg[roffset] &= ~(1 << rbit); in hrowpic_toggle_irq()
202 hrowpic_write_reg(sc, HPIC_ENABLE, roffset, sc->sc_softreg[roffset]); in hrowpic_toggle_irq()
/src/sys/dev/vt/colors/
H A Dvt_termcolors.c155 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset) in vt_generate_cons_palette() argument
180 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset) in vt_config_cons_colors() argument
183 info->fb_rgboffs.red = roffset; in vt_config_cons_colors()
190 roffset, gmax, goffset, bmax, boffset)); in vt_config_cons_colors()
H A Dvt_termcolors.h62 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset);
/src/sys/dev/vt/
H A Dvt_buf.c72 int diff, top, bottom, roffset; in vthistory_seek() local
89 roffset = 0; /* Make gcc happy. */ in vthistory_seek()
94 roffset = top + offset; in vthistory_seek()
101 roffset = vb->vb_roffset; in vthistory_seek()
102 if (roffset >= bottom + vb->vb_scr_size.tp_row) in vthistory_seek()
103 roffset -= vb->vb_history_size; in vthistory_seek()
105 roffset += offset; in vthistory_seek()
106 roffset = MAX(roffset, top); in vthistory_seek()
107 roffset = MIN(roffset, bottom); in vthistory_seek()
109 if (roffset < 0) in vthistory_seek()
[all …]
/src/usr.bin/compress/
H A Dzopen.c168 #define roffset zs->u.r.zs_roffset macro
579 if (clear_flg > 0 || roffset >= size || free_ent > maxcode) { in getcode()
599 roffset = 0; in getcode()
603 r_off = roffset; in getcode()
625 roffset += n_bits; in getcode()
715 roffset = 0; in zopen()
/src/stand/common/
H A Dgfx_fb.c300 rgb_color_map(uint8_t index, uint32_t rmax, int roffset, in rgb_color_map() argument
427 uint32_t rmax, int roffset, uint32_t gmax, int goffset, in generate_cons_palette() argument
441 palette[i] = rgb_color_map(i, rmax, roffset, in generate_cons_palette()