Home
last modified time | relevance | path

Searched refs:tocopy (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_ncallio.c604 uint64_t tocopy; /* bytes */ in nsc_rncio_copy() local
612 tocopy = FBA_SIZE(bufp->sb_len); in nsc_rncio_copy()
614 while (tocopy > 0) { in nsc_rncio_copy()
620 thischunk = (int)min((nsc_size_t)vec->sv_len, tocopy); in nsc_rncio_copy()
628 tocopy -= thischunk; in nsc_rncio_copy()
/titanic_50/usr/src/uts/common/io/
H A Dcryptmod.c3440 int tocopy; in decrypt_rcmd_mblks() local
3450 tocopy = sizeof (uint32_t) - in decrypt_rcmd_mblks()
3452 if (tocopy > msglen) in decrypt_rcmd_mblks()
3453 tocopy = msglen; in decrypt_rcmd_mblks()
3455 ASSERT(mp->b_rptr + tocopy <= DB_LIM(mp)); in decrypt_rcmd_mblks()
3458 tmi->rcmd_state.cd_len), tocopy); in decrypt_rcmd_mblks()
3460 tmi->rcmd_state.cd_len += tocopy; in decrypt_rcmd_mblks()
3481 msglen -= tocopy; in decrypt_rcmd_mblks()
3482 mp->b_rptr += tocopy; in decrypt_rcmd_mblks()
3577 size_t tocopy; in decrypt_rcmd_mblks() local
[all …]
/titanic_50/usr/src/uts/common/io/i40e/
H A Di40e_transceiver.c2590 const size_t tocopy = MIN(hdrlen - hdrcopied, mp_len); in i40e_lso_chain() local
2591 i40e_tx_copy_fragment(tcb, mp, 0, tocopy); in i40e_lso_chain()
2592 hdrcopied += tocopy; in i40e_lso_chain()
2593 cpoff += tocopy; in i40e_lso_chain()
2594 if (tocopy == mp_len) { in i40e_lso_chain()
2643 size_t tocopy; in i40e_lso_chain() local
2677 tocopy = MIN(I40E_TCB_LEFT(tcb), mp_len - cpoff); in i40e_lso_chain()
2678 i40e_tx_copy_fragment(tcb, mp, cpoff, tocopy); in i40e_lso_chain()
2679 cpoff += tocopy; in i40e_lso_chain()
2680 segsz += tocopy; in i40e_lso_chain()
/titanic_50/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c458 int tocopy, copied; in spppcomp_outpkt() local
464 tocopy = copied = MIN(len, sizeof (indata)); in spppcomp_outpkt()
470 if (DB_REF(mp) == 1 && MBLKL(mp) >= tocopy && in spppcomp_outpkt()
478 while (tocopy > 0) { in spppcomp_outpkt()
480 if (tocopy > thislen) { in spppcomp_outpkt()
483 tocopy -= thislen; in spppcomp_outpkt()
486 bcopy(fmb->b_rptr, dp, tocopy); in spppcomp_outpkt()
/titanic_50/usr/src/uts/common/avs/ns/rdc/
H A Drdc_bitmap.c112 nsc_size_t tocopy; in rdc_ns_io() local
127 tocopy = min(io_len, FBA_SIZE(fba_len)); in rdc_ns_io()
128 ASSERT(tocopy < INT32_MAX); in rdc_ns_io()
156 while (tocopy > 0) { in rdc_ns_io()
164 copy_len = (size_t)min(vlen, (int)tocopy); in rdc_ns_io()
174 tocopy -= copy_len; /* adjust chunk byte length remaining */ in rdc_ns_io()
844 nsc_size_t tocopy; in rdc_write_bitmap_pattern() local
888 tocopy = krdc->bitmap_size; /* total bytes left to copy */ in rdc_write_bitmap_pattern()
909 len = min(tocopy, FBA_SIZE(fba_len)); in rdc_write_bitmap_pattern()
950 tocopy -= FBA_SIZE(fba_len); /* adjust byte length remaining */ in rdc_write_bitmap_pattern()
/titanic_50/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 …]
/titanic_50/usr/src/uts/common/avs/ns/sv/
H A Dsv.c2099 size_t tocopy, nbytes; /* byte lengths */ in _sv_lyr_strategy() local
2227 tocopy = min(FBA_SIZE(fba_len), bp->b_resid); in _sv_lyr_strategy()
2230 if (rw == NSC_WRITE && FBA_OFF(tocopy) != 0) { in _sv_lyr_strategy()
2251 while (tocopy > 0) { in _sv_lyr_strategy()
2252 nbytes = min(tocopy, (nsc_size_t)v->sv_len); in _sv_lyr_strategy()
2261 tocopy -= nbytes; in _sv_lyr_strategy()
/titanic_50/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;
/titanic_50/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.c5732 nsc_size_t tocopy; in _ii_nsc_io() local
5755 tocopy = min(io_len, FBA_SIZE(fba_len)); in _ii_nsc_io()
5867 while (tocopy > 0) { in _ii_nsc_io()
5875 copy_len = (size_t)min(vlen, tocopy); in _ii_nsc_io()
5885 tocopy -= copy_len; in _ii_nsc_io()