/src/sys/dev/tc/ |
if_le_ioasic.c | 194 le_ioasic_copytobuf_gap2(struct lance_softc *sc, void *fromv, int boff, int len) 200 if (boff & 0x1) { 202 bptr = ((volatile uint16_t *)buf) + (boff - 1); 207 bptr = ((volatile uint16_t *)buf) + boff; 219 le_ioasic_copyfrombuf_gap2(struct lance_softc *sc, void *tov, int boff, int len) 226 if (boff & 0x1) { 228 bptr = ((volatile uint16_t *)buf) + (boff - 1); 233 bptr = ((volatile uint16_t *)buf) + boff; 252 le_ioasic_copytobuf_gap16(struct lance_softc *sc, void *fromv, int boff, 259 bptr = buf + ((boff << 1) & ~0x1f) [all...] |
/src/sys/arch/pmax/ibus/ |
if_le_ibus.c | 105 le_dec_copytobuf_gap2(struct lance_softc *sc, void *fromv, int boff, int len) 111 if (boff & 0x1) { 113 bptr = ((volatile uint16_t *)buf) + (boff - 1); 118 bptr = ((volatile uint16_t *)buf) + boff; 130 le_dec_copyfrombuf_gap2(struct lance_softc *sc, void *tov, int boff, int len) 137 if (boff & 0x1) { 139 bptr = ((volatile uint16_t *)buf) + (boff - 1); 144 bptr = ((volatile uint16_t *)buf) + boff; 157 le_dec_zerobuf_gap2(struct lance_softc *sc, int boff, int len) 162 if ((unsigned int)boff & 0x1) [all...] |
/src/sys/dev/ic/ |
lance.c | 335 lance_put(struct lance_softc *sc, int boff, struct mbuf *m) 346 (*sc->sc_copytobuf)(sc, mtod(m, void *), boff, len); 347 boff += len; 352 (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen); 365 lance_get(struct lance_softc *sc, int boff, int totlen) 396 (*sc->sc_copyfrombuf)(sc, mtod(m, void *), boff, len); 397 boff += len; 421 lance_read(struct lance_softc *sc, int boff, int len) 440 m = lance_get(sc, boff, len); 635 lance_copytobuf_contig(struct lance_softc *sc, void *from, int boff, int len [all...] |
depca.c | 322 depca_copytobuf(struct lance_softc *sc, void *from, int boff, int len) 326 bus_space_write_region_1(dsc->sc_memt, dsc->sc_memh, boff, 331 depca_copyfrombuf(struct lance_softc *sc, void *to, int boff, int len) 335 bus_space_read_region_1(dsc->sc_memt, dsc->sc_memh, boff, 340 depca_zerobuf(struct lance_softc *sc, int boff, int len) 344 bus_space_set_region_1(dsc->sc_memt, dsc->sc_memh, boff,
|
/src/sys/arch/evbppc/explora/dev/ |
le_elb.c | 221 le_copytodesc(struct lance_softc *sc, void *from, int boff, int len) 225 volatile uint32_t *dst = (uint32_t *)((uint8_t *)sc->sc_mem + boff); 232 if (boff == LE_INITADDR(sc) && len == sizeof(struct leinit)) { 241 bus_dmamap_sync(msc->sc_dmat, msc->sc_dmam, boff, len, 249 le_copyfromdesc(struct lance_softc *sc, void *to, int boff, int len) 252 volatile uint32_t *src = (uint32_t *)((uint8_t *)sc->sc_mem + boff); 255 bus_dmamap_sync(msc->sc_dmat, msc->sc_dmam, boff, len, 267 le_copytobuf(struct lance_softc *sc, void *from, int boff, int len) 270 volatile void *buf = (void *)((uint8_t *)sc->sc_mem + boff); 274 bus_dmamap_sync(msc->sc_dmat, msc->sc_dmam, boff, len [all...] |
/src/sys/arch/vax/if/ |
if_le.c | 235 lance_copytobuf_gap2(struct lance_softc *sc, void *fromv, int boff, int len) 241 if (boff & 0x1) { 243 bptr = ((volatile uint16_t *)buf) + (boff - 1); 248 bptr = ((volatile uint16_t *)buf) + boff; 260 lance_copyfrombuf_gap2(struct lance_softc *sc, void *tov, int boff, int len) 267 if (boff & 0x1) { 269 bptr = ((volatile uint16_t *)buf) + (boff - 1); 274 bptr = ((volatile uint16_t *)buf) + boff; 287 lance_zerobuf_gap2(struct lance_softc *sc, int boff, int len) 292 if ((unsigned int)boff & 0x1) [all...] |
/src/sys/fs/ntfs/ |
ntfs_compr.c | 52 int blen, boff; local in function:ntfs_uncompblock 80 boff = -1 - (GET_UINT16(cbuf + cpos) >> dshift); 83 dbuf[pos] = dbuf[pos + boff];
|
/src/sys/arch/landisk/stand/boot/ |
biosdisk.c | 85 int boff; member in struct:biosdisk 129 d->boff = sector; 151 d->boff = 0; 310 bi_disk.labelsector = d->boff + LABELSECTOR; 315 d->boff = lp->d_partitions[partition].p_offset; 317 d->boff += RF_PROTECTED_SECTORS; 322 printf("partition @%d\n", d->boff); 365 dblk += d->boff;
|
/src/sys/arch/amiga/dev/ |
if_le.c | 417 ariadne_copytodesc_word(struct lance_softc *sc, void *from, int boff, int len) 420 volatile u_short *b2 = (u_short *)((u_char *)sc->sc_mem + boff); 427 ariadne_copyfromdesc_word(struct lance_softc *sc, void *to, int boff, int len) 429 volatile u_short *b1 = (u_short *)((u_char *)sc->sc_mem + boff); 439 ariadne_copytobuf_word(struct lance_softc *sc, void *from, int boff, int len) 442 volatile u_char *a2 = (u_char *)sc->sc_mem + boff; 447 if (len > 0 && isodd(boff)) { 471 ariadne_copyfrombuf_word(struct lance_softc *sc, void *to, int boff, int len) 473 volatile u_char *a1 = (u_char *)sc->sc_mem + boff; 479 if (len > 0 && isodd(boff)) { [all...] |
/src/sys/arch/acorn32/stand/lib/ |
riscosdisk.c | 41 daddr_t boff; member in struct:riscosdisk 88 rd->boff = 0; 101 rd->boff = dl.d_partitions[partition].p_offset; 128 dblk += rd->boff;
|
/src/sys/dev/mca/ |
if_le_mca.c | 348 le_mca_copytobuf(struct lance_softc *sc, void *from, int boff, int len) 352 bus_space_write_region_1(lsc->sc_memt, lsc->sc_memh, boff, from, len); 356 le_mca_copyfrombuf(struct lance_softc *sc, void *to, int boff, int len) 360 bus_space_read_region_1(lsc->sc_memt, lsc->sc_memh, boff, to, len); 364 le_mca_zerobuf(struct lance_softc *sc, int boff, int len) 368 bus_space_set_region_1(lsc->sc_memt, lsc->sc_memh, boff, 0x00, len);
|
/src/sys/arch/hp300/dev/ |
if_le.c | 266 le_copytobuf(struct lance_softc *sc, void *from, int boff, int len) 270 bus_space_write_region_1(lesc->sc_bst, lesc->sc_bsh2, boff, from, len); 274 le_copyfrombuf(struct lance_softc *sc, void *to, int boff, int len) 278 bus_space_read_region_1(lesc->sc_bst, lesc->sc_bsh2, boff, to, len); 282 le_zerobuf(struct lance_softc *sc, int boff, int len) 286 bus_space_set_region_1(lesc->sc_bst, lesc->sc_bsh2, boff, 0, len);
|
/src/sys/arch/powerpc/booke/ |
copyout.c | 472 size_t boff = (uintptr_t)udaddr & 3; local in function:copyoutstr 482 if (boff > 0) { 488 } while (!done && boff + wlen < 4); 490 data <<= 8 * boff; 491 if (!done || boff + wlen == 4) { 492 uint32_t mask = 0xffffffff << (8 * boff); 494 boff = 0; 509 KASSERT(done || boff == 0); 535 * wlen=1 boff=0: 537 * wlen=1 boff=1 [all...] |
/src/usr.sbin/makefs/msdos/ |
msdosfs_denode.c | 205 int boff; local in function:msdosfs_detrunc 260 if ((boff = length & pmp->pm_crbomask) != 0) { 271 memset((char *)bp->b_data + boff, 0, 272 pmp->pm_bpcluster - boff);
|
/src/sys/arch/ofppc/stand/ofwboot/ |
rdb.c | 230 daddr_t boff; local in function:search_rdb_label 232 boff = pbp->e.lowcyl * pbp->e.secpertrk 235 if (boff > (pp - 1)->p_offset)
|
/src/sys/ufs/ffs/ |
ffs_bswap.c | 199 int32_t btotoff, boff, clustersumoff; local in function:ffs_cg_swap 248 boff = n->cg_old_boff; 252 boff = bswap32(n->cg_old_boff); 266 n16 = (u_int16_t *)((u_int8_t *)n + boff); 267 o16 = (u_int16_t *)((u_int8_t *)o + boff);
|
/src/usr.sbin/fstyp/ |
hammer2.c | 143 size_t bytes, io_bytes, boff, fbytes; local in function:read_media 157 boff = (size_t)((hammer2_off_t)io_off - io_base); 160 while (io_bytes + boff < bytes) 191 if (boff) 192 memcpy(media, (char *)media + boff, bytes);
|
/src/sys/dev/acpi/ |
acpi_mcfg.c | 551 int boff; local in function:acpimcfg_map_bus 563 boff = bus - seg->ms_bus_start; 564 if (seg->ms_bus[boff].valid_ndevs > 0) 567 mb = &seg->ms_bus[boff]; 781 int error, boff, b, d, f, endbus; local in function:acpimcfg_configure_bus 801 boff = b - seg->ms_bus_start; 802 mb = &seg->ms_bus[boff]; 866 boff = b - seg->ms_bus_start; 867 mb = &seg->ms_bus[boff];
|
/src/sys/arch/hppa/stand/common/ |
srt0.S | 73 blr %r0,%r5 ; Get address of 'boff' into 'r5', 74 ldo begin-boff(%r5),%r5 ; and subtract to get 'begin'. 75 boff: label
|
/src/usr.sbin/dumpfs/ |
dumpfs.c | 766 off_t boff, head, tail, len; local in function:print_journal 787 boff = bno * blklen; 789 ((head >= tail && (boff < tail || boff >= head)) || 790 (head < tail && (boff >= head && boff < tail)))) 794 (unsigned long)bno, (long long) boff); 796 if (lseek(fd, (off_t)(off*blklen) + boff, SEEK_SET)
|
/src/sys/fs/msdosfs/ |
msdosfs_denode.c | 351 int boff; local in function:msdosfs_detrunc 408 if ((boff = length & pmp->pm_crbomask) != 0) { 419 memset((char *)bp->b_data + boff, 0, 420 pmp->pm_bpcluster - boff); 427 pmp->pm_bpcluster - boff,
|
/src/sys/lib/libsa/ |
minixfs3.c | 234 int boff; local in function:block_map 258 boff = (int) (file_block - (zone << scale) ); /* relative blk in zone */ 267 *disk_block_p = (block_t) ((z << scale) + boff); 328 *disk_block_p = (block_t)((zone << scale) + boff);
|
/src/sys/arch/atari/vme/ |
if_le_vme.c | 608 bvme410_copytobuf(struct lance_softc *sc, void *from, int boff, int len) 613 for (buf += boff; len != 0; buf++, f++, len--) { 621 bvme410_zerobuf(struct lance_softc *sc, int boff, int len) 625 for (buf += boff; len != 0; buf++, len--) {
|
/src/sbin/mount_portal/ |
puffs_portal.c | 662 size_t xfersize, winsize, boff; local in function:portal_node_read 705 boff = 0; 713 memcpy(buf + boff, win, winsize); 715 boff += winsize;
|
/src/sys/ufs/ext2fs/ |
ext2fs_alloc.c | 859 size_t boff; local in function:ext2fs_cg_verify_and_initialize 891 boff = (ioff % fs->e2fs_ipb) * EXT2_DINODE_SIZE(fs); 894 if (boff) { 905 memset((char *)bp->b_data + boff, 0, 906 fs->e2fs_bsize - boff); 907 boff = 0;
|