Searched refs:control_fd (Results 1 – 2 of 2) sorted by relevance
120 int control_fd = in BindToUnusedLoopDevice() local122 TEST_AND_RETURN_FALSE_ERRNO(control_fd >= 0); in BindToUnusedLoopDevice()123 int loop_number = ioctl(control_fd, LOOP_CTL_GET_FREE); in BindToUnusedLoopDevice()124 IGNORE_EINTR(close(control_fd)); in BindToUnusedLoopDevice()
346 int control_fd[2]; in CreateSimpleperfProcess() local348 if (pipe(control_fd) != 0 || pipe(reply_fd) != 0) { in CreateSimpleperfProcess()375 close(control_fd[1]); in CreateSimpleperfProcess()376 dup2(control_fd[0], 0); // simpleperf read control cmd from fd 0. in CreateSimpleperfProcess()377 close(control_fd[0]); in CreateSimpleperfProcess()386 close(control_fd[0]); in CreateSimpleperfProcess()387 control_fd_ = control_fd[1]; in CreateSimpleperfProcess()