Searched refs:boff (Results 1 - 23 of 23) sorted by relevance

/freebsd-current/sys/kern/
H A Dtty_inq.c69 #define GETBIT(tib,boff) \
70 ((tib)->tib_quotes[(boff) / BMSIZE] & (1 << ((boff) % BMSIZE)))
71 #define SETBIT(tib,boff) \
72 ((tib)->tib_quotes[(boff) / BMSIZE] |= (1 << ((boff) % BMSIZE)))
73 #define CLRBIT(tib,boff) \
74 ((tib)->tib_quotes[(boff) / BMSIZE] &= ~(1 << ((boff) % BMSIZE)))
291 unsigned int boff; local
366 unsigned int boff; local
411 unsigned int boff = ti->ti_begin; local
452 unsigned int boff; local
505 unsigned int boff; local
[all...]
H A Dtty_outq.c281 unsigned int boff; local
285 boff = to->to_end % TTYOUTQ_DATASIZE;
296 } else if (boff == 0) {
309 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff);
311 memcpy(tob->tob_data + boff, cbuf, l);
/freebsd-current/sys/dev/le/
H A Dlance.c340 lance_put(struct lance_softc *sc, int boff, struct mbuf *m) argument
354 (*sc->sc_copytobuf)(sc, mtod(m, caddr_t), boff, len);
355 boff += len;
361 (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen);
374 lance_get(struct lance_softc *sc, int boff, int totlen) argument
411 (*sc->sc_copyfrombuf)(sc, mtod(m, caddr_t), boff, len);
412 boff += len;
638 lance_copytobuf_contig(struct lance_softc *sc, void *from, int boff, int len) argument
645 memcpy(buf + boff, from, len);
649 lance_copyfrombuf_contig(struct lance_softc *sc, void *to, int boff, in argument
660 lance_zerobuf_contig(struct lance_softc *sc, int boff, int len) argument
[all...]
/freebsd-current/sys/geom/vinum/
H A Dgeom_vinum_raid5.c53 gv_raid5_start(struct gv_plex *p, struct bio *bp, caddr_t addr, off_t boff, argument
69 err = gv_raid5_rebuild(p, wp, bp, addr, boff, bcount);
71 err = gv_raid5_check(p, wp, bp, addr, boff, bcount);
73 err = gv_raid5_request(p, wp, bp, addr, boff, bcount, &delay);
177 caddr_t addr, off_t boff, off_t bcount)
188 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, &psdno, 1);
255 caddr_t addr, off_t boff, off_t bcount)
265 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, NULL, 1);
334 p->synced = boff;
343 struct bio *bp, caddr_t addr, off_t boff, off_
176 gv_raid5_check(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, caddr_t addr, off_t boff, off_t bcount) argument
254 gv_raid5_rebuild(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, caddr_t addr, off_t boff, off_t bcount) argument
342 gv_raid5_request(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, caddr_t addr, off_t boff, off_t bcount, int *delay) argument
584 gv_raid5_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, off_t *real_len, int *sdno, int *psdno, int growing) argument
[all...]
H A Dgeom_vinum_plex.c60 off_t bcount, boff, len; local
64 boff = bp->bio_offset;
75 wp = gv_raid5_start(p, bp, addr, boff, bcount);
91 len = gv_plex_normal_request(p, bp, boff, bcount, addr);
98 boff += len;
127 gv_plex_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, argument
142 if (s->plex_offset <= boff &&
143 s->plex_offset + s->size > boff) {
153 *real_off = boff - s->plex_offset;
161 stripeno = boff /
196 gv_plex_normal_request(struct gv_plex *p, struct bio *bp, off_t boff, off_t bcount, caddr_t addr) argument
[all...]
/freebsd-current/sys/dev/vt/hw/efifb/
H A Defifb.c104 int roff, goff, boff; local
156 boff = ffs(efifb->fb_mask_blue) - 1;
160 efifb->fb_mask_blue >> boff, boff);
/freebsd-current/sys/dev/vt/hw/vbefb/
H A Dvbefb.c103 int format, roff, goff, boff; local
134 boff = ffs(vbefb->fb_mask_blue) - 1;
138 vbefb->fb_mask_blue >> boff, boff);
/freebsd-current/usr.bin/grep/
H A Dqueue.c98 item->boff = x->boff;
H A Dgrep.h81 off_t boff; member in struct:str
H A Dutil.c323 pc.ln.boff = 0;
348 pc.ln.boff = 0;
734 printf("%lld", (long long)(line->off + line->boff));
772 pc->ln.boff = match.rm_so;
/freebsd-current/stand/libsa/
H A Dcd9660read.c227 daddr_t bno, boff; local
253 boff = 0;
257 rc = read_iso_block(blkbuf, bno + boff);
261 boff++;
266 off = boff * ISO_DEFAULT_BLOCK_SIZE;
286 off = boff * ISO_DEFAULT_BLOCK_SIZE;
H A Dcd9660.c341 daddr_t bno, boff; local
382 boff = 0;
389 cdb2devb(bno + boff),
398 boff++;
403 off = boff * ISO_DEFAULT_BLOCK_SIZE;
423 off = boff * ISO_DEFAULT_BLOCK_SIZE;
/freebsd-current/usr.sbin/fstyp/
H A Dhammer2.c72 size_t bytes, io_bytes, boff; local
86 boff = io_off - io_base;
89 while (io_bytes + boff < bytes)
106 if (boff)
107 memcpy(media, (char *)media + boff, bytes); local
/freebsd-current/usr.sbin/makefs/msdos/
H A Dmsdosfs_denode.c213 int boff; local
270 if ((boff = length & pmp->pm_crbomask) != 0) {
282 memset(bp->b_data + boff, 0, pmp->pm_bpcluster - boff);
/freebsd-current/usr.sbin/makefs/ffs/
H A Dffs_bswap.c200 int32_t btotoff, boff, clustersumoff; local
236 boff = n->cg_old_boff;
240 boff = bswap32(n->cg_old_boff);
245 n16 = (u_int16_t *)((u_int8_t *)n + boff);
246 o16 = (u_int16_t *)((u_int8_t *)o + boff);
/freebsd-current/usr.sbin/bhyve/
H A Dblock_if.c236 size_t clen, len, off, boff, voff; local
265 boff = 0;
267 clen = MIN(len - boff, br->br_iov[i].iov_len -
270 buf + boff, clen);
277 boff += clen;
278 } while (boff < len);
300 boff = 0;
302 clen = MIN(len - boff, br->br_iov[i].iov_len -
304 memcpy(buf + boff,
313 boff
[all...]
/freebsd-current/sys/fs/msdosfs/
H A Dmsdosfs_denode.c369 int boff; local
428 if ((boff = length & pmp->pm_crbomask) != 0) {
443 memset(bp->b_data + boff, 0, pmp->pm_bpcluster - boff);
/freebsd-current/stand/i386/libi386/
H A Dvidconsole.c634 int i, roff, goff, boff, rc; local
644 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
648 gfx_state.tg_fb.fb_mask_blue >> boff, boff);
884 int format, roff, goff, boff; local
946 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
950 gfx_state.tg_fb.fb_mask_blue >> boff, boff);
/freebsd-current/stand/efi/libefi/
H A Defi_console.c924 int roff, goff, boff; local
928 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
933 gfx_state.tg_fb.fb_mask_blue >> boff, boff);
/freebsd-current/stand/common/
H A Dgfx_fb.c281 int roff, goff, boff, bpp; local
285 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
299 bmask = gfx_state.tg_fb.fb_mask_blue >> boff;
413 int roff, goff, boff; local
433 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
443 (gfx_state.tg_fb.fb_mask_blue >> boff)) << boff;
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp2666 void __kmp_spin_backoff(kmp_backoff_t *boff) { argument
2669 for (i = boff->step; i > 0; i--) {
2670 kmp_uint64 goal = __kmp_tsc() + boff->min_tick;
2673 __kmp_tpause(0, boff->min_tick);
2683 boff->step = (boff->step << 1 | 1) & (boff->max_backoff - 1);
/freebsd-current/contrib/one-true-awk/
H A Drun.c118 int boff = pbptr ? *pbptr - *pbuf : 0; local
132 *pbptr = tbuf + boff;
/freebsd-current/stand/libsa/zfs/
H A Dzfsimpl.c2352 int boff = offset % bsize; local
2390 i = bsize - boff;
2392 memcpy(buf, &dnode_cache_buf[boff], i);

Completed in 187 milliseconds