Lines Matching refs:ctrl
54 struct libxenvchan *ctrl = 0; variable
61 ret = libxenvchan_write(ctrl, inbuf, insiz); in vchan_wr()
117 ctrl = libxenvchan_server_init(NULL, atoi(argv[2]), argv[3], rsiz, wsiz); in main()
119 ctrl = libxenvchan_client_init(NULL, atoi(argv[2]), argv[3]); in main()
122 if (!ctrl) { in main()
132 libxenvchan_fd = libxenvchan_fd_for_select(ctrl); in main()
155 libxenvchan_wait(ctrl); in main()
164 libxenvchan_wait(ctrl); in main()
169 while (libxenvchan_data_ready(ctrl) && outsiz < BUFSIZE) { in main()
170 ret = libxenvchan_read(ctrl, outbuf + outsiz, BUFSIZE - outsiz); in main()
176 if (!libxenvchan_is_open(ctrl)) { in main()