Lines Matching refs:nonblocking
156 static int read_message(struct xs_handle *h, int nonblocking);
391 static bool read_all(int fd, void *data, unsigned int len, int nonblocking) in read_all() argument
398 if (nonblocking && !setnonblock(fd, 1)) in read_all()
418 if (nonblocking) { in read_all()
419 nonblocking = 0; in read_all()
428 if (nonblocking) in read_all()
893 int nonblocking) in read_watch_internal() argument
908 if (nonblocking) { in read_watch_internal()
920 if ((read_message(h, nonblocking) == -1)) in read_watch_internal()
1235 static int read_message(struct xs_handle *h, int nonblocking) in read_message() argument
1257 if (!read_all(h->fd, &msg->hdr, sizeof(msg->hdr), nonblocking)) { /* Cancellation point */ in read_message()