Searched refs:req_len (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c416 int req_len; local
424 req_len = opt_len + sizeof (d6o);
426 if (dpkt->pkt_cur_len + req_len > dpkt->pkt_max_len) {
430 dpkt->pkt_cur_len, req_len, dpkt->pkt_max_len);
443 req_len = opt_len + 2; /* + 2 for code & length bytes */
447 req_len = 1;
454 if ((dpkt->pkt_cur_len + req_len) > dpkt->pkt_max_len) {
463 if (req_len > 1) {
497 int req_len; local
507 req_len
[all...]
/illumos-gate/usr/src/cmd/iscsid/
H A Discsid.c114 int req_len,
456 int req_len,
468 if (req_len < sizeof (getipnodebyname_cnf_t)) {
470 *pcnf_len = req_len;
481 ((name + req->name_length) > ((char *)req + req_len))) {
483 *pcnf_len = req_len;
454 _getipnodebyname_req( getipnodebyname_req_t *req, int req_len, size_t *pcnf_len ) argument
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c818 size_t req_len; local
823 req_len = strlen(p) + 1;
825 req_len = name->size + 1;
828 if (len <= req_len) {
835 (void) memcpy(ptr, p, req_len);
836 *(ptr + req_len) = '\0';
860 size_t req_len; local
863 req_len = (2 * data->size) + 1;
864 if (len[index] <= req_len) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c247 int cnt, req_len; local
290 req_len = (char *)sync_req_attr - (char *)sync_req_buf;
291 msg->spd_msg_len = SPD_8TO64(req_len);
292 act->spd_actions_len = SPD_8TO64(req_len - sizeof (*msg));
295 cnt = write(sfd, sync_req_buf, req_len);
296 if (cnt != req_len) {
305 cnt = read(sfd, sync_req_buf, req_len);
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBAPort.cc416 size_t req_len, void *responseBuffer, size_t resp_len,
423 fscsi->scsi_cdblen = (uint32_t) req_len;
415 scsi_cmd_init(struct fcp_scsi_cmd *fscsi, const char *portname, void *reqbuf, size_t req_len, void *responseBuffer, size_t resp_len, void *senseBuffer, size_t sense_len) argument
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_req.c619 * req_len - sizeof request
630 size_t req_len,
636 size_t wr_length = sizeof (usba_req_wrapper_t) + req_len;
629 usba_req_wrapper_alloc(dev_info_t *dip, size_t req_len, usb_flags_t flags) argument
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c2727 fcsm_ct_init(fcsm_t *fcsm, fcsm_cmd_t *cmd, fc_ct_aiu_t *req_iu, size_t req_len, argument
2763 FCSM_REP_WR(pkt->pkt_cmd_acc, req_iu, pkt->pkt_cmd, req_len);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c6152 size_t req_len; local
6156 req_len = FCIO_RNID_MAX_DATA_LEN + sizeof (fc_rnid_hdr_t);
6171 rnid_acc = kmem_zalloc(req_len, KM_SLEEP);
6177 (ql_send_rnid_els(ha, tq->loop_id, req->data_format, req_len,
6180 kmem_free(rnid_acc, req_len);
6194 bcopy(rnid_acc, &acc.hdr, req_len);
6198 kmem_free(rnid_acc, req_len);
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c13241 int max_sg_len, req_len, i; local
13508 req_len = MIN(max_sg_len,
13512 if (req_len == 1) {
13522 sizeof (ddi_dma_cookie_t) * req_len,
13540 spx->txlt_dma_cookie_list_len = req_len;
13585 req_len = MIN(spx->txlt_dma_cookie_list_len,
13590 for (i = 0, cur_txfer_len = 0; i < req_len; i++) {

Completed in 152 milliseconds