Home
last modified time | relevance | path

Searched refs:logger (Results 1 – 25 of 46) sorted by relevance

12

/xen-4.10.0-shim-comet/tools/libs/toollog/
A Dxtl_core.c41 void xtl_logv(struct xentoollog_logger *logger, in xtl_logv() argument
49 logger->vmessage(logger,level,errnoval,context,format,al); in xtl_logv()
53 void xtl_log(struct xentoollog_logger *logger, in xtl_log() argument
61 xtl_logv(logger,level,errnoval,context,format,al); in xtl_log()
65 void xtl_progress(struct xentoollog_logger *logger, in xtl_progress() argument
70 if (!logger->progress) return; in xtl_progress()
77 logger->progress(logger, context, doing_what, percent, done, total); in xtl_progress()
80 void xtl_logger_destroy(struct xentoollog_logger *logger) { in xtl_logger_destroy() argument
81 if (!logger) return; in xtl_logger_destroy()
82 logger->destroy(logger); in xtl_logger_destroy()
/xen-4.10.0-shim-comet/tools/libs/toollog/include/
A Dxentoollog.h46 void (*vmessage)(struct xentoollog_logger *logger,
53 void (*progress)(struct xentoollog_logger *logger,
60 void (*destroy)(struct xentoollog_logger *logger);
86 void xtl_logger_destroy(struct xentoollog_logger *logger /* 0 is ok */);
91 void xtl_logv(struct xentoollog_logger *logger,
98 void xtl_log(struct xentoollog_logger *logger,
105 void xtl_progress(struct xentoollog_logger *logger,
/xen-4.10.0-shim-comet/tools/libs/evtchn/
A Dcore.c31 xenevtchn_handle *xenevtchn_open(xentoollog_logger *logger, unsigned open_flags) in xenevtchn_open() argument
39 xce->logger = logger; in xenevtchn_open()
45 if (!xce->logger) { in xenevtchn_open()
46 xce->logger = xce->logger_tofree = in xenevtchn_open()
49 if (!xce->logger) goto err; in xenevtchn_open()
/xen-4.10.0-shim-comet/tools/libs/gnttab/
A Dgntshr_core.c25 xengntshr_handle *xengntshr_open(xentoollog_logger *logger, unsigned open_flags) in xengntshr_open() argument
33 xgs->logger = logger; in xengntshr_open()
36 if (!xgs->logger) { in xengntshr_open()
37 xgs->logger = xgs->logger_tofree = in xengntshr_open()
40 if (!xgs->logger) goto err; in xengntshr_open()
A Dgnttab_core.c30 xengnttab_handle *xengnttab_open(xentoollog_logger *logger, unsigned open_flags) in xengnttab_open() argument
38 xgt->logger = logger; in xengnttab_open()
44 if (!xgt->logger) { in xengnttab_open()
45 xgt->logger = xgt->logger_tofree = in xengnttab_open()
48 if (!xgt->logger) goto err; in xengnttab_open()
A Dfreebsd.c90 GTERROR(xgt->logger, "anon mmap of map failed"); in osdep_gnttab_grant_map()
105 GTERROR(xgt->logger, "ioctl MAP_GRANT_REF failed"); in osdep_gnttab_grant_map()
132 GTERROR(xgt->logger, "ioctl SET_UNMAP_NOTIFY failed"); in osdep_gnttab_grant_map()
143 GTERROR(xgt->logger, "mmap failed"); in osdep_gnttab_grant_map()
254 GSERROR(xgs->logger, "ioctl failed"); in osdep_gntshr_share_pages()
264 GSERROR(xgs->logger, "mmap failed"); in osdep_gntshr_share_pages()
284 GSERROR(xgs->logger, "ioctl SET_UNMAP_NOTIFY failed"); in osdep_gntshr_share_pages()
A Dlinux.c79 GTERROR(xgt->logger, "ioctl SET_MAX_GRANTS failed"); in osdep_gnttab_set_max_grants()
112 GTERROR(xgt->logger, "mmap of map failed"); in osdep_gnttab_grant_map()
126 GTERROR(xgt->logger, "ioctl MAP_GRANT_REF failed"); in osdep_gnttab_grant_map()
167 GTERROR(xgt->logger, "ioctl SET_UNMAP_NOTIFY failed"); in osdep_gnttab_grant_map()
179 GTERROR(xgt->logger, "mmap failed"); in osdep_gnttab_grant_map()
307 GTERROR(xgt->logger, "ioctl GRANT COPY failed %d ", errno); in osdep_gnttab_grant_copy()
350 GSERROR(xgs->logger, "ioctl failed"); in osdep_gntshr_share_pages()
359 GSERROR(xgs->logger, "mmap failed"); in osdep_gntshr_share_pages()
376 GSERROR(xgs->logger, "ioctl SET_UNMAP_NOTIFY failed"); in osdep_gntshr_share_pages()
/xen-4.10.0-shim-comet/tools/helpers/
A Dinit-dom-json.c13 xentoollog_logger_stdiostream *logger; in gen_stub_json_config() local
18 logger = xtl_createlogger_stdiostream(stderr, XTL_ERROR, 0); in gen_stub_json_config()
19 if (!logger) in gen_stub_json_config()
23 (xentoollog_logger *)logger)) { in gen_stub_json_config()
49 xtl_logger_destroy((xentoollog_logger *)logger); in gen_stub_json_config()
/xen-4.10.0-shim-comet/tools/libs/foreignmemory/
A Dcore.c32 xenforeignmemory_handle *xenforeignmemory_open(xentoollog_logger *logger, in xenforeignmemory_open() argument
41 fmem->logger = logger; in xenforeignmemory_open()
47 if (!fmem->logger) { in xenforeignmemory_open()
48 fmem->logger = fmem->logger_tofree = in xenforeignmemory_open()
51 if (!fmem->logger) goto err; in xenforeignmemory_open()
A Dprivate.h22 xentoollog_logger *logger, *logger_tofree; member
49 xtl_log(fmem->logger, XTL_ERROR, errno, "xenforeignmemory", _f)
/xen-4.10.0-shim-comet/tools/libs/call/
A Dcore.c25 xencall_handle *xencall_open(xentoollog_logger *logger, unsigned open_flags) in xencall_open() argument
46 xcall->logger = logger; in xencall_open()
49 if (!xcall->logger) { in xencall_open()
50 xcall->logger = xcall->logger_tofree = in xencall_open()
53 if (!xcall->logger) goto err; in xencall_open()
A Dprivate.h21 xentoollog_logger *logger, *logger_tofree; member
58 #define PERROR(_f...) xtl_log(xcall->logger, XTL_ERROR, errno, "xencall", _f)
/xen-4.10.0-shim-comet/tools/ocaml/libs/xentoollog/
A Dxentoollog_stubs.c82 static void stub_xtl_ocaml_vmessage(struct xentoollog_logger *logger, in stub_xtl_ocaml_vmessage() argument
92 struct caml_xtl *xtl = (struct caml_xtl*)logger; in stub_xtl_ocaml_vmessage()
114 static void stub_xtl_ocaml_progress(struct xentoollog_logger *logger, in stub_xtl_ocaml_progress() argument
122 struct caml_xtl *xtl = (struct caml_xtl*)logger; in stub_xtl_ocaml_progress()
140 static void xtl_destroy(struct xentoollog_logger *logger) in xtl_destroy() argument
142 struct caml_xtl *xtl = (struct caml_xtl*)logger; in xtl_destroy()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_gnttab_compat.c11 xc_gnttab *xc_gnttab_open(xentoollog_logger *logger, in xc_gnttab_open() argument
14 return xengnttab_open(logger, open_flags); in xc_gnttab_open()
72 xc_gntshr *xc_gntshr_open(xentoollog_logger *logger, in xc_gntshr_open() argument
75 return xengntshr_open(logger, open_flags); in xc_gntshr_open()
A Dxc_evtchn_compat.c11 xc_evtchn *xc_evtchn_open(xentoollog_logger *logger, in xc_evtchn_open() argument
14 return xenevtchn_open(logger, open_flags); in xc_evtchn_open()
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_save_helper.c86 static xentoollog_logger logger = { variable
102 xtl_logv(&logger,XTL_ERROR,errnoval,program,fmt,al); in fail()
223 xtl_log(&logger,XTL_DEBUG,0,program,"starting %s",op); in startup()
225 xch = xc_interface_open(&logger,&logger,0); in startup()
231 xtl_log(&logger,XTL_DEBUG,errnoval,program,"complete r=%d",retval); in complete()
A Dtest_common.c11 xentoollog_logger *logger = (xentoollog_logger*)logger_s; in test_common_setup() local
13 int rc = libxl_ctx_alloc(&ctx, LIBXL_VERSION, 0, logger); in test_common_setup()
/xen-4.10.0-shim-comet/tools/libvchan/
A Dinit.c217 struct xentoollog_logger *logger) in init_evt_srv() argument
221 ctrl->event = xenevtchn_open(logger, 0); in init_evt_srv()
298 struct libxenvchan *libxenvchan_server_init(struct xentoollog_logger *logger, in libxenvchan_server_init() argument
332 ctrl->gntshr = xengntshr_open(logger, 0); in libxenvchan_server_init()
338 if (init_evt_srv(ctrl, domain, logger)) in libxenvchan_server_init()
352 struct xentoollog_logger *logger) in init_evt_cli() argument
356 ctrl->event = xenevtchn_open(logger, 0); in init_evt_cli()
382 struct libxenvchan *libxenvchan_client_init(struct xentoollog_logger *logger, in libxenvchan_client_init() argument
424 ctrl->gnttab = xengnttab_open(logger, 0); in libxenvchan_client_init()
429 if (init_evt_cli(ctrl, domain, logger)) in libxenvchan_client_init()
A Dlibxenvchan.h100 struct libxenvchan *libxenvchan_server_init(struct xentoollog_logger *logger,
113 struct libxenvchan *libxenvchan_client_init(struct xentoollog_logger *logger,
/xen-4.10.0-shim-comet/tools/xl/
A Dxl.c32 xentoollog_logger_stdiostream *logger; variable
295 if (libxl_ctx_alloc(&ctx, LIBXL_VERSION, 0, (xentoollog_logger*)logger)) { in xl_ctx_alloc()
309 if (logger) { in xl_ctx_free()
310 xtl_logger_destroy((xentoollog_logger*)logger); in xl_ctx_free()
311 logger = NULL; in xl_ctx_free()
356 logger = xtl_createlogger_stdiostream(stderr, minmsglevel, in main()
358 if (!logger) exit(EXIT_FAILURE); in main()
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dlogging.ml54 type logger = type
162 let xenstored_logger = ref (None: logger option)
167 let set_xenstored_logger logger =
168 xenstored_logger := Some logger;
176 let logger =
180 set_xenstored_logger logger
199 (* Access logger *)
279 let logger =
283 access_logger := Some logger
290 (fun logger ->
[all …]
/xen-4.10.0-shim-comet/tools/ocaml/test/
A Dsend_debug_keys.ml11 let logger = Xtl.create_stdio_logger () in
12 let ctx = Xenlight.ctx_alloc logger in
A Ddmesg.ml5 let logger = Xtl.create_stdio_logger ~level:Xentoollog.Debug () in
6 let ctx = Xenlight.ctx_alloc logger in
/xen-4.10.0-shim-comet/tools/libs/devicemodel/
A Dprivate.h13 xentoollog_logger *logger, *logger_tofree; member
39 xtl_log(dmod->logger, XTL_ERROR, errno, "xendevicemodel", _f)
/xen-4.10.0-shim-comet/tools/libs/gnttab/include/
A Dxengnttab.h135 xengnttab_handle *xengnttab_open(struct xentoollog_logger *logger,
319 xengntshr_handle *xengntshr_open(struct xentoollog_logger *logger,

Completed in 33 milliseconds

12