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

/freebsd-10-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)))
277 unsigned int boff; local
348 unsigned int boff = ti->ti_begin; local
389 unsigned int boff; local
442 unsigned int boff; local
[all...]
H A Dtty_outq.c276 unsigned int boff; local
280 boff = to->to_end % TTYOUTQ_DATASIZE;
291 } else if (boff == 0) {
304 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff);
306 memcpy(tob->tob_data + boff, cbuf, l);
/freebsd-10-stable/sys/dev/le/
H A Dlance.c342 lance_put(struct lance_softc *sc, int boff, struct mbuf *m) argument
356 (*sc->sc_copytobuf)(sc, mtod(m, caddr_t), boff, len);
357 boff += len;
363 (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen);
376 lance_get(struct lance_softc *sc, int boff, int totlen) argument
414 (*sc->sc_copyfrombuf)(sc, mtod(m, caddr_t), boff, len);
415 boff += len;
635 lance_copytobuf_contig(struct lance_softc *sc, void *from, int boff, int len) argument
642 memcpy(buf + boff, from, len);
646 lance_copyfrombuf_contig(struct lance_softc *sc, void *to, int boff, in argument
657 lance_zerobuf_contig(struct lance_softc *sc, int boff, int len) argument
[all...]
/freebsd-10-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);
174 caddr_t addr, off_t boff, off_t bcount)
185 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, &psdno, 1);
252 caddr_t addr, off_t boff, off_t bcount)
262 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, NULL, 1);
331 p->synced = boff;
340 struct bio *bp, caddr_t addr, off_t boff, off_
173 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
251 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
339 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-10-stable/usr.sbin/bhyve/
H A Dblock_if.c206 ssize_t clen, len, off, boff, voff; local
232 boff = 0;
234 clen = MIN(len - boff, br->br_iov[i].iov_len -
237 buf + boff, clen);
244 boff += clen;
245 } while (boff < len);
267 boff = 0;
269 clen = MIN(len - boff, br->br_iov[i].iov_len -
271 memcpy(buf + boff,
279 boff
[all...]
/freebsd-10-stable/sys/dev/iscsi_initiator/
H A Disc_cam.c233 int lun, *off, boff; local
242 boff = BIT(lun % (sizeof(int)*8));
243 debug(4, "sp->target_nluns=%d *off=%x boff=%x",
244 sp->target_nluns, *off, boff);
246 if((*off & boff) == 0) {
248 *off |= boff;
/freebsd-10-stable/usr.sbin/makefs/ffs/
H A Dffs_bswap.c205 int32_t btotoff, boff, clustersumoff; local
241 boff = n->cg_old_boff;
245 boff = bswap32(n->cg_old_boff);
250 n16 = (u_int16_t *)((u_int8_t *)n + boff);
251 o16 = (u_int16_t *)((u_int8_t *)o + boff);
/freebsd-10-stable/sys/fs/msdosfs/
H A Dmsdosfs_denode.c348 int boff; local
409 if ((boff = length & pmp->pm_crbomask) != 0) {
421 bzero(bp->b_data + boff, pmp->pm_bpcluster - boff);
/freebsd-10-stable/lib/libstand/
H A Dcd9660.c280 daddr_t bno, boff; local
318 boff = 0;
325 cdb2devb(bno + boff),
334 boff++;
339 off = boff * ISO_DEFAULT_BLOCK_SIZE;
/freebsd-10-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-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzvol.c1752 uint64_t boff; local
1762 boff = ldbtob(blkno);
1765 VERIFY3U(boff + resid, <=, zv->zv_volsize);
1768 size = MIN(resid, P2END(boff, zv->zv_volblocksize) - boff);
1769 error = zvol_dumpio(zv, addr, boff, size, B_FALSE, B_TRUE);
1772 boff += size;
/freebsd-10-stable/sys/boot/zfs/
H A Dzfsimpl.c1236 int boff = offset % bsize; local
1274 i = bsize - boff;
1276 memcpy(buf, &dnode_cache_buf[boff], i);
/freebsd-10-stable/contrib/one-true-awk/
H A Drun.c113 int boff = pbptr ? *pbptr - *pbuf : 0; local
127 *pbptr = tbuf + boff;

Completed in 299 milliseconds