Home
last modified time | relevance | path

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

/freebsd-12.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-12.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-12.1/sys/dev/vt/
H A Dvt_buf.c76 int diff, top, bottom, roffset; in vthistory_seek() local
98 roffset = top + offset; in vthistory_seek()
105 roffset = vb->vb_roffset; in vthistory_seek()
107 roffset -= vb->vb_history_size; in vthistory_seek()
109 roffset += offset; in vthistory_seek()
110 roffset = MAX(roffset, top); in vthistory_seek()
111 roffset = MIN(roffset, bottom); in vthistory_seek()
113 if (roffset < 0) in vthistory_seek()
114 roffset = vb->vb_history_size + roffset; in vthistory_seek()
119 roffset = vb->vb_curroffset; in vthistory_seek()
[all …]
/freebsd-12.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-12.1/sys/dev/vt/colors/
H A Dvt_termcolors.h63 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset);
H A Dvt_termcolors.c158 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset) in vt_generate_cons_palette() argument
/freebsd-12.1/contrib/gcc/
H A Dtree-ssa-structalias.c1409 unsigned HOST_WIDE_INT roffset = c->rhs.offset; in do_sd_constraint() local
1410 if (type_safe (j, &roffset)) in do_sd_constraint()
1413 unsigned HOST_WIDE_INT fieldoffset = get_varinfo (j)->offset + roffset; in do_sd_constraint()