Searched refs:new_fd (Results 1 – 2 of 2) sorted by relevance
238 int new_fd = -1; in OpenStandardFileDescriptors() local244 new_fd = open("/dev/null", 0); in OpenStandardFileDescriptors()245 CHECK_GE(new_fd, 0) << "Unable to open /dev/null"; in OpenStandardFileDescriptors()246 } while (new_fd >= 0 && new_fd <= 2); in OpenStandardFileDescriptors()247 close(new_fd); in OpenStandardFileDescriptors()
150 int new_fd = HANDLE_EINTR(open(new_part.c_str(), O_RDONLY)); in MapPartitionBlocks() local152 ScopedFdCloser new_fd_closer(&new_fd); in MapPartitionBlocks()157 new_fd, 0, new_size / block_size, new_block_ids)); in MapPartitionBlocks()