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

/freebsd-11-stable/sys/kern/
H A Dtty_inq.c70 #define GETBIT(tib,boff) \
71 ((tib)->tib_quotes[(boff) / BMSIZE] & (1 << ((boff) % BMSIZE)))
72 #define SETBIT(tib,boff) \
73 ((tib)->tib_quotes[(boff) / BMSIZE] |= (1 << ((boff) % BMSIZE)))
74 #define CLRBIT(tib,boff) \
75 ((tib)->tib_quotes[(boff) / BMSIZE] &= ~(1 << ((boff) % BMSIZE)))
283 unsigned int boff; local
354 unsigned int boff = ti->ti_begin; local
395 unsigned int boff; local
448 unsigned int boff; local
[all...]
H A Dtty_outq.c282 unsigned int boff; local
286 boff = to->to_end % TTYOUTQ_DATASIZE;
297 } else if (boff == 0) {
310 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff);
312 memcpy(tob->tob_data + boff, cbuf, l);
/freebsd-11-stable/sys/dev/le/
H A Dlance.c344 lance_put(struct lance_softc *sc, int boff, struct mbuf *m) argument
358 (*sc->sc_copytobuf)(sc, mtod(m, caddr_t), boff, len);
359 boff += len;
365 (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen);
378 lance_get(struct lance_softc *sc, int boff, int totlen) argument
415 (*sc->sc_copyfrombuf)(sc, mtod(m, caddr_t), boff, len);
416 boff += len;
636 lance_copytobuf_contig(struct lance_softc *sc, void *from, int boff, int len) argument
643 memcpy(buf + boff, from, len);
647 lance_copyfrombuf_contig(struct lance_softc *sc, void *to, int boff, in argument
658 lance_zerobuf_contig(struct lance_softc *sc, int boff, int len) argument
[all...]
/freebsd-11-stable/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
587 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-11-stable/usr.bin/grep/
H A Dqueue.c70 item->data.boff = x->boff;
H A Dgrep.h99 off_t boff; member in struct:str
H A Dutil.c317 pc.ln.boff = 0;
342 pc.ln.boff = 0;
728 printf("%lld", (long long)(line->off + line->boff));
766 pc->ln.boff = match.rm_so;
/freebsd-11-stable/stand/libsa/
H A Dcd9660read.c228 daddr_t bno, boff; local
254 boff = 0;
258 rc = read_iso_block(blkbuf, bno + boff);
262 boff++;
267 off = boff * ISO_DEFAULT_BLOCK_SIZE;
287 off = boff * ISO_DEFAULT_BLOCK_SIZE;
H A Dcd9660.c290 daddr_t bno, boff; local
330 boff = 0;
337 cdb2devb(bno + boff),
346 boff++;
351 off = boff * ISO_DEFAULT_BLOCK_SIZE;
371 off = boff * ISO_DEFAULT_BLOCK_SIZE;
/freebsd-11-stable/usr.sbin/bhyve/
H A Dblock_if.c213 ssize_t clen, len, off, boff, voff; local
239 boff = 0;
241 clen = MIN(len - boff, br->br_iov[i].iov_len -
244 buf + boff, clen);
251 boff += clen;
252 } while (boff < len);
274 boff = 0;
276 clen = MIN(len - boff, br->br_iov[i].iov_len -
278 memcpy(buf + boff,
286 boff
[all...]
/freebsd-11-stable/sys/dev/iscsi_initiator/
H A Disc_cam.c234 int lun, *off, boff; local
243 boff = BIT(lun % (sizeof(int)*8));
244 debug(4, "sp->target_nluns=%d *off=%x boff=%x",
245 sp->target_nluns, *off, boff);
247 if((*off & boff) == 0) {
249 *off |= boff;
/freebsd-11-stable/usr.sbin/makefs/ffs/
H A Dffs_bswap.c208 int32_t btotoff, boff, clustersumoff; local
244 boff = n->cg_old_boff;
248 boff = bswap32(n->cg_old_boff);
253 n16 = (u_int16_t *)((u_int8_t *)n + boff);
254 o16 = (u_int16_t *)((u_int8_t *)o + boff);
/freebsd-11-stable/sys/fs/msdosfs/
H A Dmsdosfs_denode.c341 int boff; local
402 if ((boff = length & pmp->pm_crbomask) != 0) {
417 bzero(bp->b_data + boff, pmp->pm_bpcluster - boff);
/freebsd-11-stable/contrib/gcc/cp/
H A Drtti.c593 tree static_type, target_type, boff;
641 boff = dcast_base_hint (static_type, target_type);
654 (NULL_TREE, boff, NULL_TREE))));
591 tree static_type, target_type, boff; local
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzvol.c1801 uint64_t boff; local
1811 boff = ldbtob(blkno);
1814 VERIFY3U(boff + resid, <=, zv->zv_volsize);
1817 size = MIN(resid, P2END(boff, zv->zv_volblocksize) - boff);
1818 error = zvol_dumpio(zv, addr, boff, size, B_FALSE, B_TRUE);
1821 boff += size;
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp2682 void __kmp_spin_backoff(kmp_backoff_t *boff) { argument
2685 for (i = boff->step; i > 0; i--) {
2686 kmp_uint64 goal = __kmp_tsc() + boff->min_tick;
2691 boff->step = (boff->step << 1 | 1) & (boff->max_backoff - 1);
/freebsd-11-stable/stand/libsa/zfs/
H A Dzfsimpl.c1323 int boff = offset % bsize; local
1361 i = bsize - boff;
1363 memcpy(buf, &dnode_cache_buf[boff], i);
/freebsd-11-stable/contrib/one-true-awk/
H A Drun.c113 int boff = pbptr ? *pbptr - *pbuf : 0; local
127 *pbptr = tbuf + boff;

Completed in 245 milliseconds