Home
last modified time | relevance | path

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

/freebsd-13.1/tests/sys/cddl/zfs/bin/
H A Dfile_trunc.c172 off_t roffset = 0; in do_write() local
183 roffset = random() % fsize; in do_write()
184 if (lseek(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
196 if (lseek(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
213 "Wrote to offset %ld\n", (offset + roffset)); in do_write()
216 "Read back from offset %ld\n", (offset + roffset)); in do_write()
227 off_t roffset = 0; in do_trunc() local
229 roffset = random() % fsize; in do_trunc()
230 if (ftruncate(fd, (offset + roffset)) < 0) { in do_trunc()
238 (offset + roffset)); in do_trunc()
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/file_trunc/
H A Dfile_trunc.c172 off_t roffset = 0; in do_write() local
183 roffset = random() % fsize; in do_write()
184 if (lseek64(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
196 if (lseek64(fd, (offset + roffset), SEEK_SET) < 0) { in do_write()
213 "Wrote to offset %" PRId64 "\n", (offset + roffset)); in do_write()
217 (offset + roffset)); in do_write()
228 off_t roffset = 0; in do_trunc() local
230 roffset = random() % fsize; in do_trunc()
231 if (ftruncate64(fd, (offset + roffset)) < 0) { in do_trunc()
238 (offset + roffset)); in do_trunc()
/freebsd-13.1/sys/powerpc/powermac/
H A Dhrowpic.c183 u_int roffset; in hrowpic_toggle_irq() local
198 roffset = HPIC_INT_TO_BANK(irq); in hrowpic_toggle_irq()
202 sc->sc_softreg[roffset] |= (1 << rbit); in hrowpic_toggle_irq()
204 sc->sc_softreg[roffset] &= ~(1 << rbit); in hrowpic_toggle_irq()
206 hrowpic_write_reg(sc, HPIC_ENABLE, roffset, sc->sc_softreg[roffset]); in hrowpic_toggle_irq()
/freebsd-13.1/sys/dev/vt/
H A Dvt_buf.c75 int diff, top, bottom, roffset; in vthistory_seek() local
97 roffset = top + offset; in vthistory_seek()
104 roffset = vb->vb_roffset; in vthistory_seek()
106 roffset -= vb->vb_history_size; in vthistory_seek()
108 roffset += offset; in vthistory_seek()
109 roffset = MAX(roffset, top); in vthistory_seek()
110 roffset = MIN(roffset, bottom); in vthistory_seek()
112 if (roffset < 0) in vthistory_seek()
113 roffset = vb->vb_history_size + roffset; in vthistory_seek()
118 roffset = vb->vb_curroffset; in vthistory_seek()
[all …]
/freebsd-13.1/usr.bin/compress/
H A Dzopen.c173 #define roffset zs->u.r.zs_roffset macro
584 if (clear_flg > 0 || roffset >= size || free_ent > maxcode) { in getcode()
604 roffset = 0; in getcode()
608 r_off = roffset; in getcode()
629 roffset += n_bits; in getcode()
719 roffset = 0; in zopen()
/freebsd-13.1/sys/dev/vt/colors/
H A Dvt_termcolors.h62 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset);
H A Dvt_termcolors.c157 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset) in vt_generate_cons_palette() argument
/freebsd-13.1/stand/common/
H A Dgfx_fb.c225 rgb_color_map(uint8_t index, uint32_t rmax, int roffset, in rgb_color_map() argument
352 uint32_t rmax, int roffset, uint32_t gmax, int goffset, in generate_cons_palette() argument
366 palette[i] = rgb_color_map(i, rmax, roffset, in generate_cons_palette()