Lines Matching defs:tocopy
1262 size_t tocopy;
1306 tocopy = MIN(left, ntfs_cntob(1) - off);
1307 cl = ntfs_btocl(tocopy + off);
1308 KASSERT(cl == 1 && tocopy <= ntfs_cntob(1));
1312 (long long) off, (long long) tocopy,
1314 if ((off == 0) && (tocopy == ntfs_cntob(cl))) {
1326 uiomove((char *)bp->b_data + off, tocopy, uio);
1328 memcpy((char *)bp->b_data + off, data, tocopy);
1330 data = (char *)data + tocopy;
1331 *initp += tocopy;
1333 left -= tocopy;
1366 size_t tocopy;
1403 tocopy = MIN(left,
1405 cl = ntfs_btocl(tocopy + off);
1407 tocopy <= ntfs_cntob(1));
1414 (long long) tocopy,
1425 tocopy, uio);
1428 tocopy);
1431 data = (char *)data + tocopy;
1432 *initp += tocopy;
1434 left -= tocopy;
1439 tocopy = MIN(left, ntfs_cntob(ccl) - off);
1443 (long long) off, (long long) tocopy,
1445 left -= tocopy;
1449 size_t remains = tocopy;
1453 memset(data, 0, tocopy);
1454 data = (char *)data + tocopy;
1552 off_t off, left, tocopy;
1576 tocopy = MIN(left, ntfs_cntob(NTFS_COMPUNIT_CL) - off);
1580 uiomove(cup + off, tocopy, uio);
1582 memcpy(data, cup + off, tocopy);
1586 size_t remains = tocopy;
1591 memset(data, 0, tocopy);
1597 uiomove(uup + off, tocopy, uio);
1599 memcpy(data, uup + off, tocopy);
1602 left -= tocopy;
1603 data = (char *)data + tocopy;
1604 off += tocopy - ntfs_cntob(NTFS_COMPUNIT_CL);