Lines Matching defs:ibr
101 static bufrec ibr = {NULL, 0, 0, 0, 0};
120 return (ibr.len);
643 (void) alloc_bufrec(&ibr, DEF_GSSBUF_SIZE);
769 if (newsz > ibr.len) {
774 if (alloc_bufrec(&ibr, newsz) == -1) {
779 reply(200, "PBSZ =%lu", ibr.len);
781 return (ibr.len);
1014 if (ibr.idx >= ibr.clen) {
1028 if ((length = (unsigned int)ntohl(length)) > ibr.len) {
1029 reply(535, "Length(%d) > PBSZ(%d)", length, ibr.len);
1034 if ((kerror = looping_read(fd, ibr.buf, length)) !=
1042 xmit_buf.value = (char *)ibr.buf;
1059 memcpy(ibr.buf, msg_buf.value, msg_buf.length);
1060 ibr.clen = msg_buf.length;
1061 ibr.idx = 0;
1065 ibr.idx = 0;
1066 ibr.clen = 0;
1075 nbytes = (nbytes < (ibr.clen - ibr.idx) ? nbytes : ibr.clen - ibr.idx);
1077 memcpy(buf, ibr.buf + ibr.idx, nbytes);
1078 ibr.idx += nbytes;