Lines Matching refs:ctl
1322 struct strbuf ctl;
1326 ctl.buf = (void *)dlreqp->dlm_msg;
1327 ctl.len = dlreqp->dlm_msgsz;
1333 retval = putmsg(fd, (dlreqp == NULL ? NULL: &ctl),
1367 struct strbuf ctl, data;
1389 ctl.buf = (dlreplyp == NULL) ? bufc : (void *)dlreplyp->dlm_msg;
1390 ctl.len = 0;
1391 ctl.maxlen = (dlreplyp == NULL) ? sizeof (bufc) : dlreplyp->dlm_msgsz;
1413 if ((retval = getmsg(fd, &ctl, &data, &flags)) < 0)
1455 ctl.len = MIN(cscratch.len, DLPI_CHUNKSIZE);
1458 ctl.len);
1469 ctl.len >= (int)(sizeof (t_uscalar_t)) &&
1470 *(t_uscalar_t *)(void *)ctl.buf == DL_NOTIFY_IND) {
1472 if (ctl.len >= DL_NOTIFY_IND_SIZE) {
1473 dlnotif = (dl_notify_ind_t *)(void *)ctl.buf;
1496 if (dlreplyp != NULL && ctl.len >= sizeof (t_uscalar_t)) {
1499 if (ctl.len < dlreplyminsz)
1501 dlreplyp->dlm_msgsz = ctl.len;
1504 if (ctl.len < DL_ERROR_ACK_SIZE)