Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 33) sorted by relevance

12

/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_stream_read.c205 stream->shs.ao = stream->ao; in libxl__stream_read_init()
208 stream->chs.ao = stream->ao; in libxl__stream_read_init()
211 stream->rc = 0; in libxl__stream_read_init()
268 stream->fd = libxl__carefd_fd(stream->chs.v2_carefd); in libxl__stream_read_start()
269 stream->dcs->libxc_fd = stream->fd; in libxl__stream_read_start()
283 &stream->hdr, sizeof(stream->hdr), in libxl__stream_read_start()
327 libxl__stream_read_state *stream = CONTAINER_OF(dc, *stream, dc); in stream_header_done() local
788 stream->checkpoint_callback(egc, stream, ret); in checkpoint_done()
872 stream->completion_callback(egc, stream, 0); in libxl__xc_domain_restore_done()
947 stream->completion_callback(egc, stream, stream->rc); in check_all_finished()
[all …]
A Dlibxl_stream_write.c192 libxl__stream_write_state *stream = CONTAINER_OF(dc, *stream, dc); in write_done() local
201 cb(egc, stream); in write_done()
208 assert(stream->ao); in libxl__stream_write_init()
210 stream->shs.ao = stream->ao; in libxl__stream_write_init()
213 stream->rc = 0; in libxl__stream_write_init()
314 libxl__stream_write_state *stream = CONTAINER_OF(dc, *stream, dc); in stream_header_done() local
333 libxl__xc_domain_save(egc, stream->dss, &stream->shs); in libxc_header_done()
506 libxl__stream_write_state *stream = CONTAINER_OF(dc, *stream, emu_dc); in emulator_context_read_done() local
639 stream->checkpoint_callback(egc, stream, rc); in checkpoint_done()
683 stream->completion_callback(egc, stream, stream->rc); in check_all_finished()
[all …]
A Dlibxl_colo_save.c239 libxl__stream_write_state *stream,
242 libxl__stream_read_state *stream,
652 libxl__stream_write_state *stream, in colo_common_write_stream_done() argument
655 libxl__domain_save_state *dss = CONTAINER_OF(stream, *dss, sws); in colo_common_write_stream_done()
685 libxl__stream_read_state *stream, in colo_common_read_stream_done() argument
688 libxl__colo_save_state *css = CONTAINER_OF(stream, *css, srs); in colo_common_read_stream_done()
A Dlibxl_colo_restore.c475 libxl__stream_write_state *stream,
478 libxl__stream_read_state *stream,
1032 libxl__stream_write_state *stream, in colo_common_write_stream_done() argument
1036 CONTAINER_OF(stream, *crcs, sws); in colo_common_write_stream_done()
1064 libxl__stream_read_state *stream, in colo_common_read_stream_done() argument
1067 libxl__domain_create_state *dcs = CONTAINER_OF(stream, *dcs, srs); in colo_common_read_stream_done()
A Dlibxl_internal.h3148 _hidden void libxl__stream_read_init(libxl__stream_read_state *stream);
3150 libxl__stream_read_state *stream);
3158 libxl__stream_read_inuse(const libxl__stream_read_state *stream) in libxl__stream_read_inuse() argument
3160 return stream->running; in libxl__stream_read_inuse()
3221 _hidden void libxl__stream_write_init(libxl__stream_write_state *stream);
3223 libxl__stream_write_state *stream);
3226 libxl__stream_write_state *stream);
3229 libxl__stream_write_state *stream,
3232 libxl__stream_write_state *stream,
3235 libxl__stream_write_inuse(const libxl__stream_write_state *stream) in libxl__stream_write_inuse() argument
[all …]
A Dlibxl_remus.c403 libxl__egc *egc, libxl__stream_read_state *stream, int rc) in remus_checkpoint_stream_done() argument
405 libxl__xc_domain_saverestore_async_callback_done(egc, &stream->shs, rc); in remus_checkpoint_stream_done()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_dom_bzimageloader.c48 bz_stream stream; in xc_try_bzip2_decode() local
56 stream.bzalloc = NULL; in xc_try_bzip2_decode()
57 stream.bzfree = NULL; in xc_try_bzip2_decode()
58 stream.opaque = NULL; in xc_try_bzip2_decode()
99 stream.next_out = out_buf; in xc_try_bzip2_decode()
118 if ( stream.avail_out == 0 ) in xc_try_bzip2_decode()
163 total = (((uint64_t)stream.total_out_hi32) << 32) | stream.total_out_lo32; in xc_try_bzip2_decode()
179 BZ2_bzDecompressEnd(&stream); in xc_try_bzip2_decode()
234 stream->next_out = out_buf; in _xc_try_lzma_decode()
328 *size = stream->total_out; in _xc_try_lzma_decode()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/control/
A Dtap-ctl.c45 tap_cli_list_usage(FILE *stream) in tap_cli_list_usage() argument
47 fprintf(stream, in tap_cli_list_usage()
211 tap_cli_free_usage(FILE *stream) in tap_cli_free_usage() argument
248 tap_cli_create_usage(FILE *stream) in tap_cli_create_usage() argument
335 tap_cli_spawn_usage(FILE *stream) in tap_cli_spawn_usage() argument
454 tap_cli_close_usage(FILE *stream) in tap_cli_close_usage() argument
499 tap_cli_pause_usage(FILE *stream) in tap_cli_pause_usage() argument
586 tap_cli_major_usage(FILE *stream) in tap_cli_major_usage() argument
634 tap_cli_open_usage(FILE *stream) in tap_cli_open_usage() argument
680 tap_cli_check_usage(FILE *stream) in tap_cli_check_usage() argument
[all …]
/xen-4.10.0-shim-comet/tools/firmware/vgabios/
A Dbiossums.c51 FILE* stream; in main() local
61 if ((stream = fopen(argv[1], "rb")) == NULL) { in main()
66 bios_len = fread(bios_data, 1, MAX_BIOS_DATA, stream); in main()
69 fclose(stream); in main()
72 fclose(stream); in main()
158 if ((stream = fopen( argv[1], "wb")) == NULL) { in main()
162 if (fwrite(bios_data, 1, bios_len, stream) < bios_len) { in main()
164 fclose(stream); in main()
167 fclose(stream); in main()
/xen-4.10.0-shim-comet/tools/python/
A DMakefile23 $(INSTALL_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN)
24 $(INSTALL_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN)
28 rm -f $(DESTDIR)$(LIBEXEC_BIN)/verify-stream-v2
29 rm -f $(DESTDIR)$(LIBEXEC_BIN)/convert-legacy-stream
A Dtest.py308 def print_times(self, stream, count=None): argument
324 self.stream.writeln("\n")
328 self.stream.writeln(msg)
329 self.stream.writeln(tb)
339 self.stream.write(": ")
346 self.stream.write(": %s" % name)
348 self.stream.flush()
370 self.stream.write("\r")
378 self.stream.write("\r")
386 self.stream.writeln()
[all …]
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_utils.c201 void print_bitmap(uint8_t *map, int maplen, FILE *stream) in print_bitmap() argument
224 fprintf(stream, "%s%d", state > 1 ? "," : "", firstset); in print_bitmap()
226 fprintf(stream, "-%d", i - 1); in print_bitmap()
234 fprintf(stream, "none"); in print_bitmap()
240 fprintf(stream, "all"); in print_bitmap()
244 fprintf(stream, "%s%d", state > 1 ? "," : "", firstset); in print_bitmap()
246 fprintf(stream, "-%d", i - 1); in print_bitmap()
A Dxl_migrate.c74 const char *stream; in migrate_read_fixedmessage() local
77 stream = rune ? "migration receiver stream" : "migration stream"; in migrate_read_fixedmessage()
78 rc = libxl_read_exactly(ctx, fd, buf, msgsz, stream, what); in migrate_read_fixedmessage()
83 stream, what); in migrate_read_fixedmessage()
A Dxl_utils.h146 void print_bitmap(uint8_t *map, int maplen, FILE *stream);
/xen-4.10.0-shim-comet/docs/features/
A Dmigration.pandoc48 The format of the migration v2 stream is specified in two documents, and
50 maintained via the `convert-legacy-stream` script which transforms a
51 legacy stream into a migration v2 stream.
54 * `docs/specs/libxc-migration-stream.pandoc`
55 * `docs/specs/libxl-migration-stream.pandoc`
63 * `tools/python/scripts/convert-legacy-stream`
64 * `tools/python/scripts/verify-stream-v2`
105 stream)
/xen-4.10.0-shim-comet/tools/misc/
A Dxen-ringwatch483 def usage(stream):
486 print >>stream
488 print >>stream, "Usage:"
489 print >>stream, "\t%s [options] {%s}" % (prog, "|".join(COMMANDS))
491 print >>stream
493 print >>stream, "Commands:"
495 print >>stream, "\t%s: \t%s" % (name, desc)
497 print >>stream
499 print >>stream, "Options:"
501 print >>stream, "\t-%s, --%s: \t%s" % (short, _long, desc)
[all …]
/xen-4.10.0-shim-comet/tools/firmware/rombios/
A Dbiossums.c73 FILE* stream; in main() local
84 if(( stream = fopen( argv[1], "rb" )) == NULL ) { in main()
88 if( fread( bios_data, 1, LEN_BIOS_DATA, stream ) < LEN_BIOS_DATA ) { in main()
90 fclose( stream ); in main()
93 fclose( stream ); in main()
201 if(( stream = fopen( argv[1], "wb" )) == NULL ) { in main()
205 if( fwrite( bios_data, 1, LEN_BIOS_DATA, stream ) < LEN_BIOS_DATA ) { in main()
207 fclose( stream ); in main()
210 fclose( stream ); in main()
/xen-4.10.0-shim-comet/docs/specs/
A Dlibxl-migration-stream.pandoc27 * The contents of the stream is passed directly through `libxl` to `libxc`.
36 self-contained, extensible stream with each layer responsible for its own
61 The header identifies the stream as a `libxl` stream, including the version of
83 bit 1: Legacy Format. If set, this stream was created by
158 emulator_id 0x00000000: Unknown (In the case of a legacy stream)
178 in the stream.
188 A libxc context record is a marker, indicating that the stream should be
190 own image format from the stream.
199 might write into the stream, especially for live migration where the quantity
A Dlibxc-migration-stream.pandoc178 The legacy stream conversion tool writes a `xen_major` version of 0, and sets
262 in the stream.
586 A checkpoint record indicates that all the preceding records in the stream
594 If the stream is embedded in a higher level toolstack stream, the
595 CHECKPOINT record marks the end of the libxc portion of the stream
596 and the stream is handed back to the higher level for further
599 The higher level stream may then hand the stream back to libxc to
611 applicable in the backchannel of a checkpointed stream. It is only used
732 1. For compatibility with older code, the receving side of a stream should
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dconfig.ml56 let parse_line stream =
65 let line = trim_spaces (input_line stream) in
77 let stream = open_in filename in
78 let cf = parse_line stream in
79 close_in stream;
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A DMakefile7 IBIN = tapdisk2 td-util tapdisk-client tapdisk-stream tapdisk-diff
33 tapdisk2 tapdisk-stream tapdisk-diff $(QCOW_UTIL): AIOLIBS := -laio
89 tapdisk-stream tapdisk-diff: %: %.o $(TAP-OBJS-y) $(BLK-OBJS-y)
A Dtapdisk-stream.c554 struct tapdisk_stream stream; in main() local
591 err = tapdisk_stream_open(&stream, path, type, count, skip); in main()
595 err = tapdisk_stream_run(&stream); in main()
602 tapdisk_stream_release(&stream); in main()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dsymbols.h33 uint32_t stream; /* .. in the compressed stream.*/ member
/xen-4.10.0-shim-comet/docs/misc/
A Dxenstore-ring.txt30 A "producer" offset is the offset in the byte stream of the next byte
32 stream of the next byte to be read modulo 2^32. Implementations must
36 The byte at offset 'x' in the byte stream will be stored at offset
/xen-4.10.0-shim-comet/xen/common/
A Dsymbols.c237 (void)symbols_expand_symbol(s->stream, name); in symbols_lookup_by_name()

Completed in 41 milliseconds

12