Lines Matching refs:ctrl_fd
161 int ctrl_fd;
348 pfd.fd = client->ctrl_fd;
352 err = write(client->ctrl_fd, buf, 1);
363 pfd.fd = client->ctrl_fd;
367 err = snd_send_fd(client->ctrl_fd, buf, 1, fd);
394 err = read(client->ctrl_fd, buf, 1);
612 err = read(client->ctrl_fd, buf, 1);
727 err = read(client->ctrl_fd, &req, sizeof(req));
737 err = read(client->ctrl_fd, name, req.namelen);
786 err = write(client->ctrl_fd, &ans, sizeof(ans));
800 close(client->ctrl_fd);
802 del_waiter(client->ctrl_fd);
814 close(client->ctrl_fd);
815 del_waiter(client->ctrl_fd);
866 client->ctrl_fd = waiter->fd;
867 add_waiter(client->ctrl_fd, POLLIN | POLLHUP, client_ctrl_handler, client);
888 client->ctrl_fd = sock;