Lines Matching defs:ctl
176 static struct strbuf ctl = {
221 if (getmsg(p->fd, &ctl, &data, &flags) < 0) {
960 struct strbuf ctl;
963 ctl.maxlen = 0;
964 ctl.len = len;
965 ctl.buf = ptr;
968 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) {
981 struct strbuf ctl;
991 ctl.maxlen = MAXDLBUF;
992 ctl.len = 0;
993 ctl.buf = bufp;
996 if (getmsg(fd, &ctl, (struct strbuf*)NULL, &flags) < 0) {
1002 dlp = MAKE_DL_PRIMITIVES(ctl.buf);
1046 if (ctl.len < size) {
1049 what, ctl.len, size);
1052 return (ctl.len);
1336 struct strbuf ctl, data;
1353 ctl.maxlen = 0;
1354 ctl.len = dlen;
1355 ctl.buf = (void *)buf;
1361 return (putmsg(fd, &ctl, &data, 0));
1445 struct strbuf ctl;
1456 ctl.maxlen = DL_HP_PPA_ACK_SIZE;
1457 ctl.len = 0;
1458 ctl.buf = (char *)buf;
1474 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) {
1480 dlp = (dl_hp_ppa_ack_t *)ctl.buf;
1488 if (ctl.len < DL_HP_PPA_ACK_SIZE) {
1491 ctl.len, (unsigned long)DL_HP_PPA_ACK_SIZE);
1501 ctl.maxlen = dlp->dl_length;
1502 ctl.len = 0;
1503 ctl.buf = (char *)ppa_data_buf;
1505 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) {
1511 if (ctl.len < dlp->dl_length) {
1514 ctl.len, (unsigned long)dlp->dl_length);