Searched defs:tocopy (Results 1 - 9 of 9) sorted by relevance

/illumos-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;
/illumos-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);
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dlinenoise.c833 int tocopy = history_len; local
839 if (len < tocopy) {
842 for (j = 0; j < tocopy-len; j++) free(history[j]);
843 tocopy = len;
846 memcpy(new,history+(history_len-tocopy), sizeof(char*)*tocopy);
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c484 int tocopy = myMIN(text->needsize, *inputlen); local
486 memcpy(text->sizebuf + 4 - text->needsize, *input, tocopy);
487 text->needsize -= tocopy;
488 *input += tocopy;
489 *inputlen -= tocopy;
/illumos-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...]
/illumos-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...]
/illumos-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c2099 size_t tocopy, nbytes; /* byte lengths */ local
2227 tocopy = min(FBA_SIZE(fba_len), bp->b_resid);
2230 if (rw == NSC_WRITE && FBA_OFF(tocopy) != 0) {
2251 while (tocopy > 0) {
2252 nbytes = min(tocopy, (nsc_size_t)v->sv_len);
2261 tocopy -= nbytes;
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c1818 unsigned int tocopy; local
1829 tocopy=*inputlen;
1831 tocopy=4;
1833 if (tocopy>text->needsize)
1834 tocopy=text->needsize;
1836 memcpy(text->sizebuf+4-text->needsize, *input, tocopy);
1837 text->needsize-=tocopy;
1839 *input+=tocopy;
1840 *inputlen-=tocopy;
2173 unsigned int tocopy; local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.c5732 nsc_size_t tocopy; local
5755 tocopy = min(io_len, FBA_SIZE(fba_len));
5867 while (tocopy > 0) {
5875 copy_len = (size_t)min(vlen, tocopy);
5885 tocopy -= copy_len;

Completed in 137 milliseconds