Lines Matching refs:reply
78 struct nbd_reply reply; /* net byte order */
279 struct nbd_reply reply;
286 err = krecv(dev->sock, &reply, sizeof(reply), 0);
292 if (err < (status_t)sizeof(reply))
298 if (B_BENDIAN_TO_HOST_INT32(reply.magic) != NBD_REPLY_MAGIC)
308 err = nbd_dequeue_request(dev, B_BENDIAN_TO_HOST_INT64(reply.handle), &req);
319 memcpy(&req->reply, &reply, sizeof(reply));
323 if (reply.error == 0)
330 if (reply.error)
674 if (*numbytes == 0 && req->reply.error)
747 if (*numbytes == 0 && req->reply.error)