| /dragonfly/sys/dev/netif/lnc/ |
| HD | lance.c | 309 lance_put(struct lance_softc *sc, int boff, struct mbuf *m) in lance_put() argument 316 (*sc->sc_copytobuf)(sc, mtod(m, caddr_t), boff, m->m_len); in lance_put() 317 boff += m->m_len; in lance_put() 321 (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen); in lance_put() 334 lance_get(struct lance_softc *sc, int boff, int totlen) in lance_get() argument 370 (*sc->sc_copyfrombuf)(sc, mtod(m, caddr_t), boff, m->m_len); in lance_get() 371 boff += m->m_len; in lance_get() 561 lance_copytobuf_contig(struct lance_softc *sc, void *from, int boff, int len) in lance_copytobuf_contig() argument 568 memcpy(buf + boff, from, len); in lance_copytobuf_contig() 572 lance_copyfrombuf_contig(struct lance_softc *sc, void *to, int boff, int len) in lance_copyfrombuf_contig() argument [all …]
|
| /dragonfly/sys/kern/ |
| HD | vfs_vm.c | 130 nvtruncbuf(struct vnode *vp, off_t length, int blksize, int boff, int flags) in nvtruncbuf() argument 146 if (boff < 0) in nvtruncbuf() 147 boff = (int)(length % blksize); in nvtruncbuf() 148 if (boff) in nvtruncbuf() 149 info.truncloffset = length + (blksize - boff); in nvtruncbuf() 165 nvnode_pager_setsize(vp, length, blksize, boff); in nvtruncbuf() 179 if (boff && (flags & NVEXTF_TRIVIAL) == 0) { in nvtruncbuf() 180 truncboffset = length - boff; in nvtruncbuf() 184 bzero(bp->b_data + boff, blksize - boff); in nvtruncbuf() 186 if (bp->b_dirtyoff > boff) in nvtruncbuf() [all …]
|
| HD | vfs_subr.c | 1621 vinitvmio(struct vnode *vp, off_t filesize, int blksize, int boff) in vinitvmio() argument 1633 object = vnode_pager_alloc(vp, filesize, 0, 0, blksize, boff); in vinitvmio()
|
| /dragonfly/stand/lib/ |
| HD | hammer1.c | 106 hammer_off_t boff = off & ~HAMMER_BUFMASK64; in hread() local 108 boff &= HAMMER_OFF_LONG_MASK; in hread() 111 boff += hfs->buf_beg; in hread() 117 if (hfs->cache[i].off == boff) { in hread() 122 if (be->off != boff) { in hread() 124 be->off = boff; in hread() 127 boff & HAMMER_OFF_SHORT_MASK); in hread() 129 err(1, "short read on off %llx", boff); in hread() 133 boff >> DEV_BSHIFT, HAMMER_BUFSIZE, in hread() 165 hammer_off_t boff = off & ~HAMMER_BUFMASK64; in hread() local [all …]
|
| HD | cd9660.c | 280 u_daddr_t bno, boff; in cd9660_open() local 318 boff = 0; in cd9660_open() 325 cdb2devb(bno + boff), in cd9660_open() 334 boff++; in cd9660_open() 339 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_open()
|
| /dragonfly/sys/vfs/nfs/ |
| HD | nfs_bio.c | 102 int boff = 0; in nfs_bioread() local 187 boff = uio->uio_offset & (biosize - 1); in nfs_bioread() 224 if (loffset + boff >= np->n_size) { in nfs_bioread() 256 n = biosize - boff; in nfs_bioread() 259 if (loffset + boff + n > np->n_size) in nfs_bioread() 260 n = np->n_size - loffset - boff; in nfs_bioread() 281 boff = 0; in nfs_bioread() 291 boff = uio->uio_offset & (NFS_DIRBLKSIZ - 1); in nfs_bioread() 292 loffset = uio->uio_offset - boff; in nfs_bioread() 396 if ((size_t)boff > NFS_DIRBLKSIZ - bp->b_resid) { in nfs_bioread() [all …]
|
| /dragonfly/sbin/fsck_hammer2/ |
| HD | reconstruct.c | 232 size_t bytes, io_bytes, boff; in read_media() local 247 boff = io_off - io_base; in read_media() 250 while (io_bytes + boff < bytes) in read_media() 271 if (boff) in read_media() 272 memmove(media, (char *)media + boff, bytes); in read_media() 283 size_t bytes, io_bytes, boff; in write_media() local 295 boff = io_off - io_base; in write_media() 298 while (io_bytes + boff < bytes) in write_media() 316 memcpy(buf + boff, media, media_bytes); in write_media()
|
| HD | destroy.c | 115 size_t bytes, io_bytes, boff; in read_media() local 130 boff = io_off - io_base; in read_media() 133 while (io_bytes + boff < bytes) in read_media() 154 if (boff) in read_media() 155 memmove(media, (char *)media + boff, bytes); in read_media() 166 size_t bytes, io_bytes, boff; in write_media() local 178 boff = io_off - io_base; in write_media() 181 while (io_bytes + boff < bytes) in write_media() 199 memcpy(buf + boff, media, media_bytes); in write_media()
|
| HD | test.c | 668 size_t bytes, io_bytes, boff; in read_media() local 682 boff = io_off - io_base; in read_media() 685 while (io_bytes + boff < bytes) in read_media() 696 if (boff) in read_media() 697 memmove(media, (char *)media + boff, bytes); in read_media()
|
| /dragonfly/sys/vfs/ntfs/ |
| HD | ntfs_compr.c | 51 int blen, boff; in ntfs_uncompblock() local 79 boff = -1 - (GET_UINT16(cbuf + cpos) >> dshift); in ntfs_uncompblock() 82 buf[pos] = buf[pos + boff]; in ntfs_uncompblock()
|
| /dragonfly/sys/vfs/mfs/ |
| HD | mfs_vfsops.c | 155 off_t boff = bio->bio_offset; in mfsstrategy() local 156 off_t eoff = boff + bp->b_bcount; in mfsstrategy() 163 if (boff < 0) in mfsstrategy() 166 if (boff > mfsp->mfs_size || (bp->b_flags & B_BNOCLIP)) in mfsstrategy() 173 if (boff == mfsp->mfs_size) { in mfsstrategy() 178 bp->b_bcount = mfsp->mfs_size - boff; in mfsstrategy()
|
| /dragonfly/usr.sbin/makefs/msdos/ |
| HD | msdosfs_denode.c | 217 int boff; in detrunc() local 274 if ((boff = length & pmp->pm_crbomask) != 0) { in detrunc() 286 memset(bp->b_data + boff, 0, pmp->pm_bpcluster - boff); in detrunc()
|
| /dragonfly/sbin/hammer2/ |
| HD | cmd_info.c | 389 size_t boff; in h2pfs_check() local 402 boff = io_off - io_base; in h2pfs_check() 405 while (io_bytes + boff < bytes) in h2pfs_check() 418 if (boff) in h2pfs_check() 419 bcopy((char *)&media + boff, &media, bytes); in h2pfs_check()
|
| HD | cmd_debug.c | 777 size_t boff; in show_bref() local 781 boff = io_off - io_base; in show_bref() 784 while (io_bytes + boff < bytes) in show_bref() 799 if (boff) in show_bref() 800 bcopy((char *)&media + boff, &media, bytes); in show_bref()
|
| /dragonfly/usr.sbin/fstyp/ |
| HD | hammer2.c | 130 size_t bytes, io_bytes, boff, fbytes; in read_media() local 144 boff = io_off - io_base; in read_media() 147 while (io_bytes + boff < bytes) in read_media() 178 if (boff) in read_media() 179 memcpy(media, (char *)media + boff, bytes); in read_media()
|
| /dragonfly/usr.sbin/makefs/ffs/ |
| HD | ffs_bswap.c | 209 int32_t btotoff, boff, clustersumoff; in ffs_cg_swap() local 249 boff = n->cg_old_boff; in ffs_cg_swap() 253 boff = bswap32(n->cg_old_boff); in ffs_cg_swap() 258 n16 = (u_int16_t *)((u_int8_t *)n + boff); in ffs_cg_swap() 259 o16 = (u_int16_t *)((u_int8_t *)o + boff); in ffs_cg_swap()
|
| /dragonfly/sys/vm/ |
| HD | vnode_pager.c | 103 int blksize, int boff) in vnode_pager_alloc() argument 149 if (boff < 0) in vnode_pager_alloc() 150 boff = (int)(length % blksize); in vnode_pager_alloc() 151 if (boff) in vnode_pager_alloc() 152 loffset = length + (blksize - boff); in vnode_pager_alloc()
|
| /dragonfly/sys/vfs/msdosfs/ |
| HD | msdosfs_denode.c | 486 int boff; in detrunc() local 543 if ((boff = length & pmp->pm_crbomask) != 0) { in detrunc() 558 memset(bp->b_data + boff, 0, pmp->pm_bpcluster - boff); in detrunc()
|
| /dragonfly/sys/vfs/hammer/ |
| HD | hammer_vnops.c | 2654 int boff; in hammer_vop_strategy_read() local 2753 boff = 0; in hammer_vop_strategy_read() 2769 n = (int)(rec_offset - (bio->bio_offset + boff)); in hammer_vop_strategy_read() 2771 if (n > bp->b_bufsize - boff) in hammer_vop_strategy_read() 2772 n = bp->b_bufsize - boff; in hammer_vop_strategy_read() 2773 bzero((char *)bp->b_data + boff, n); in hammer_vop_strategy_read() 2774 boff += n; in hammer_vop_strategy_read() 2792 } else if (n > bp->b_bufsize - boff) { in hammer_vop_strategy_read() 2793 n = bp->b_bufsize - boff; in hammer_vop_strategy_read() 2844 isdedupable = (boff == 0 && n == bp->b_bufsize && in hammer_vop_strategy_read() [all …]
|
| /dragonfly/sys/sys/ |
| HD | vnode.h | 474 int nvtruncbuf (struct vnode *vp, off_t length, int blksize, int boff, 480 int blksize, int boff); 484 int vinitvmio(struct vnode *vp, off_t filesize, int blksize, int boff);
|
| /dragonfly/usr.sbin/makefs/hammer2/ |
| HD | hammer2_compat.h | 554 vinitvmio(struct m_vnode *vp, off_t filesize, int blksize, int boff) in vinitvmio() argument 684 nvtruncbuf(struct m_vnode *vp, off_t length, int blksize, int boff, int flags) in nvtruncbuf() argument
|
| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | tree-predcom.c | 1582 unsigned HOST_WIDE_INT boff; variable 1586 boff = tree_to_uhwi (DECL_FIELD_BIT_OFFSET (field)); 1588 if (boff % BITS_PER_UNIT != 0 1597 boff >>= LOG2_BITS_PER_UNIT; 1598 boff += tree_to_uhwi (offset); 1599 coff = size_binop (MINUS_EXPR, coff, ssize_int (boff));
|
| HD | gimple-ssa-store-merging.c | 382 poly_offset_int boff = mem_ref_offset (base_addr); in find_bswap_or_nop_load() local 383 boff <<= LOG2_BITS_PER_UNIT; in find_bswap_or_nop_load() 384 bit_offset += boff; in find_bswap_or_nop_load()
|
| /dragonfly/contrib/gcc-4.7/gcc/cp/ |
| HD | rtti.c | 655 tree static_type, target_type, boff; in build_dynamic_cast_1() local 706 boff = dcast_base_hint (static_type, target_type); in build_dynamic_cast_1() 718 elems[3] = boff; in build_dynamic_cast_1()
|
| /dragonfly/contrib/gcc-8.0/gcc/cp/ |
| HD | rtti.c | 685 tree static_type, target_type, boff; in build_dynamic_cast_1() local 738 boff = dcast_base_hint (static_type, target_type); in build_dynamic_cast_1() 750 elems[3] = boff; in build_dynamic_cast_1()
|