Searched refs:insiz (Results 1 – 2 of 2) sorted by relevance
/xen/tools/libvchan/ |
A D | node-select.c | 52 int insiz = 0; variable 59 if (!insiz) in vchan_wr() 61 ret = libxenvchan_write(ctrl, inbuf, insiz); in vchan_wr() 67 insiz -= ret; in vchan_wr() 68 memmove(inbuf, inbuf + ret, insiz); in vchan_wr() 138 if (insiz != BUFSIZE) in main() 149 ret = read(0, inbuf + insiz, BUFSIZE - insiz); in main() 153 while (insiz) { in main() 160 insiz += ret; in main()
|
A D | vchan-socket-proxy.c | 88 int insiz = 0; variable 101 if (!insiz) in vchan_wr() 103 ret = libxenvchan_write(ctrl, inbuf, insiz); in vchan_wr() 111 insiz -= ret; in vchan_wr() 112 memmove(inbuf, inbuf + ret, insiz); in vchan_wr() 277 insiz = 0; in discard_buffers() 303 if (state->input_fd != -1 && insiz != BUFSIZE) { in data_loop() 339 ret = read(state->input_fd, inbuf + insiz, BUFSIZE - insiz); in data_loop() 343 fprintf(stderr, "from-unix: %.*s\n", ret, inbuf + insiz); in data_loop() 347 while (insiz) { in data_loop() [all …]
|
Completed in 3 milliseconds