Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_dto.c62 DAT_COUNT total_len; in dapls_ib_post_recv() local
66 total_len = 0; in dapls_ib_post_recv()
91 total_len += pr_sgl[i].ds_len; in dapls_ib_post_recv()
158 DAT_COUNT total_len; in dapls_ib_post_recv_one() local
171 total_len = pr_sgl.ds_len; in dapls_ib_post_recv_one()
228 DAT_COUNT total_len; in dapls_ib_post_srq() local
232 total_len = 0; in dapls_ib_post_srq()
257 total_len += pr_sgl[i].ds_len; in dapls_ib_post_srq()
312 DAT_COUNT total_len; in dapls_ib_post_send() local
317 total_len = 0; in dapls_ib_post_send()
[all …]
H A Ddapl_arbel_hw.c196 uint32_t len, total_len; in dapli_arbel_wqe_send_build() local
318 total_len = 0; in dapli_arbel_wqe_send_build()
320 total_len += sgl[i].ds_len; in dapli_arbel_wqe_send_build()
321 if (total_len > max_inline_bytes) in dapli_arbel_wqe_send_build()
327 HTOBE_32(total_len | TAVOR_WQE_SGL_INLINE_MASK); in dapli_arbel_wqe_send_build()
H A Ddapl_tavor_hw.c300 uint32_t len, total_len; in dapli_tavor_wqe_send_build() local
415 total_len = 0; in dapli_tavor_wqe_send_build()
417 total_len += sgl[i].ds_len; in dapli_tavor_wqe_send_build()
418 if (total_len > max_inline_bytes) in dapli_tavor_wqe_send_build()
424 HTOBE_32(total_len | TAVOR_WQE_SGL_INLINE_MASK); in dapli_tavor_wqe_send_build()
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dmessage.c307 RDSV3_DPRINTF4("rdsv3_message_map_pages", "Enter(len: %d)", total_len); in rdsv3_message_map_pages()
310 rm = rdsv3_message_alloc(ceil(total_len, PAGE_SIZE), KM_NOSLEEP); in rdsv3_message_map_pages()
318 rm->m_inc.i_hdr.h_len = htonl(total_len); in rdsv3_message_map_pages()
320 rm->m_nents = ceil(total_len, PAGE_SIZE); in rdsv3_message_map_pages()
336 size_t total_len) in rdsv3_message_copy_from_user() argument
342 RDSV3_DPRINTF4("rdsv3_message_copy_from_user", "Enter: %d", total_len); in rdsv3_message_copy_from_user()
345 rm = rdsv3_message_alloc(ceil(total_len, PAGE_SIZE), KM_NOSLEEP); in rdsv3_message_copy_from_user()
354 rm->m_inc.i_hdr.h_len = htonl(total_len); in rdsv3_message_copy_from_user()
361 while (total_len) { in rdsv3_message_copy_from_user()
363 ret = rdsv3_page_remainder_alloc(sg, total_len, 0); in rdsv3_message_copy_from_user()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_net.c504 size_t total_len = 0; in iscsi_net_sendpdu() local
546 total_len += data_len; in iscsi_net_sendpdu()
560 total_len += pad_len; in iscsi_net_sendpdu()
595 if (total_len != send_len) { in iscsi_net_sendpdu()
610 int total_len = 0; in iscsi_net_recvhdr() local
667 total_len += adhdr_length; in iscsi_net_recvhdr()
695 if (recv_len != total_len) { in iscsi_net_recvhdr()
739 int total_len = 0; in iscsi_net_recvdata() local
773 total_len = dlength; in iscsi_net_recvdata()
779 total_len += pad_len; in iscsi_net_recvdata()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c154 CK_ULONG total_len; in soft_blowfish_encrypt_common() local
194 total_len = soft_blowfish_ctx->remain_len + ulDataLen; in soft_blowfish_encrypt_common()
202 if (total_len < BLOWFISH_BLOCK_LEN) { in soft_blowfish_encrypt_common()
220 remain = total_len % BLOWFISH_BLOCK_LEN; in soft_blowfish_encrypt_common()
226 out_len = total_len - remain; in soft_blowfish_encrypt_common()
326 CK_ULONG total_len; in soft_blowfish_decrypt_common() local
366 total_len = soft_blowfish_ctx->remain_len + ulEncryptedLen; in soft_blowfish_decrypt_common()
368 if (total_len < BLOWFISH_BLOCK_LEN) { in soft_blowfish_decrypt_common()
383 remain = total_len % BLOWFISH_BLOCK_LEN; in soft_blowfish_decrypt_common()
389 out_len = total_len - remain; in soft_blowfish_decrypt_common()
H A DsoftDESCrypt.c190 CK_ULONG total_len; in soft_des_encrypt_common() local
263 total_len = soft_des_ctx->remain_len + ulDataLen; in soft_des_encrypt_common()
272 if ((total_len < DES_BLOCK_LEN) || in soft_des_encrypt_common()
290 remain = total_len % DES_BLOCK_LEN; in soft_des_encrypt_common()
296 out_len = total_len - remain; in soft_des_encrypt_common()
501 CK_ULONG total_len; in soft_des_decrypt_common() local
571 if ((total_len < DES_BLOCK_LEN) || in soft_des_decrypt_common()
590 remain = total_len % DES_BLOCK_LEN; in soft_des_decrypt_common()
596 out_len = total_len - remain; in soft_des_decrypt_common()
1069 CK_ULONG total_len; in soft_des_mac_sign_verify_update() local
[all …]
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_rdma.c180 uint_t total_len; in xdrrdma_getrdmablk() local
191 total_len = *sizep; in xdrrdma_getrdmablk()
202 if (total_len == 0) in xdrrdma_getrdmablk()
233 if (total_len <= 0) in xdrrdma_getrdmablk()
255 total_len > 0) { in xdrrdma_getrdmablk()
261 total_len == 0) { in xdrrdma_getrdmablk()
468 if (total_len <= 0) in xdrrdma_getbytes()
487 total_len > 0) { in xdrrdma_getbytes()
494 total_len == 0) { in xdrrdma_getbytes()
529 total_len == 0) { in xdrrdma_getbytes()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_dbg.c215 int total_len = 0; in qede_dump_mblk_chain_bcont_ptr() local
219 total_len += len; in qede_dump_mblk_chain_bcont_ptr()
227 num_mblk, total_len); in qede_dump_mblk_chain_bcont_ptr()
238 int total_len = 0; in qede_dump_mblk_chain_bnext_ptr() local
242 total_len += len; in qede_dump_mblk_chain_bnext_ptr()
249 num_mblk, total_len); in qede_dump_mblk_chain_bnext_ptr()
H A Dqede_fp.c922 pktinfo->total_len = 0; in qede_get_pkt_info()
935 pktinfo->total_len += size; in qede_get_pkt_info()
1011 0, pktinfo->total_len, in qede_tx_bcopy()
1046 pktinfo->total_len); in qede_tx_bcopy()
1169 mblen, pktinfo->mblk_no, pktinfo->total_len, in qede_tx_mapped()
1205 pktinfo->total_len, pktinfo->mblk_no); in qede_tx_mapped()
1518 pktinfo.total_len > qede->tx_bcopy_threshold) { in qede_send_tx_packet()
1522 if (pktinfo.total_len > qede->tx_bcopy_threshold) { in qede_send_tx_packet()
1527 if (pktinfo.total_len <= qede->tx_bcopy_threshold) { in qede_send_tx_packet()
1580 } else if(pktinfo.total_len > 1518) { in qede_send_tx_packet()
[all …]
H A Dqede_fp.h119 u32 total_len; member
/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/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c528 UINT32 total_len) in add_pkcs_padding() argument
536 if (data_len + pad_len > total_len) { in add_pkcs_padding()
548 UINT32 total_len, in strip_pkcs_padding() argument
553 pad_value = ptr[total_len - 1]; in strip_pkcs_padding()
556 *data_len = total_len - pad_value; in strip_pkcs_padding()
H A Dobject.c520 CK_ULONG_32 tmpl_len, total_len; in object_flatten() local
531 total_len = tmpl_len + sizeof (CK_OBJECT_CLASS_32) + in object_flatten()
534 buf = (CK_BYTE *)malloc(total_len); in object_flatten()
539 (void) memset((CK_BYTE *)buf, 0x0, total_len); in object_flatten()
558 *len = total_len; in object_flatten()
H A Dloadsave.c690 UINT32 total_len; in save_public_token_object() local
718 total_len = cleartxt_len + sizeof (UINT32) + sizeof (CK_BBOOL); in save_public_token_object()
720 (void) fwrite(&total_len, sizeof (total_len), 1, fp); in save_public_token_object()
754 UINT32 total_len; in save_private_token_object() local
832 total_len = sizeof (UINT32) + sizeof (CK_BBOOL) + (UINT32)ciphertxt_len; in save_private_token_object()
836 (void) fwrite(&total_len, sizeof (UINT32), 1, fp); in save_private_token_object()
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_so.c638 if (sent == total_len) { in idm_iov_sosend()
680 if (recv == total_len) { in idm_iov_sorecv()
843 int total_len = 0; in idm_sorecvhdr() local
898 total_len += iov[iovlen].iov_len; in idm_sorecvhdr()
905 total_len += iov[iovlen].iov_len; in idm_sorecvhdr()
911 total_len) != 0)) { in idm_sorecvhdr()
1935 int total_len; in idm_sorecvdata() local
1946 total_len = pdu->isp_datalen; in idm_sorecvdata()
1951 total_len += pad_len; in idm_sorecvdata()
2296 int total_len = 0; in idm_i_so_tx() local
[all …]
H A Didm_text.c307 size_t total_len, valuelen; in idm_keyvalue_get_next() local
313 total_len = idm_strnlen(*tb_scan, *tb_len); in idm_keyvalue_get_next()
314 if (total_len == *tb_len) { in idm_keyvalue_get_next()
331 if (*keylen == total_len) { in idm_keyvalue_get_next()
343 valuelen = total_len - (*keylen + 1); in idm_keyvalue_get_next()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_copychunk.c263 uint32_t total_len = 0; in smb2_fsctl_copychunk_decode() local
277 total_len += cc->length; in smb2_fsctl_copychunk_decode()
279 if (total_len > smb2_copychunk_max_total) in smb2_fsctl_copychunk_decode()
/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/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c532 vj_uncompress_tcp(uchar_t *buf, int buflen, int total_len, in vj_uncompress_tcp() argument
659 total_len += cs->cs_hlen - vjlen; in vj_uncompress_tcp()
660 cs->cs_ip.ip_len = htons(total_len); in vj_uncompress_tcp()
/illumos-gate/usr/src/uts/common/net/
H A Dvjcompress.h147 extern int vj_uncompress_tcp __P((uchar_t *buf, int buflen, int total_len,
/illumos-gate/usr/src/stand/lib/inet/
H A Dipv4.c256 uint_t total_len; in frag_load() local
270 for (i = 0, len = 0, total_len = 0; i < FRAG_MAX; i++) { in frag_load()
283 total_len += len; in frag_load()
284 if (total_len > mp->b_size) in frag_load()
301 iph->ip_len = htons(total_len); in frag_load()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_wr.c95 int total_len, strong_order, fc_bits, cksum; in hermon_post_send_ud() local
170 total_len = (4 + 0xf + wr->wr.ud_lso.lso_hdr_sz) & ~0xf; in hermon_post_send_ud()
171 if ((uintptr_t)ds + total_len + (nds * 16) > in hermon_post_send_ud()
179 ds = (hermon_hw_wqe_sgl_t *)((uintptr_t)ds + total_len); in hermon_post_send_ud()
1398 int total_len; in hermon_wqe_send_build() local
1400 total_len = (4 + 0xf + wr->wr.ud_lso.lso_hdr_sz) & ~0xf; in hermon_wqe_send_build()
1401 if ((uintptr_t)ds + total_len + (nds * 16) > in hermon_wqe_send_build()
1408 ds = (hermon_hw_wqe_sgl_t *)((uintptr_t)ds + total_len); in hermon_wqe_send_build()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_crypt.c1388 uint_t aad_len = 0, nr_iovecs = 0, total_len = 0; in zio_crypt_init_uios_zil() local
1511 total_len += crypt_len; in zio_crypt_init_uios_zil()
1522 total_len += crypt_len; in zio_crypt_init_uios_zil()
1533 total_len += crypt_len; in zio_crypt_init_uios_zil()
1538 *enc_len = total_len; in zio_crypt_init_uios_zil()
1585 uint_t aad_len = 0, nr_iovecs = 0, total_len = 0; in zio_crypt_init_uios_dnode() local
1713 total_len += crypt_len; in zio_crypt_init_uios_dnode()
1723 *enc_len = total_len; in zio_crypt_init_uios_dnode()
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c700 pktinfo->total_len += MBLKL(bp); in unm_get_pkt_info()
821 0, pktinfo->total_len, DDI_DMA_SYNC_FORDEV); in unm_send_copy()
829 hwdesc->u6.s1.buffer1Length = pktinfo->total_len; in unm_send_copy()
832 hwdesc->u1.s1.totalLength = pktinfo->total_len; in unm_send_copy()
846 adapter->stats.txbytes += pktinfo->total_len; in unm_send_copy()
981 if (pktinfo->total_len > adapter->maxmtu) { in unm_send_mapped()
1007 hwdesc->u1.s1.totalLength = pktinfo->total_len; in unm_send_mapped()
1047 adapter->stats.txbytes += pktinfo->total_len; in unm_send_mapped()
1092 if (pktinfo.total_len <= adapter->tx_bcopy_threshold || in unm_nic_xmit_frame()
1100 if (pktinfo.total_len <= adapter->maxmtu) in unm_nic_xmit_frame()

12