Searched refs:control_fd (Results 1 – 1 of 1) sorted by relevance
138 int control_fd = open(control_path.c_str(), O_RDWR); in simple_daemon() local139 if (control_fd < 0) { in simple_daemon()157 if (read_all(control_fd, &msg, sizeof(msg)) < 0) { in simple_daemon()226 if (not_splice(control_fd, backing_fd, msg.len) < 0) { in simple_daemon()253 if (write_all(control_fd, &msg, sizeof(msg)) < 0) { in simple_daemon()266 if (not_splice(backing_fd, control_fd, msg.len) < 0) { in simple_daemon()