Lines Matching refs:req
81 Result<void> CoverageRecord::Rpc(coverage_client_req* req, int req_fd, coverage_client_resp* resp) { in Rpc() argument
85 rc = write(coverage_srv_fd_, req, sizeof(*req)); in Rpc()
88 .iov_base = req, in Rpc()
89 .iov_len = sizeof(*req), in Rpc()
100 if (rc != (int)sizeof(*req)) { in Rpc()
109 if (resp->hdr.cmd != (req->hdr.cmd | COVERAGE_CLIENT_CMD_RESP_BIT)) { in Rpc()
117 coverage_client_req req; in Open() local
132 req.hdr.cmd = COVERAGE_CLIENT_CMD_OPEN; in Open()
133 req.open_args.uuid = uuid_; in Open()
134 auto ret = Rpc(&req, -1, &resp); in Open()
155 req.hdr.cmd = COVERAGE_CLIENT_CMD_SHARE_RECORD; in Open()
156 req.share_record_args.shm_len = shm_len_; in Open()
157 ret = Rpc(&req, dma_buf, &resp); in Open()