/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | packet.c | 416 int req_len; in add_pkt_opt() local 424 req_len = opt_len + sizeof (d6o); in add_pkt_opt() 426 if (dpkt->pkt_cur_len + req_len > dpkt->pkt_max_len) { in add_pkt_opt() 430 dpkt->pkt_cur_len, req_len, dpkt->pkt_max_len); in add_pkt_opt() 443 req_len = opt_len + 2; /* + 2 for code & length bytes */ in add_pkt_opt() 447 req_len = 1; in add_pkt_opt() 454 if ((dpkt->pkt_cur_len + req_len) > dpkt->pkt_max_len) { in add_pkt_opt() 463 if (req_len > 1) { in add_pkt_opt() 497 int req_len; in add_pkt_subopt() local 507 req_len = opt_len + sizeof (d6o); in add_pkt_subopt() [all …]
|
/titanic_50/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 113 int req_len, 455 int req_len, in _getipnodebyname_req() argument 467 if (req_len < sizeof (getipnodebyname_cnf_t)) { in _getipnodebyname_req() 469 *pcnf_len = req_len; in _getipnodebyname_req() 480 ((name + req->name_length) > ((char *)req + req_len))) { in _getipnodebyname_req() 482 *pcnf_len = req_len; in _getipnodebyname_req()
|
/titanic_50/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.c | 818 size_t req_len; in name_to_str() local 823 req_len = strlen(p) + 1; in name_to_str() 825 req_len = name->size + 1; in name_to_str() 828 if (len <= req_len) { in name_to_str() 835 (void) memcpy(ptr, p, req_len); in name_to_str() 836 *(ptr + req_len) = '\0'; in name_to_str() 860 size_t req_len; in data_to_hexadecimal() local 863 req_len = (2 * data->size) + 1; in data_to_hexadecimal() 864 if (len[index] <= req_len) { in data_to_hexadecimal()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecalgs.c | 247 int cnt, req_len; in kernel_synch() local 290 req_len = (char *)sync_req_attr - (char *)sync_req_buf; in kernel_synch() 291 msg->spd_msg_len = SPD_8TO64(req_len); in kernel_synch() 292 act->spd_actions_len = SPD_8TO64(req_len - sizeof (*msg)); in kernel_synch() 295 cnt = write(sfd, sync_req_buf, req_len); in kernel_synch() 296 if (cnt != req_len) { in kernel_synch() 305 cnt = read(sfd, sync_req_buf, req_len); in kernel_synch()
|
/titanic_50/usr/src/lib/sun_fc/common/ |
H A D | FCHBAPort.cc | 416 size_t req_len, void *responseBuffer, size_t resp_len, in scsi_cmd_init() argument 423 fscsi->scsi_cdblen = (uint32_t) req_len; in scsi_cmd_init()
|
/titanic_50/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_req.c | 630 size_t req_len, in usba_req_wrapper_alloc() argument 636 size_t wr_length = sizeof (usba_req_wrapper_t) + req_len; in usba_req_wrapper_alloc()
|
/titanic_50/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcsm.c | 2728 fcsm_ct_init(fcsm_t *fcsm, fcsm_cmd_t *cmd, fc_ct_aiu_t *req_iu, size_t req_len, in fcsm_ct_init() argument 2764 FCSM_REP_WR(pkt->pkt_cmd_acc, req_iu, pkt->pkt_cmd, req_len); in fcsm_ct_init()
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_api.c | 6152 size_t req_len; in ql_els_rnid() local 6156 req_len = FCIO_RNID_MAX_DATA_LEN + sizeof (fc_rnid_hdr_t); in ql_els_rnid() 6171 rnid_acc = kmem_zalloc(req_len, KM_SLEEP); in ql_els_rnid() 6177 (ql_send_rnid_els(ha, tq->loop_id, req->data_format, req_len, in ql_els_rnid() 6180 kmem_free(rnid_acc, req_len); in ql_els_rnid() 6194 bcopy(rnid_acc, &acc.hdr, req_len); in ql_els_rnid() 6198 kmem_free(rnid_acc, req_len); in ql_els_rnid()
|
/titanic_50/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 13241 int max_sg_len, req_len, i; in sata_dma_buf_setup() local 13508 req_len = MIN(max_sg_len, in sata_dma_buf_setup() 13512 if (req_len == 1) { in sata_dma_buf_setup() 13522 sizeof (ddi_dma_cookie_t) * req_len, in sata_dma_buf_setup() 13540 spx->txlt_dma_cookie_list_len = req_len; in sata_dma_buf_setup() 13585 req_len = MIN(spx->txlt_dma_cookie_list_len, in sata_dma_buf_setup() 13590 for (i = 0, cur_txfer_len = 0; i < req_len; i++) { in sata_dma_buf_setup()
|