Lines Matching defs:read_size
532 size_t read_size;
569 read_size = DS_HDR_SZ;
573 if ((rv = ds_recv_msg(port, currp, &read_size)) != 0) {
577 if (read_size < DS_HDR_SZ) {
582 if (read_size != 0) {
585 DS_EOL, PORTID(port), read_size, DS_HDR_SZ);
591 read_size = ((ds_hdr_t *)hbuf)->payload_len;
592 msglen = DS_HDR_SZ + read_size;
601 PORTID(port), __func__, (int)read_size);
608 if ((rv = ds_recv_msg(port, currp, &read_size)) != 0) {
614 if ((DS_HDR_SZ + read_size) != msglen) {
617 PORTID(port), __func__, (DS_HDR_SZ + read_size),