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

/freebsd-13-stable/sys/kern/
H A Dtty_inq.c72 #define GETBIT(tib,boff) \
73 ((tib)->tib_quotes[(boff) / BMSIZE] & (1 << ((boff) % BMSIZE)))
74 #define SETBIT(tib,boff) \
75 ((tib)->tib_quotes[(boff) / BMSIZE] |= (1 << ((boff) % BMSIZE)))
76 #define CLRBIT(tib,boff) \
77 ((tib)->tib_quotes[(boff) / BMSIZE] &= ~(1 << ((boff) % BMSIZE)))
285 unsigned int boff; local
356 unsigned int boff = ti->ti_begin; local
397 unsigned int boff; local
450 unsigned int boff; local
[all...]
H A Dtty_outq.c284 unsigned int boff; local
288 boff = to->to_end % TTYOUTQ_DATASIZE;
299 } else if (boff == 0) {
312 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff);
314 memcpy(tob->tob_data + boff, cbuf, l);
/freebsd-13-stable/sys/dev/le/
H A Dlance.c346 lance_put(struct lance_softc *sc, int boff, struct mbuf *m) argument
360 (*sc->sc_copytobuf)(sc, mtod(m, caddr_t), boff, len);
361 boff += len;
367 (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen);
380 lance_get(struct lance_softc *sc, int boff, int totlen) argument
417 (*sc->sc_copyfrombuf)(sc, mtod(m, caddr_t), boff, len);
418 boff += len;
644 lance_copytobuf_contig(struct lance_softc *sc, void *from, int boff, int len) argument
651 memcpy(buf + boff, from, len);
655 lance_copyfrombuf_contig(struct lance_softc *sc, void *to, int boff, in argument
666 lance_zerobuf_contig(struct lance_softc *sc, int boff, int len) argument
[all...]
/freebsd-13-stable/sys/geom/vinum/
H A Dgeom_vinum_raid5.c56 gv_raid5_start(struct gv_plex *p, struct bio *bp, caddr_t addr, off_t boff, argument
72 err = gv_raid5_rebuild(p, wp, bp, addr, boff, bcount);
74 err = gv_raid5_check(p, wp, bp, addr, boff, bcount);
76 err = gv_raid5_request(p, wp, bp, addr, boff, bcount, &delay);
180 caddr_t addr, off_t boff, off_t bcount)
191 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, &psdno, 1);
258 caddr_t addr, off_t boff, off_t bcount)
268 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, NULL, 1);
337 p->synced = boff;
346 struct bio *bp, caddr_t addr, off_t boff, off_
179 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
257 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
345 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
590 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.c63 off_t bcount, boff, len; local
67 boff = bp->bio_offset;
78 wp = gv_raid5_start(p, bp, addr, boff, bcount);
94 len = gv_plex_normal_request(p, bp, boff, bcount, addr);
101 boff += len;
130 gv_plex_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, argument
145 if (s->plex_offset <= boff &&
146 s->plex_offset + s->size > boff) {
156 *real_off = boff - s->plex_offset;
164 stripeno = boff /
199 gv_plex_normal_request(struct gv_plex *p, struct bio *bp, off_t boff, off_t bcount, caddr_t addr) argument
[all...]
/freebsd-13-stable/sys/dev/vt/hw/efifb/
H A Defifb.c105 int roff, goff, boff; local
132 boff = ffs(efifb->fb_mask_blue) - 1;
136 efifb->fb_mask_blue >> boff, boff);
/freebsd-13-stable/sys/dev/vt/hw/vbefb/
H A Dvbefb.c105 int format, roff, goff, boff; local
136 boff = ffs(vbefb->fb_mask_blue) - 1;
140 vbefb->fb_mask_blue >> boff, boff);
/freebsd-13-stable/usr.bin/grep/
H A Dqueue.c102 item->boff = x->boff;
H A Dgrep.h82 off_t boff; member in struct:str
H A Dutil.c326 pc.ln.boff = 0;
351 pc.ln.boff = 0;
733 printf("%lld", (long long)(line->off + line->boff));
771 pc->ln.boff = match.rm_so;
/freebsd-13-stable/stand/libsa/
H A Dcd9660read.c230 daddr_t bno, boff; local
256 boff = 0;
260 rc = read_iso_block(blkbuf, bno + boff);
264 boff++;
269 off = boff * ISO_DEFAULT_BLOCK_SIZE;
289 off = boff * ISO_DEFAULT_BLOCK_SIZE;
H A Dcd9660.c290 daddr_t bno, boff; local
331 boff = 0;
338 cdb2devb(bno + boff),
347 boff++;
352 off = boff * ISO_DEFAULT_BLOCK_SIZE;
372 off = boff * ISO_DEFAULT_BLOCK_SIZE;
/freebsd-13-stable/usr.sbin/fstyp/
H A Dhammer2.c74 size_t bytes, io_bytes, boff; local
88 boff = io_off - io_base;
91 while (io_bytes + boff < bytes)
108 if (boff)
109 memcpy(media, (char *)media + boff, bytes); local
/freebsd-13-stable/usr.sbin/makefs/msdos/
H A Dmsdosfs_denode.c220 int boff; local
277 if ((boff = length & pmp->pm_crbomask) != 0) {
289 memset(bp->b_data + boff, 0, pmp->pm_bpcluster - boff);
/freebsd-13-stable/sys/dev/iscsi_initiator/
H A Disc_cam.c230 int lun, *off, boff; local
239 boff = BIT(lun % (sizeof(int)*8));
240 debug(4, "sp->target_nluns=%d *off=%x boff=%x",
241 sp->target_nluns, *off, boff);
243 if((*off & boff) == 0) {
245 *off |= boff;
/freebsd-13-stable/usr.sbin/makefs/ffs/
H A Dffs_bswap.c203 int32_t btotoff, boff, clustersumoff; local
239 boff = n->cg_old_boff;
243 boff = bswap32(n->cg_old_boff);
248 n16 = (u_int16_t *)((u_int8_t *)n + boff);
249 o16 = (u_int16_t *)((u_int8_t *)o + boff);
/freebsd-13-stable/usr.sbin/bhyve/
H A Dblock_if.c235 ssize_t clen, len, off, boff, voff; local
261 boff = 0;
263 clen = MIN(len - boff, br->br_iov[i].iov_len -
266 buf + boff, clen);
273 boff += clen;
274 } while (boff < len);
296 boff = 0;
298 clen = MIN(len - boff, br->br_iov[i].iov_len -
300 memcpy(buf + boff,
308 boff
[all...]
/freebsd-13-stable/sys/fs/msdosfs/
H A Dmsdosfs_denode.c343 int boff; local
404 if ((boff = length & pmp->pm_crbomask) != 0) {
419 memset(bp->b_data + boff, 0, pmp->pm_bpcluster - boff);
/freebsd-13-stable/stand/i386/libi386/
H A Dvidconsole.c628 int i, roff, goff, boff, rc; local
638 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
642 gfx_state.tg_fb.fb_mask_blue >> boff, boff);
878 int format, roff, goff, boff; local
940 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
944 gfx_state.tg_fb.fb_mask_blue >> boff, boff);
/freebsd-13-stable/stand/efi/libefi/
H A Defi_console.c898 int roff, goff, boff; local
902 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
907 gfx_state.tg_fb.fb_mask_blue >> boff, boff);
/freebsd-13-stable/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-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp2686 void __kmp_spin_backoff(kmp_backoff_t *boff) { argument
2689 for (i = boff->step; i > 0; i--) {
2690 kmp_uint64 goal = __kmp_tsc() + boff->min_tick;
2695 boff->step = (boff->step << 1 | 1) & (boff->max_backoff - 1);
/freebsd-13-stable/contrib/one-true-awk/
H A Drun.c115 int boff = pbptr ? *pbptr - *pbuf : 0; local
129 *pbptr = tbuf + boff;
/freebsd-13-stable/stand/libsa/zfs/
H A Dzfsimpl.c2354 int boff = offset % bsize; local
2392 i = bsize - boff;
2394 memcpy(buf, &dnode_cache_buf[boff], i);

Completed in 206 milliseconds