Searched refs:total_len (Results 1 - 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_dto.c62 DAT_COUNT total_len; local
66 total_len = 0;
91 total_len += pr_sgl[i].ds_len;
98 cookie->val.dto.size = total_len;
158 DAT_COUNT total_len; local
171 total_len = pr_sgl.ds_len;
177 cookie->val.dto.size = total_len;
228 DAT_COUNT total_len; local
232 total_len = 0;
257 total_len
312 DAT_COUNT total_len; local
[all...]
H A Ddapl_arbel_hw.c196 uint32_t len, total_len; local
317 if (max_inline_bytes != -1) { /* compute total_len */
318 total_len = 0;
320 total_len += sgl[i].ds_len;
321 if (total_len > max_inline_bytes)
327 HTOBE_32(total_len | TAVOR_WQE_SGL_INLINE_MASK);
H A Ddapl_tavor_hw.c300 uint32_t len, total_len; local
414 if (max_inline_bytes != -1) { /* compute total_len */
415 total_len = 0;
417 total_len += sgl[i].ds_len;
418 if (total_len > max_inline_bytes)
424 HTOBE_32(total_len | TAVOR_WQE_SGL_INLINE_MASK);
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dmessage.c301 rdsv3_message_map_pages(unsigned long *page_addrs, unsigned int total_len) argument
306 RDSV3_DPRINTF4("rdsv3_message_map_pages", "Enter(len: %d)", total_len);
309 rm = rdsv3_message_alloc(ceil(total_len, PAGE_SIZE), KM_NOSLEEP);
317 rm->m_inc.i_hdr.h_len = htonl(total_len);
319 rm->m_nents = ceil(total_len, PAGE_SIZE);
335 size_t total_len)
341 RDSV3_DPRINTF4("rdsv3_message_copy_from_user", "Enter: %d", total_len);
344 rm = rdsv3_message_alloc(ceil(total_len, PAGE_SIZE), KM_NOSLEEP);
353 rm->m_inc.i_hdr.h_len = htonl(total_len);
360 while (total_len) {
334 rdsv3_message_copy_from_user(struct uio *uiop, size_t total_len) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_net.c505 size_t total_len = 0; local
519 total_len += sizeof (*ihp) + ihp->hlength * 4;
535 total_len += sizeof (crc_hdr);
547 total_len += data_len;
561 total_len += pad_len;
580 total_len += sizeof (crc_data);
586 int, iovlen, int, total_len);
595 DTRACE_PROBE2(sendmsg, size_t, total_len, size_t, send_len);
596 if (total_len != send_len) {
611 int total_len local
740 int total_len = 0; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c153 CK_ULONG total_len; local
193 total_len = soft_blowfish_ctx->remain_len + ulDataLen;
201 if (total_len < BLOWFISH_BLOCK_LEN) {
219 remain = total_len % BLOWFISH_BLOCK_LEN;
225 out_len = total_len - remain;
329 CK_ULONG total_len; local
369 total_len = soft_blowfish_ctx->remain_len + ulEncryptedLen;
371 if (total_len < BLOWFISH_BLOCK_LEN) {
386 remain = total_len % BLOWFISH_BLOCK_LEN;
392 out_len = total_len
[all...]
H A DsoftDESCrypt.c189 CK_ULONG total_len; local
262 total_len = soft_des_ctx->remain_len + ulDataLen;
271 if ((total_len < DES_BLOCK_LEN) ||
272 (pad_mechanism && (total_len == DES_BLOCK_LEN))) {
289 remain = total_len % DES_BLOCK_LEN;
295 out_len = total_len - remain;
505 CK_ULONG total_len; local
566 total_len = soft_des_ctx->remain_len + ulEncryptedLen;
575 if ((total_len < DES_BLOCK_LEN) ||
576 (pad_mechanism && (total_len
1079 CK_ULONG total_len; local
[all...]
H A DsoftAESCrypt.c168 CK_ULONG total_len; local
241 total_len = soft_aes_ctx->remain_len + ulDataLen;
250 if ((total_len < AES_BLOCK_LEN) ||
252 (total_len == AES_BLOCK_LEN))) {
269 remain = total_len % AES_BLOCK_LEN;
275 out_len = total_len - remain;
506 CK_ULONG total_len; local
565 total_len = soft_aes_ctx->remain_len + ulEncryptedLen;
574 if ((total_len < AES_BLOCK_LEN) ||
576 (total_len
[all...]
/illumos-gate/usr/src/uts/common/sys/idm/
H A Didm_so.h117 size_t total_len);
120 size_t total_len);
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_rdma.c180 uint_t total_len; local
191 total_len = *sizep;
192 if (total_len > maxsize) {
194 int, total_len, int, maxsize);
202 if (total_len == 0)
231 uint32_t, total_len, uint32_t, cle->c_xdroff);
233 if (total_len <= 0)
244 if (cle->c_len > total_len) {
246 cle->c_len = total_len;
252 total_len
437 uint32_t total_len = len; local
1283 uint_t total_len = 0; local
[all...]
/illumos-gate/usr/src/uts/common/net/
H A Dvjcompress.h149 extern int vj_uncompress_tcp __P((uchar_t *buf, int buflen, int total_len,
/illumos-gate/usr/src/uts/sun4u/opl/sys/
H A Ddm2s.h93 static void dm2s_dump_bytes(char *str, uint32_t total_len,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobject.c520 CK_ULONG_32 tmpl_len, total_len; local
531 total_len = tmpl_len + sizeof (CK_OBJECT_CLASS_32) +
534 buf = (CK_BYTE *)malloc(total_len);
539 (void) memset((CK_BYTE *)buf, 0x0, total_len);
558 *len = total_len;
H A Dutility.c528 UINT32 total_len)
536 if (data_len + pad_len > total_len) {
548 UINT32 total_len,
553 pad_value = ptr[total_len - 1];
556 *data_len = total_len - pad_value;
525 add_pkcs_padding(CK_BYTE * ptr, UINT32 block_size, UINT32 data_len, UINT32 total_len) argument
546 strip_pkcs_padding( CK_BYTE *ptr, UINT32 total_len, UINT32 *data_len) argument
H A Dloadsave.c690 UINT32 total_len; local
718 total_len = cleartxt_len + sizeof (UINT32) + sizeof (CK_BBOOL);
720 (void) fwrite(&total_len, sizeof (total_len), 1, fp);
754 UINT32 total_len; local
832 total_len = sizeof (UINT32) + sizeof (CK_BBOOL) + (UINT32)ciphertxt_len;
836 (void) fwrite(&total_len, sizeof (UINT32), 1, fp);
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_pcu.c525 long total_len; local
605 total_len = 0;
617 len, name_pool, total_len);
620 current.name = total_len;
625 total_len += len;
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_so.c620 idm_iov_sosend(ksocket_t so, iovec_t *iop, int iovlen, size_t total_len) argument
636 if (sent == total_len) {
660 idm_iov_sorecv(ksocket_t so, iovec_t *iop, int iovlen, size_t total_len) argument
678 if (recv == total_len) {
744 int total_len = 0; local
794 total_len += iov[iovlen].iov_len;
801 total_len += iov[iovlen].iov_len;
807 total_len) != 0)) {
1806 int total_len; local
1817 total_len
2167 int total_len = 0; local
[all...]
H A Didm_text.c307 size_t total_len, valuelen; local
313 total_len = idm_strnlen(*tb_scan, *tb_len);
314 if (total_len == *tb_len) {
331 if (*keylen == total_len) {
343 valuelen = total_len - (*keylen + 1);
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c527 * The packet starts at buf and is of total length total_len.
534 vj_uncompress_tcp(uchar_t *buf, int buflen, int total_len, argument
661 total_len += cs->cs_hlen - vjlen;
662 cs->cs_ip.ip_len = htons(total_len);
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c285 size_t total_len; local
290 total_len = (*ret_str == NULL) ? 0 : strlen(*ret_str);
296 *ret_str = (char *)realloc(*ret_str, total_len + len + 1);
305 (void) strcpy(*ret_str + total_len, str);
306 total_len += len;
/illumos-gate/usr/src/stand/lib/inet/
H A Dipv4.c258 uint_t total_len; local
272 for (i = 0, len = 0, total_len = 0; i < FRAG_MAX; i++) {
285 total_len += len;
286 if (total_len > mp->b_size)
303 iph->ip_len = htons(total_len);
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_wr.c95 int total_len, strong_order, fc_bits, cksum; local
170 total_len = (4 + 0xf + wr->wr.ud_lso.lso_hdr_sz) & ~0xf;
171 if ((uintptr_t)ds + total_len + (nds * 16) >
179 ds = (hermon_hw_wqe_sgl_t *)((uintptr_t)ds + total_len);
1398 int total_len; local
1400 total_len = (4 + 0xf + wr->wr.ud_lso.lso_hdr_sz) & ~0xf;
1401 if ((uintptr_t)ds + total_len + (nds * 16) >
1408 ds = (hermon_hw_wqe_sgl_t *)((uintptr_t)ds + total_len);
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddm2s.c1243 dm2s_dump_bytes(char *str, uint32_t total_len, argument
1259 for (nsg = 0; (nsg < num_sg) && (tlen < total_len); nsg++) {
1269 str, total_len, digest);
1273 for (nsg = 0; (nsg < num_sg) && (tlen < total_len); nsg++) {
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c683 * Caller assumes pktinfo->total_len will be updated by this function and
700 pktinfo->total_len += MBLKL(bp);
821 0, pktinfo->total_len, DDI_DMA_SYNC_FORDEV);
829 hwdesc->u6.s1.buffer1Length = pktinfo->total_len;
832 hwdesc->u1.s1.totalLength = pktinfo->total_len;
846 adapter->stats.txbytes += pktinfo->total_len;
981 if (pktinfo->total_len > adapter->maxmtu) {
1007 hwdesc->u1.s1.totalLength = pktinfo->total_len;
1047 adapter->stats.txbytes += pktinfo->total_len;
1092 if (pktinfo.total_len <
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c417 size_t total_len; local
422 total_len = (*ret_str == NULL) ? 0 : strlen(*ret_str);
428 *ret_str = (char *)realloc(*ret_str, total_len + len + 1);
436 (void) strcpy(*ret_str + total_len, str);
437 total_len += len;

Completed in 198 milliseconds

12