HEX
Server: LiteSpeed
System: Linux CentOS-79-64-minimal 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: vishn3436 (5293)
PHP: 8.0.15
Disabled: NONE
Upload Files
File: //usr/src/dattobd-0.11.2/snap_handle.h
// SPDX-License-Identifier: GPL-2.0-only

/*
 * Copyright (C) 2022 Datto Inc.
 */

#ifndef SNAP_HANDLE_H_
#define SNAP_HANDLE_H_

struct snap_device;
struct bio;
struct sector_set;

int snap_handle_read_bio(const struct snap_device *dev, struct bio *bio);

int snap_handle_write_bio(const struct snap_device *dev, struct bio *bio);

int inc_handle_sset(const struct snap_device *dev, struct sector_set *sset);

#endif /* SNAP_HANDLE_H_ */