Lines Matching refs:nbytes
431 ssize_t nbytes; in guest_start() local
461 nbytes = write(hvctl_fd, &msg, sizeof(msg)); in guest_start()
462 if (nbytes != sizeof(msg)) in guest_start()
466 nbytes = read(hvctl_fd, &msg, sizeof(msg)); in guest_start()
467 if (nbytes != sizeof(msg)) in guest_start()
478 ssize_t nbytes; in guest_stop() local
492 nbytes = write(hvctl_fd, &msg, sizeof(msg)); in guest_stop()
493 if (nbytes != sizeof(msg)) in guest_stop()
497 nbytes = read(hvctl_fd, &msg, sizeof(msg)); in guest_stop()
498 if (nbytes != sizeof(msg)) in guest_stop()
506 ssize_t nbytes; in guest_panic() local
536 nbytes = write(hvctl_fd, &msg, sizeof(msg)); in guest_panic()
537 if (nbytes != sizeof(msg)) in guest_panic()
541 nbytes = read(hvctl_fd, &msg, sizeof(msg)); in guest_panic()
542 if (nbytes != sizeof(msg)) in guest_panic()
553 ssize_t nbytes; in guest_status() local
586 nbytes = write(hvctl_fd, &msg, sizeof(msg)); in guest_status()
587 if (nbytes != sizeof(msg)) in guest_status()
591 nbytes = read(hvctl_fd, &msg, sizeof(msg)); in guest_status()
592 if (nbytes != sizeof(msg)) in guest_status()
614 nbytes = write(hvctl_fd, &msg, sizeof(msg)); in guest_status()
615 if (nbytes != sizeof(msg)) in guest_status()
619 nbytes = read(hvctl_fd, &msg, sizeof(msg)); in guest_status()
620 if (nbytes != sizeof(msg)) in guest_status()
632 nbytes = write(hvctl_fd, &msg, sizeof(msg)); in guest_status()
633 if (nbytes != sizeof(msg)) in guest_status()
637 nbytes = read(hvctl_fd, &msg, sizeof(msg)); in guest_status()
638 if (nbytes != sizeof(msg)) in guest_status()
698 ssize_t nbytes; in hv_open() local
712 nbytes = write(hvctl_fd, &msg, sizeof(msg)); in hv_open()
713 if (nbytes != sizeof(msg)) in hv_open()
717 nbytes = read(hvctl_fd, &msg, sizeof(msg)); in hv_open()
718 if (nbytes != sizeof(msg)) in hv_open()
730 nbytes = write(hvctl_fd, &msg, sizeof(msg)); in hv_open()
731 if (nbytes != sizeof(msg)) in hv_open()
735 nbytes = read(hvctl_fd, &msg, sizeof(msg)); in hv_open()
736 if (nbytes != sizeof(msg)) in hv_open()
751 ssize_t nbytes; in hv_config() local
764 nbytes = write(hvctl_fd, &msg, sizeof(msg)); in hv_config()
765 if (nbytes != sizeof(msg)) in hv_config()
769 nbytes = read(hvctl_fd, &msg, sizeof(msg)); in hv_config()
770 if (nbytes != sizeof(msg)) in hv_config()