Home
last modified time | relevance | path

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

/freebsd/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()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_trunc.c163 off_t roffset = 0; in do_write() local
174 roffset = random() % fsize; in do_write()
175 if (lseek64(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
187 if (lseek64(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
204 "Wrote to offset %" PRId64 "\n", (offset + roffset)); in do_write()
208 (offset + roffset)); in do_write()
219 off_t roffset = 0; in do_trunc() local
221 roffset = random() % fsize; in do_trunc()
222 if (ftruncate64(fd, (offset + roffset)) < 0) { in do_trunc()
229 (offset + roffset)); in do_trunc()
/freebsd/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()
/freebsd/sys/dev/vt/
H A Dvt_buf.c73 int diff, top, bottom, roffset; in vthistory_seek() local
90 roffset = 0; /* Make gcc happy. */ in vthistory_seek()
95 roffset = top + offset; in vthistory_seek()
102 roffset = vb->vb_roffset; in vthistory_seek()
103 if (roffset >= bottom + vb->vb_scr_size.tp_row) in vthistory_seek()
104 roffset -= vb->vb_history_size; in vthistory_seek()
106 roffset += offset; in vthistory_seek()
107 roffset = MAX(roffset, top); in vthistory_seek()
108 roffset = MIN(roffset, bottom); in vthistory_seek()
110 if (roffset < 0) in vthistory_seek()
[all …]
/freebsd/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);
/freebsd/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()
/freebsd/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()