Lines Matching refs:endpoint
269 CharDriverState* endpoint; /* NULL if closed */ member
285 cbuf->endpoint = NULL; in charbuffer_close()
287 if (cbuf->endpoint != NULL) { in charbuffer_close()
288 qemu_chr_close(cbuf->endpoint); in charbuffer_close()
289 cbuf->endpoint = NULL; in charbuffer_close()
297 CharDriverState* peer = cbuf->endpoint; in charbuffer_write()
348 CharDriverState* peer = cbuf->endpoint; in charbuffer_poll()
391 qemu_chr_add_handlers( cbuf->endpoint, in charbuffer_update_handlers()
400 charbuffer_init( CharBuffer* cbuf, CharDriverState* endpoint ) in charbuffer_init() argument
406 cbuf->endpoint = endpoint; in charbuffer_init()
421 qemu_chr_open_buffer( CharDriverState* endpoint ) in qemu_chr_open_buffer() argument
426 if (endpoint == NULL) in qemu_chr_open_buffer()
430 if (cbuf->endpoint == NULL) in qemu_chr_open_buffer()
437 charbuffer_init(cbuf, endpoint); in qemu_chr_open_buffer()
466 if (cb->endpoint != NULL) in charpipe_poll()