Home
last modified time | relevance | path

Searched refs:pdu_size (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Disns_client.c150 static size_t isns_rcv_pdu(void *so, isns_pdu_t **pdu, size_t *pdu_size);
1581 isns_rcv_pdu(void *socket, isns_pdu_t **pdu, size_t *pdu_size) in isns_rcv_pdu() argument
1622 *pdu_size = 0; in isns_rcv_pdu()
1628 *pdu_size = 0; in isns_rcv_pdu()
1639 *pdu_size = 0; in isns_rcv_pdu()
1677 *pdu_size = 0; in isns_rcv_pdu()
1684 *pdu_size = 0; in isns_rcv_pdu()
1689 *pdu_size = ISNSP_HEADER_SIZE + payload_len; in isns_rcv_pdu()
1690 (*pdu) = (isns_pdu_t *)kmem_zalloc((*pdu_size), KM_SLEEP); in isns_rcv_pdu()
1721 size_t pdu_size, node_name_len, node_alias_len; in isns_create_dev_attr_reg_pdu() local
[all …]
/titanic_41/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_isns.c329 isnst_reg_pdu_add_entity_portals(isns_pdu_t *pdu, size_t pdu_size);
332 isnst_reg_pdu_add_pg(isns_pdu_t *pdu, size_t pdu_size, isns_target_t *target);
335 isnst_add_default_pg(isns_pdu_t *pdu, size_t pdu_size,
339 isnst_add_tpg_pg(isns_pdu_t *pdu, size_t pdu_size,
343 isnst_add_null_pg(isns_pdu_t *pdu, size_t pdu_size,
347 isnst_add_portal_attr(isns_pdu_t *pdu, size_t pdu_size,
1624 size_t pdu_size, rsp_size; in isnst_register() local
1632 pdu_size = isnst_make_reg_pdu(&pdu, itarget, svr, regtype); in isnst_register()
1633 if (pdu_size == 0) { in isnst_register()
1640 kmem_free(pdu, pdu_size); in isnst_register()
[all …]
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_client.c472 send_nds->pdu_size, (char *)send_nds->pdu_base_offset, in ndr_xa_exchange()
475 recv_nds->pdu_size = 0; in ndr_xa_exchange()
479 recv_nds->pdu_size = nbytes; in ndr_xa_exchange()
500 if ((len = (nds->pdu_max_size - nds->pdu_size)) < 0) in ndr_xa_read()
504 (char *)nds->pdu_base_offset + nds->pdu_size); in ndr_xa_read()
509 nds->pdu_size += nbytes; in ndr_xa_read()
511 if (nds->pdu_size > nds->pdu_max_size) { in ndr_xa_read()
512 nds->pdu_size = nds->pdu_max_size; in ndr_xa_read()
/titanic_41/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_server.c199 saved_size = nds->pdu_size; in ndr_recv_request()
201 nds->pdu_size = saved_size; in ndr_recv_request()
737 unsigned long pdu_size; in ndr_send_reply() local
743 pdu_size = nds->pdu_size; in ndr_send_reply()
746 if (pdu_size <= frag_size) { in ndr_send_reply()
763 hdr->frag_length = pdu_size; in ndr_send_reply()
773 hdr->frag_length = pdu_size; in ndr_send_reply()
779 pdu_size = nds->pdu_size; in ndr_send_reply()
780 (void) NDR_PIPE_SEND(mxa->pipe, pdu_buf, pdu_size); in ndr_send_reply()
794 pdu_data_size = pdu_size - NDR_RSP_HDR_SIZE; in ndr_send_reply()
H A Dndr_client.c182 mxa.send_hdr.common_hdr.frag_length = mxa.send_nds.pdu_size; in ndr_clnt_call()
183 reqhdr->alloc_hint = mxa.send_nds.pdu_size - in ndr_clnt_call()
217 mxa.recv_nds.pdu_size = rsphdr->frag_length; in ndr_clnt_call()
291 if (frag_size > (nds->pdu_size - nds->pdu_scan_offset)) { in ndr_clnt_get_frags()
315 available = nds->pdu_size - nds->pdu_scan_offset; in ndr_clnt_get_frag()
H A Dndr_ops.c154 nds->pdu_size = 0; in nds_initialize()
191 nds->pdu_base_offset, nds->pdu_size, nds->pdu_max_size, in nds_show_state()
255 nds->pdu_size = want_end_offset; in ndo_grow_pdu()
357 nds->pdu_size, nds->pdu_max_size); in ndo_tattle_error()
372 nds->pdu_size = 0; in ndo_reset()
H A Dndr_marshal.c419 nbytes = nds->pdu_size - nds->pdu_scan_offset - NDR_RSP_HDR_SIZE; in ndr_remove_frag_hdr()
422 nds->pdu_size -= NDR_RSP_HDR_SIZE; in ndr_remove_frag_hdr()
H A Dndr_process.c1524 if (nds->pdu_size < pdu_want_size) in ndr_outer_grow()
1525 nds->pdu_size = pdu_want_size; in ndr_outer_grow()
/titanic_41/usr/src/cmd/isns/isnsd/
H A Dpdu.c62 size_t *pdu_size, in isns_rcv_pdu() argument
78 *pdu_size = 0; in isns_rcv_pdu()
173 *pdu_size = ISNSP_HEADER_SIZE + payload_len; in isns_rcv_pdu()
174 (*pdu) = (isns_pdu_t *)malloc(*pdu_size); in isns_rcv_pdu()
176 *pdu_size = 0; in isns_rcv_pdu()
/titanic_41/usr/src/uts/common/smbsrv/
H A Dndr.h238 unsigned long pdu_size; member