Home
last modified time | relevance | path

Searched refs:rtodo (Results 1 – 7 of 7) sorted by relevance

/openbsd/lib/libsndio/
H A Daucat.c53 while (hdl->rtodo > 0) { in _aucat_rmsg()
55 data += sizeof(struct amsg) - hdl->rtodo; in _aucat_rmsg()
70 hdl->rtodo -= n; in _aucat_rmsg()
76 hdl->rtodo = sizeof(struct amsg); in _aucat_rmsg()
132 if (len > hdl->rtodo) in _aucat_rdata()
133 len = hdl->rtodo; in _aucat_rdata()
148 hdl->rtodo -= n; in _aucat_rdata()
149 if (hdl->rtodo == 0) { in _aucat_rdata()
151 hdl->rtodo = sizeof(struct amsg); in _aucat_rdata()
484 hdl->rtodo = sizeof(struct amsg); in _aucat_open()
[all …]
H A Daucat.h26 size_t wtodo, rtodo; /* bytes to complete the packet */ member
H A Dsio_aucat.c135 hdl->aucat.rtodo = sizeof(struct amsg); in sio_aucat_runmsg()
203 hdl->aucat.rtodo = sizeof(struct amsg); in sio_aucat_start()
315 hdl->aucat.rtodo = sizeof(struct amsg); in sio_aucat_getpar()
H A Dmio_aucat.c83 hdl->aucat.rtodo = sizeof(struct amsg); in mio_aucat_runmsg()
H A Dsioctl_aucat.c136 hdl->aucat.rtodo = sizeof(struct amsg); in sioctl_aucat_runmsg()
/openbsd/usr.bin/sndiod/
H A Dsock.c412 if (f->rtodo == 0) { in sock_rmsg()
421 if (n < f->rtodo) { in sock_rmsg()
422 f->rtodo -= n; in sock_rmsg()
425 f->rtodo = 0; in sock_rmsg()
473 if (f->rtodo == 0) { in sock_rdata()
478 while (f->rtodo > 0) { in sock_rdata()
485 if (count > f->rtodo) in sock_rdata()
486 count = f->rtodo; in sock_rdata()
490 f->rtodo -= n; in sock_rdata()
864 f->rmax -= f->rtodo; in sock_execmsg()
[all …]
H A Dsock.h35 unsigned int rtodo; /* input bytes not read yet */ member