/xen/tools/helpers/ |
A D | init-xenstore-domain.c | 142 snprintf(cmdline, 512, "--event %d --internal-db", rv); in build() 332 snprintf(full_path, 100, "%s/%s", dir, node); in do_xs_write_dir_node() 429 snprintf(buf, 16, "%d", domid); in main() 433 snprintf(buf, 16, "%d", memory * 1024); in main() 436 snprintf(buf, 16, "%d", maxmem * 1024); in main() 439 snprintf(fe_path, 64, "/local/domain/%d/console", domid); in main() 440 snprintf(buf, 16, "%d", domid); in main() 444 snprintf(buf, 16, "%d", XenbusStateInitialising); in main() 453 snprintf(buf, 16, "%d", console_evtchn); in main() 455 snprintf(buf, 16, "%ld", console_mfn); in main() [all …]
|
/xen/tools/xenstore/ |
A D | xs_lib.c | 46 if (snprintf(buf, sizeof(buf), "%s/socket", in xs_daemon_path() 55 snprintf(buf, sizeof(buf), "%s/tdb", xs_daemon_rootdir()); in xs_daemon_tdb() 70 if (snprintf(buf, sizeof(buf), "%s_ro", s) >= PATH_MAX) in xs_daemon_socket_ro() 172 snprintf(buffer+1, buf_len-1, "%i", (int)perm->id); in xs_perm_to_string()
|
A D | xs.c | 624 snprintf(offstr, sizeof(offstr), "%u", off); in xs_directory_part() 1096 snprintf(domid_str, sizeof(domid_str), "%u", domid); in xs_introduce_domain() 1097 snprintf(mfn_str, sizeof(mfn_str), "%lu", mfn); in xs_introduce_domain() 1098 snprintf(eventchn_str, sizeof(eventchn_str), "%u", eventchn); in xs_introduce_domain() 1118 snprintf(domid_str, sizeof(domid_str), "%u", domid); in xs_set_target() 1119 snprintf(target_str, sizeof(target_str), "%u", target); in xs_set_target() 1136 snprintf(domid_str, sizeof(domid_str), "%u", domid); in single_with_domid() 1156 snprintf(domid_str, sizeof(domid_str), "%u", domid); in xs_get_domain_path()
|
A D | xenstored_posix.c | 44 len = snprintf(buf, sizeof(buf), "%ld\n", (long)getpid()); in write_pidfile()
|
/xen/tools/misc/ |
A D | xen-lowmemd.c | 76 snprintf(data, BUFSZ, "%llu", dom0_target); in handle_low_mem() 80 snprintf(error, BUFSZ,"Failed to write target %.24s to xenstore", data); in handle_low_mem() 133 snprintf(data, BUFSZ, "Wrong port, got %d expected %d", port, virq_port); in main()
|
A D | xenperf.c | 181 snprintf(hypercall_name, sizeof(hypercall_name), "[%d]", j); in main()
|
/xen/xen/common/ |
A D | debugtrace.c | 102 snprintf(buf, sizeof(buf), "cpu %u", cpu); in debugtrace_dump_worker() 212 snprintf(cntbuf, sizeof(cntbuf), "wrap: %lu->%lu\n", in debugtrace_printk() 222 snprintf(cntbuf, sizeof(cntbuf), "%u ", count); in debugtrace_printk() 227 snprintf(cntbuf, sizeof(cntbuf), "%u-%u ", last_count, ++count); in debugtrace_printk()
|
/xen/tools/xenpmd/ |
A D | xenpmd.c | 115 ret = snprintf(file_name, sizeof(file_name), BATTERY_INFO_FILE_PATH, in get_next_battery_file() 118 ret = snprintf(file_name, sizeof(file_name), BATTERY_STATE_FILE_PATH, in get_next_battery_file() 346 snprintf(temp_val, 9, "%02x%02x%02x%02x", (unsigned int)val & 0xff, in write_ulong_lsb_first() 364 snprintf(val, 3, "%02x", len); in write_battery_info_to_xenstore() 375 snprintf(string_info, 256, "%02x%s%02x%s%02x%s%02x%s", in write_battery_info_to_xenstore() 431 snprintf(val, 3, "%02x", 16); in write_battery_status_to_xenstore()
|
/xen/tools/xenstat/libxenstat/src/ |
A D | xenstat_solaris.c | 220 snprintf(path, sizeof(path), "/local/domain/%d/device/vif", dom->id); in collect_dom_networks() 236 snprintf(path, sizeof(path), in collect_dom_networks() 244 snprintf(path, sizeof(path), "%s/nic", tmp); in collect_dom_networks() 327 snprintf(path, sizeof(path), "/local/domain/%d/device/vbd", dom->id); in collect_dom_vbds() 344 snprintf(path, sizeof(path), in collect_dom_vbds() 352 snprintf(path, sizeof(path), "%s/instance", tmp); in collect_dom_vbds()
|
A D | xenstat_qmp.c | 149 snprintf(path, sizeof(path),"/local/domain/0/backend/qdisk/%i", domid); in lookup_xenstore_devid() 166 snprintf(path, sizeof(path),"/local/domain/0/backend/qdisk/%i/%i/params", domid, devid); in lookup_xenstore_devid() 178 snprintf(path, sizeof(path),"/local/domain/0/backend/qdisk/%i/%i/sector-size", domid, devid); in lookup_xenstore_devid() 395 snprintf(path, sizeof(path),"/local/domain/0/backend/qdisk/%i", domain); in read_attributes_qdisk_dom() 402 snprintf(path, sizeof(path), XEN_RUN_DIR "/qmp-libxenstat-%i", domain); in read_attributes_qdisk_dom()
|
A D | xenstat_linux.c | 254 snprintf(nodename_path, 48, "/sys/class/net/%s/device/nodename", iface); in get_iface_domid_network() 314 snprintf(devNoBridge, sizeof(devNoBridge), "p%s", devBridge); in xenstat_collect_networks() 400 snprintf(file_name, sizeof(file_name), "%s/%s/%s", in read_attributes_vbd()
|
/xen/tools/console/client/ |
A D | main.c | 286 snprintf(lockfile, sizeof lockfile, "%s%d", XEN_LOCK_DIR "/xenconsole.", domid); in console_lock() 432 snprintf(path, strlen(dom_path) + strlen("/serial/0/tty") + 5, "%s/serial/%d/tty", dom_path, num); in main() 441 snprintf(path, strlen(dom_path) + strlen("/console/tty") + 1, "%s/console/tty", dom_path); in main() 443 …snprintf(path, strlen(dom_path) + strlen("/device/console/%d/tty") + 5, "%s/device/console/%d/tty"… in main() 446 snprintf(path, strlen(dom_path) + strlen("/vuart/0/tty") + 1, in main()
|
/xen/tools/libvchan/ |
A D | init.c | 274 snprintf(ref, sizeof ref, "%d", ring_ref); in init_xs_srv() 275 snprintf(buf, sizeof buf, "%s/ring-ref", xs_base); in init_xs_srv() 281 snprintf(ref, sizeof ref, "%d", ctrl->event_port); in init_xs_srv() 282 snprintf(buf, sizeof buf, "%s/event-channel", xs_base); in init_xs_srv() 418 snprintf(buf, sizeof buf, "%s/ring-ref", xs_path); in libxenvchan_client_init() 426 snprintf(buf, sizeof buf, "%s/event-channel", xs_path); in libxenvchan_client_init()
|
/xen/tools/flask/utils/ |
A D | label-pci.c | 60 snprintf(buf, sizeof(buf), "/sys/bus/pci/devices/%04x:%02x:%02x.%d/resource", in main() 102 snprintf(buf, sizeof(buf), "/sys/bus/pci/devices/%04x:%02x:%02x.%d/irq", in main()
|
/xen/tools/xenbackendd/ |
A D | xenbackendd.c | 267 snprintf(buf, sizeof(buf), "%s/state", vec[XS_WATCH_PATH]); in main() 276 snprintf(buf, sizeof(buf), "%s/hotplug-status", in main() 296 snprintf(buf, sizeof(buf), "%s/script", in main()
|
/xen/stubdom/ |
A D | newlib-chk.patch | 37 snprintf.c \ 58 lib_a-snprintf.$(OBJEXT) lib_a-sprintf.$(OBJEXT) \ 77 - sniprintf.lo snprintf.lo sprintf.lo sscanf.lo stdio.lo \ 78 + sniprintf.lo snprintf.lo sprintf.lo sprintf_chk.lo sscanf.lo stdio.lo \ 92 snprintf.c \
|
/xen/xen/drivers/char/ |
A D | console.c | 175 snprintf(val, LOGLVL_VAL_SZ, "%s/%s", lvl2opt[lower], lvl2opt[upper]); in xenlog_update_val() 846 snprintf(tstr, sizeof(tstr), "[%04u-%02u-%02u %02u:%02u:%02u] ", in printk_start_of_line() 853 snprintf(tstr, sizeof(tstr), in printk_start_of_line() 866 snprintf(tstr, sizeof(tstr), "[%5"PRIu64".%06"PRIu64"] ", in printk_start_of_line() 872 snprintf(tstr, sizeof(tstr), "[%016"PRIx64"] ", get_cycles()); in printk_start_of_line() 948 snprintf(prefix, sizeof(prefix), "(d%d) ", d->domain_id); in guest_printk() 1204 snprintf(lost_str, sizeof(lost_str), "%d", lost); in __printk_ratelimit()
|
/xen/tools/console/daemon/ |
A D | utils.c | 93 len = snprintf(buf, sizeof(buf), "%ld\n", (long)getpid()); in daemonize()
|
/xen/tools/libxc/ |
A D | xc_flask.c | 368 snprintf(buf, size, in xc_flask_avc_hashstats() 382 n = snprintf(buf, size, "lookups hits misses allocations reclaims frees\n"); in xc_flask_avc_cachestats() 395 n = snprintf(buf, size, "%u %u %u %u %u %u\n", in xc_flask_avc_cachestats()
|
A D | xc_suspend.c | 40 snprintf(buf, SUSPEND_FILE_BUFLEN, SUSPEND_LOCK_FILE, domid); in get_suspend_file()
|
/xen/tools/libxl/ |
A D | libxl_vsnd.c | 320 len += snprintf(NULL, 0, "%u,", sample_rates[i]); in libxl__rates_to_str_vsnd() 327 len += snprintf(NULL, 0, "%u", sample_rates[i]); in libxl__rates_to_str_vsnd() 350 len += snprintf(NULL, 0, "%s,", in libxl__formats_to_str_vsnd() 359 len += snprintf(NULL, 0, "%s", in libxl__formats_to_str_vsnd()
|
/xen/xen/arch/arm/efi/ |
A D | efi-boot.h | 449 prop_len += snprintf(buf + prop_len, in efi_arch_handle_cmdline() 456 prop_len += snprintf(buf + prop_len, in efi_arch_handle_cmdline() 472 prop_len += snprintf(buf + prop_len, in efi_arch_handle_cmdline()
|
/xen/tools/libfsimage/ext2fs-lib/ |
A D | ext2fs-lib.c | 38 snprintf(opts, 29, "offset=%" PRId64, offset); in ext2lib_mount()
|
/xen/tools/libfsimage/common/ |
A D | fsimage_plugin.c | 159 (void) snprintf(tmp, name_max, "%s/%s/fsimage.so", fsdir, in load_plugins()
|
/xen/tools/python/xen/lowlevel/xs/ |
A D | xs.c | 446 snprintf(token_str, sizeof(token_str), "%li", (unsigned long)token); in xspy_watch() 563 snprintf(token_str, sizeof(token_str), "%li", (unsigned long)token); in xspy_unwatch() 598 snprintf(thstr, sizeof(thstr), "%lX", (unsigned long)th); in xspy_transaction_start()
|