Home
last modified time | relevance | path

Searched refs:bufoff (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddmu.c914 int bufoff; in dmu_read() local
919 bufoff = offset - db->db_offset; in dmu_read()
920 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_read()
922 bcopy((char *)db->db_data + bufoff, buf, tocpy); in dmu_read()
949 int bufoff; in dmu_write() local
954 bufoff = offset - db->db_offset; in dmu_write()
955 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_write()
964 bcopy(buf, (char *)db->db_data + bufoff, tocpy); in dmu_write()
1163 int bufoff; in dmu_read_uio_dnode() local
1168 bufoff = uio->uio_loffset - db->db_offset; in dmu_read_uio_dnode()
[all …]
/netbsd-src/sys/arch/sgimips/mace/
H A Dif_mec.c951 int len, bufoff, buflen, nsegs, align, resid, pseg, nptr, slen, i; in mec_start() local
983 bufoff = 0; in mec_start()
1010 bufoff = MEC_TXD_BUFSTART(ETHER_PAD_LEN); in mec_start()
1011 m_copydata(m0, 0, len, txd->txd_buf + bufoff); in mec_start()
1012 memset(txd->txd_buf + bufoff + len, 0, in mec_start()
1017 bufoff = MEC_TXD_BUFSTART(len); in mec_start()
1018 m_copydata(m0, 0, len, txd->txd_buf + bufoff); in mec_start()
1085 bufoff = MEC_TXD_BUFSTART(buflen); in mec_start()
1179 bufoff = MEC_TXD_BUFSTART(buflen); in mec_start()
1278 m_copydata(m0, 0, buflen, txd->txd_buf + bufoff); in mec_start()
/netbsd-src/usr.sbin/puffs/mount_psshfs/
H A Dpsbuf.c505 size_t bufoff, winlen; in psbuf_do_data() local
534 bufoff = puffs_framebuf_telloff(pb); in psbuf_do_data()
535 if (puffs_framebuf_getwindow(pb, bufoff, in psbuf_do_data()
/netbsd-src/sys/fs/hfs/
H A Dhfs_vnops.c866 off_t bufoff; /* offset in buffer relative to start of dirents */ in hfs_vop_readdir() local
873 bufoff = 0; in hfs_vop_readdir()
924 bufoff += curent.d_reclen; in hfs_vop_readdir()
925 if (bufoff - curent.d_reclen < uio->uio_offset) in hfs_vop_readdir()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgimple-fold.c6747 unsigned bufoff = 0; in fold_array_ctor_reference() local
6767 if (bufoff + elt_sz > sizeof (buf)) in fold_array_ctor_reference()
6768 elt_sz = sizeof (buf) - bufoff; in fold_array_ctor_reference()
6769 int len = native_encode_expr (val, buf + bufoff, elt_sz, in fold_array_ctor_reference()
6774 bufoff += len; in fold_array_ctor_reference()
6809 while (bufoff < size / BITS_PER_UNIT); in fold_array_ctor_reference()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgimple-fold.cc7845 unsigned bufoff = 0; in fold_array_ctor_reference() local
7865 if (bufoff + elt_sz > sizeof (buf)) in fold_array_ctor_reference()
7866 elt_sz = sizeof (buf) - bufoff; in fold_array_ctor_reference()
7867 int len = native_encode_expr (val, buf + bufoff, elt_sz, in fold_array_ctor_reference()
7872 bufoff += len; in fold_array_ctor_reference()
7907 while (bufoff < size / BITS_PER_UNIT); in fold_array_ctor_reference()
H A DChangeLog-202037091 bufoff + elt_sz is above size of buf.