Searched refs:control_fd (Results 1 – 2 of 2) sorted by relevance
141 int control_fd = in BindToUnusedLoopDeviceLegacy() local143 TEST_AND_RETURN_FALSE_ERRNO(control_fd >= 0); in BindToUnusedLoopDeviceLegacy()144 int loop_number = ioctl(control_fd, LOOP_CTL_GET_FREE); in BindToUnusedLoopDeviceLegacy()145 IGNORE_EINTR(close(control_fd)); in BindToUnusedLoopDeviceLegacy()
399 int control_fd[2]; in CreateSimpleperfProcess() local401 if (pipe(control_fd) != 0 || pipe(reply_fd) != 0) { in CreateSimpleperfProcess()430 close(control_fd[1]); in CreateSimpleperfProcess()431 dup2(control_fd[0], 0); // simpleperf read control cmd from fd 0. in CreateSimpleperfProcess()432 close(control_fd[0]); in CreateSimpleperfProcess()441 close(control_fd[0]); in CreateSimpleperfProcess()442 control_fd_ = control_fd[1]; in CreateSimpleperfProcess()