Lines Matching full:h
15 #include "hw/xen/xen.h"
16 #include "hw/xen/interface/xen.h"
17 #include "hw/xen/interface/io/xenbus.h"
271 void (*close)(struct qemu_xs_handle *h);
272 char *(*get_domain_path)(struct qemu_xs_handle *h, unsigned int domid);
273 char **(*directory)(struct qemu_xs_handle *h, xs_transaction_t t,
275 void *(*read)(struct qemu_xs_handle *h, xs_transaction_t t,
277 bool (*write)(struct qemu_xs_handle *h, xs_transaction_t t,
279 bool (*create)(struct qemu_xs_handle *h, xs_transaction_t t,
282 bool (*destroy)(struct qemu_xs_handle *h, xs_transaction_t t,
284 struct qemu_xs_watch *(*watch)(struct qemu_xs_handle *h, const char *path,
286 void (*unwatch)(struct qemu_xs_handle *h, struct qemu_xs_watch *w);
287 xs_transaction_t (*transaction_start)(struct qemu_xs_handle *h);
288 bool (*transaction_end)(struct qemu_xs_handle *h, xs_transaction_t t,
302 static inline void qemu_xen_xs_close(struct qemu_xs_handle *h) in qemu_xen_xs_close() argument
307 xen_xenstore_ops->close(h); in qemu_xen_xs_close()
310 static inline char *qemu_xen_xs_get_domain_path(struct qemu_xs_handle *h, in qemu_xen_xs_get_domain_path() argument
316 return xen_xenstore_ops->get_domain_path(h, domid); in qemu_xen_xs_get_domain_path()
319 static inline char **qemu_xen_xs_directory(struct qemu_xs_handle *h, in qemu_xen_xs_directory() argument
326 return xen_xenstore_ops->directory(h, t, path, num); in qemu_xen_xs_directory()
329 static inline void *qemu_xen_xs_read(struct qemu_xs_handle *h, in qemu_xen_xs_read() argument
336 return xen_xenstore_ops->read(h, t, path, len); in qemu_xen_xs_read()
339 static inline bool qemu_xen_xs_write(struct qemu_xs_handle *h, in qemu_xen_xs_write() argument
346 return xen_xenstore_ops->write(h, t, path, data, len); in qemu_xen_xs_write()
349 static inline bool qemu_xen_xs_create(struct qemu_xs_handle *h, in qemu_xen_xs_create() argument
357 return xen_xenstore_ops->create(h, t, owner, domid, perms, path); in qemu_xen_xs_create()
360 static inline bool qemu_xen_xs_destroy(struct qemu_xs_handle *h, in qemu_xen_xs_destroy() argument
366 return xen_xenstore_ops->destroy(h, t, path); in qemu_xen_xs_destroy()
369 static inline struct qemu_xs_watch *qemu_xen_xs_watch(struct qemu_xs_handle *h, in qemu_xen_xs_watch() argument
377 return xen_xenstore_ops->watch(h, path, fn, opaque); in qemu_xen_xs_watch()
380 static inline void qemu_xen_xs_unwatch(struct qemu_xs_handle *h, in qemu_xen_xs_unwatch() argument
386 xen_xenstore_ops->unwatch(h, w); in qemu_xen_xs_unwatch()
389 static inline xs_transaction_t qemu_xen_xs_transaction_start(struct qemu_xs_handle *h) in qemu_xen_xs_transaction_start() argument
394 return xen_xenstore_ops->transaction_start(h); in qemu_xen_xs_transaction_start()
397 static inline bool qemu_xen_xs_transaction_end(struct qemu_xs_handle *h, in qemu_xen_xs_transaction_end() argument
403 return xen_xenstore_ops->transaction_end(h, t, abort); in qemu_xen_xs_transaction_end()