Lines Matching refs:file_fd
6582 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile() local
6583 if (file_fd >= 0) { in dumpMetadataToFile()
6587 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
6590 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
6593 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
6596 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
6599 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
6603 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
6606 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
6609 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
6612 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
6615 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
6616 close(file_fd); in dumpMetadataToFile()