Lines Matching refs:rv
88 int rv;
112 rv = vntsd_que_rm(&(consp->clientpq), clientp);
113 assert(rv == VNTSD_SUCCESS);
121 rv = vntsd_que_insert_after(consp->clientpq, clientp, writerp);
127 if (rv != VNTSD_SUCCESS) {
128 return (rv);
133 if ((rv = vntsd_write_line(writerp,
136 return (rv);
164 int rv;
168 rv = vntsd_read_data(clientp, c);
170 switch (rv) {
174 rv = acquire_writer(clientp);
175 if (rv != VNTSD_SUCCESS) {
176 return (rv);
192 return (rv);
195 assert(rv != VNTSD_STATUS_CONTINUE);
197 return (rv);
208 int rv;
217 rv = read_char(clientp, &c);
219 if (rv == VNTSD_STATUS_INTR) {
220 rv = vntsd_cons_chk_intr(clientp);
223 if (rv != VNTSD_SUCCESS) {
224 return (rv);
242 rv = vntsd_write_line(clientp,
246 if (rv == VNTSD_STATUS_INTR) {
247 rv = vntsd_cons_chk_intr(clientp);
250 if (rv != VNTSD_SUCCESS) {
251 return (rv);
257 rv = vntsd_ctrl_cmd(clientp, c);
259 switch (rv) {
264 rv = vntsd_cons_chk_intr(clientp);
265 if (rv != VNTSD_SUCCESS) {
266 return (rv);
272 return (rv);
276 rv = write_vcc(clientp, c);
277 if (rv == VNTSD_STATUS_INTR) {
278 rv = vntsd_cons_chk_intr(clientp);
280 if (rv != VNTSD_SUCCESS) {
281 return (rv);