Searched refs:tocopy (Results 1 - 8 of 8) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_ncallio.c604 uint64_t tocopy; /* bytes */ local
612 tocopy = FBA_SIZE(bufp->sb_len);
614 while (tocopy > 0) {
620 thischunk = (int)min((nsc_size_t)vec->sv_len, tocopy);
628 tocopy -= thischunk;
/opensolaris-onvv-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c1826 unsigned int tocopy; local
1837 tocopy=*inputlen;
1839 tocopy=4;
1841 if (tocopy>text->needsize)
1842 tocopy=text->needsize;
1844 memcpy(text->sizebuf+4-text->needsize, *input, tocopy);
1845 text->needsize-=tocopy;
1847 *input+=tocopy;
1848 *inputlen-=tocopy;
2181 unsigned int tocopy; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/
H A Dcryptmod.c3440 int tocopy; local
3450 tocopy = sizeof (uint32_t) -
3452 if (tocopy > msglen)
3453 tocopy = msglen;
3455 ASSERT(mp->b_rptr + tocopy <= DB_LIM(mp));
3458 tmi->rcmd_state.cd_len), tocopy);
3460 tmi->rcmd_state.cd_len += tocopy;
3481 msglen -= tocopy;
3482 mp->b_rptr += tocopy;
3577 size_t tocopy; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c458 int tocopy, copied; local
464 tocopy = copied = MIN(len, sizeof (indata));
470 if (DB_REF(mp) == 1 && MBLKL(mp) >= tocopy &&
478 while (tocopy > 0) {
480 if (tocopy > thislen) {
483 tocopy -= thislen;
486 bcopy(fmb->b_rptr, dp, tocopy);
/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_bitmap.c112 nsc_size_t tocopy; local
127 tocopy = min(io_len, FBA_SIZE(fba_len));
128 ASSERT(tocopy < INT32_MAX);
156 while (tocopy > 0) {
164 copy_len = (size_t)min(vlen, (int)tocopy);
174 tocopy -= copy_len; /* adjust chunk byte length remaining */
844 nsc_size_t tocopy; local
888 tocopy = krdc->bitmap_size; /* total bytes left to copy */
909 len = min(tocopy, FBA_SIZE(fba_len));
950 tocopy
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c2095 size_t tocopy, nbytes; /* byte lengths */ local
2223 tocopy = min(FBA_SIZE(fba_len), bp->b_resid);
2226 if (rw == NSC_WRITE && FBA_OFF(tocopy) != 0) {
2247 while (tocopy > 0) {
2248 nbytes = min(tocopy, (nsc_size_t)v->sv_len);
2257 tocopy -= nbytes;
/opensolaris-onvv-gate/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c486 int tocopy = myMIN(text->needsize, *inputlen); local
488 memcpy(text->sizebuf + 4 - text->needsize, *input, tocopy);
489 text->needsize -= tocopy;
490 *input += tocopy;
491 *inputlen -= tocopy;
/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.c5729 nsc_size_t tocopy; local
5752 tocopy = min(io_len, FBA_SIZE(fba_len));
5864 while (tocopy > 0) {
5872 copy_len = (size_t)min(vlen, tocopy);
5882 tocopy -= copy_len;

Completed in 340 milliseconds