mm: make wait_on_page_writeback() wait for multiple pending writebacks
[linux/fpc-iii.git] / include / xen / interface / io / xenbus.h
blobaaf2951b1cce495d0722c2a49ed9a4bb5f1e5bc9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*****************************************************************************
3 * xenbus.h
5 * Xenbus protocol details.
7 * Copyright (C) 2005 XenSource Ltd.
8 */
10 #ifndef _XEN_PUBLIC_IO_XENBUS_H
11 #define _XEN_PUBLIC_IO_XENBUS_H
13 /* The state of either end of the Xenbus, i.e. the current communication
14 status of initialisation across the bus. States here imply nothing about
15 the state of the connection between the driver and the kernel's device
16 layers. */
17 enum xenbus_state
19 XenbusStateUnknown = 0,
20 XenbusStateInitialising = 1,
21 XenbusStateInitWait = 2, /* Finished early
22 initialisation, but waiting
23 for information from the peer
24 or hotplug scripts. */
25 XenbusStateInitialised = 3, /* Initialised and waiting for a
26 connection from the peer. */
27 XenbusStateConnected = 4,
28 XenbusStateClosing = 5, /* The device is being closed
29 due to an error or an unplug
30 event. */
31 XenbusStateClosed = 6,
34 * Reconfiguring: The device is being reconfigured.
36 XenbusStateReconfiguring = 7,
38 XenbusStateReconfigured = 8
41 #endif /* _XEN_PUBLIC_IO_XENBUS_H */
44 * Local variables:
45 * c-file-style: "linux"
46 * indent-tabs-mode: t
47 * c-indent-level: 8
48 * c-basic-offset: 8
49 * tab-width: 8
50 * End: