Home | History | Annotate | Download | only in trusty

Lines Matching defs:handle_

35 static int handle_ = 0;
39 handle_ = qemu_pipe_open(KEYMASTER_SERVICE_NAME);
40 if (handle_ < 0) {
41 handle_ = 0;
61 ssize_t rc = WriteFully(handle_, &pipe_command_length, sizeof(pipe_command_length));
68 rc = WriteFully(handle_, msg, pipe_command_length);
82 rc = ReadFully(handle_, &pipe_command_length, sizeof(pipe_command_length));
89 rc = ReadFully(handle_, out, pipe_command_length);
101 if (handle_ != 0) {
102 close(handle_);
103 handle_ = 0;