| /freebsd-14.2/tests/sys/cddl/zfs/bin/ |
| H A D | file_trunc.c | 171 off_t roffset = 0; in do_write() local 182 roffset = random() % fsize; in do_write() 183 if (lseek(fd, (offset + roffset), SEEK_SET) < 0) { in do_write() 195 if (lseek(fd, (offset + roffset), SEEK_SET) < 0) { in do_write() 212 "Wrote to offset %ld\n", (offset + roffset)); in do_write() 215 "Read back from offset %ld\n", (offset + roffset)); in do_write() 226 off_t roffset = 0; in do_trunc() local 228 roffset = random() % fsize; in do_trunc() 229 if (ftruncate(fd, (offset + roffset)) < 0) { in do_trunc() 237 (offset + roffset)); in do_trunc()
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
| H A D | file_trunc.c | 172 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-14.2/sys/powerpc/powermac/ |
| H A D | hrowpic.c | 179 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-14.2/sys/dev/vt/colors/ |
| H A D | vt_termcolors.c | 156 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset) in vt_generate_cons_palette() argument 181 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset) in vt_config_cons_colors() argument 184 info->fb_rgboffs.red = roffset; in vt_config_cons_colors() 191 roffset, gmax, goffset, bmax, boffset)); in vt_config_cons_colors()
|
| H A D | vt_termcolors.h | 62 int roffset, uint32_t gmax, int goffset, uint32_t bmax, int boffset);
|
| /freebsd-14.2/sys/dev/vt/ |
| H A D | vt_buf.c | 73 int diff, top, bottom, roffset; in vthistory_seek() local 95 roffset = top + offset; in vthistory_seek() 102 roffset = vb->vb_roffset; 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() 111 roffset = vb->vb_history_size + roffset; in vthistory_seek() 116 roffset = vb->vb_curroffset; in vthistory_seek() [all …]
|
| /freebsd-14.2/usr.bin/compress/ |
| H A D | zopen.c | 171 #define roffset zs->u.r.zs_roffset macro 582 if (clear_flg > 0 || roffset >= size || free_ent > maxcode) { in getcode() 602 roffset = 0; in getcode() 606 r_off = roffset; in getcode() 628 roffset += n_bits; in getcode() 718 roffset = 0; in zopen()
|
| /freebsd-14.2/stand/common/ |
| H A D | gfx_fb.c | 226 rgb_color_map(uint8_t index, uint32_t rmax, int roffset, in rgb_color_map() argument 353 uint32_t rmax, int roffset, uint32_t gmax, int goffset, in generate_cons_palette() argument 367 palette[i] = rgb_color_map(i, rmax, roffset, in generate_cons_palette()
|