Lines Matching refs:file_fd
8969 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile() local
8970 if (file_fd >= 0) { in dumpMetadataToFile()
8974 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8977 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8980 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8983 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8986 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8990 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
8993 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
8996 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
8999 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
9002 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
9003 close(file_fd); in dumpMetadataToFile()