Home
last modified time | relevance | path

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

/openbmc/qemu/qga/
H A Dcommands-bsd.c71 static int ufssuspend_fd = -1; variable
83 if (ufssuspend_fd != -1) { in qmp_guest_fsfreeze_do_freeze_list()
89 ufssuspend_fd = qemu_open(_PATH_UFSSUSPEND, O_RDWR, errp); in qmp_guest_fsfreeze_do_freeze_list()
90 if (ufssuspend_fd == -1) { in qmp_guest_fsfreeze_do_freeze_list()
115 ret = ioctl(ufssuspend_fd, UFSSUSPEND, &mount->fsid); in qmp_guest_fsfreeze_do_freeze_list()
132 close(ufssuspend_fd); in qmp_guest_fsfreeze_do_freeze_list()
133 ufssuspend_fd = -1; in qmp_guest_fsfreeze_do_freeze_list()
146 if (ufssuspend_fd != -1) { in qmp_guest_fsfreeze_do_thaw()
147 close(ufssuspend_fd); in qmp_guest_fsfreeze_do_thaw()
148 ufssuspend_fd = -1; in qmp_guest_fsfreeze_do_thaw()