GIF89a=( �' 7IAXKgNgYvYx\%wh&h}t�h%�s%x�}9�R��&�0%� (�.��5�SD��&�a)�x5��;ͣ*ȡ&ղ)ׯ7׵<ѻ4�3�H֧KͯT��Y�aq��q��F� !� ' !� NETSCAPE2.0 , =( ��pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g���E�������R���E����B�� ��ȸ��D���"�Ů� �H��L��D٫D�B�����D���T���H �G��A R�ڐ |�� ٭&��E8�S�kG�A�px�a��� R2XB��E8I���6X�:vT)�~��q�賥��"F~%x� � 4#Z�0O|-4Bs�X:= Q� Sal��yXJ`GȦ|s h��K3l7�B|�$'7Jީܪ0!��D�n=�P� ����0`�R�lj����v>���5 �.69�ϸd�����nlv�9��f{���Pbx �l5}�p� ��� �3a���I�O����!ܾ���i��9��#��)p�a ޽ �{�)vm��%D~ 6f��s}Œ�D�W E�`!� �&L8x� �ܝ{)x`X/>�}m��R�*|`D�=�_ ^�5 !_&'a�O�7�c��`DCx`�¥�9�Y�F���`?��"� �n@`�} lď��@4>�d S �v�xN��"@~d��=�g�s~G��� ���ud &p8Q�)ƫlXD����A~H�ySun�j���k*D�LH�] ��C"J��Xb~ʪwSt}6K,��q�S:9ت:���l�@�`�� �.۬�t9�S�[:��=`9N����{¿�A !R�:���6��x�0�_ �;������^���#����!����U���;0L1�����p% A��U̬ݵ��%�S��!���~`�G���� ���=4�np�3���������u�u�ٮ|%2�I��r�#0��J``8�@S@5� ���^`8E�]�.�S���7 � �0�j S�D� z���i�S�����!���l��w9*�D�I�nEX��� &A�Go�Qf��F��;���}�J����F5��Q|���X��T��y���]� o ��C=��:���PB@ D׽S�(>�C�x}`��xJЬ�۠��p+eE0`�}`A �/NE�� �9@��� H�7�!%B0`�l*��!8 2�%� �:�1�0E��ux%nP1�!�C)�P81l�ɸF#Ƭ{����B0>�� �b�`��O3��()yRpb��E.ZD8�H@% �Rx+%���c� ���f��b�d�`F�"8�XH"��-�|1�6iI, 2�$+](A*j� QT�o0.�U�`�R�}`�SN����yae�����b��o~ S)�y�@��3 �tT�0�&�+~L�f"�-|�~��>!�v��~�\Q1)}@�}h#aP72�"�$ !� " , =( &7IAXG]KgNgYvYxR"k\%w]'}h}t�h%�g+�s%r.m3ax3�x�}9��&��+�!7�0%� (�.�SD��&��;�"&ײ)׻4��6�K� �@pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g �� E �� �������E �´��C���ǶR��D��"Ʒ�ʱH��M��GڬD�B����D��T����G���C�C� l&�~:'�tU�6ɹ#��)�'�.6�&��Ȼ K(8p0N�?!�2"��NIJX>R��OM '��2�*x�>#n� �@<[:�I�f ��T���Cdb��[�}E�5MBo��@�`@��tW-3 �x�B���jI�&E�9[T&$��ﯧ&"s��ȳ����dc�UUρ#���ldj?����`\}���u|3'�R]�6 �S#�!�FKL�*N E���`$�:e�YD�q�.�촁�s \-�jA 9�����-��M[�x(�s��x�|���p��}k�T�DpE@W� ��]k`1� ���Yb ��0l��*n0��"~zBd�~u�7�0Bl��0-�x~|U�U0 �h�*HS�|��e"#"?vp�i`e6^�+q��`m8 #V�� ��VS|`��"m"сSn|@:U���~`pb�G�ED����2F�I�? >�x� R� ��%~jx��<�a�9ij�2�D��&: Z`�]w���:�6��B�7eFJ|�ҧ�,���FǮcS�ʶ+B�,�ܺN���>PAD�HD��~���n��}�#�� Q��S���2�X�{�k�lQ�2�����w�|2� h9��G�,m���3��6-��E�L��I�³*K���q�`DwV�QXS��peS��� qܧTS����R�u �<�a�*At�lmE� � ��N[P1�ۦ��$��@`��Dpy�yXvCAy�B`}D� 0QwG#� �a[^�� $���Ǧ{L�"[��K�g�;�S~��GX.�goT.��ư��x���?1z��x~:�g�|�L� ��S`��0S]P�^p F<""�?!,�!N4&P� ����:T�@h�9%t��:�-~�I<`�9p I&.)^ 40D#p@�j4�ج:�01��rܼF2oW�#Z ;$Q q  �K��Nl#29 !F@�Bh�ᏬL!XF�LHKh�.�hE&J�G��<"WN!�����Y@� >R~19J"�2,/ &.GXB%�R�9B6�W]���W�I�$��9�RE8Y� ��"�A5�Q.axB�&ة�J�! �t)K%tS-�JF b�NMxL��)�R��"���6O!TH�H� 0 !� ) , =( &AXKgNgYvYxR"k\%wh&h}h%�g+�s%r.x3�x�}9��&��+�R,�!7�0%� (�.��5��&�a)��;�"&ף*Ȳ)ׯ7׻4�3��6�H֧KͻH�T��Y��q��h� ��pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g �� E$����� � ����$E$��"��D� � ������R��C��� E ��H�M��G�D� �B��ϾD��a��`1r��Ӑ�� �o~�zU!L�C'�yW�UGt����ll�0���uG�)A�s[��x� �xO%��X2�  P�n:R/��aHae+�Dm?# ǣ6�8�J�x�Di�M���j���5oQ7�- <! *�l��R2r/a!l)d� A"�E���� &� ;��c �%����b��pe~C"B���H�eF2��`8qb�t_`ur`e� w�u3��Pv�h""�`�Íx�LĹ��3� �~ֺ�:���MDfJ� �۵�W�%�S�X �؁)�@��:E��w�u�Sxb8y\m�zS��Zb�E�L��w!y(>�"w�=�|��s�d �C�W)H�cC$�L �7r.�\{)@�`@ �X�$PD `aaG:���O�72E�amn]�"Rc�x�R� &dR8`g��i�xLR!�P &d����T���i�|�_ � Qi�#�`g:��:noM� :V �)p����W&a=�e�k� j���1߲s�x�W�jal|0��B0�, \j۴:6���C ��W��|��9���zĸV {�;��n��V�m�I��.��PN� ����C��+��By�ѾHŸ:��� 7�Y�FTk�SaoaY$D�S���29R�kt� ��f� ��:��Sp�3�I��DZ� �9���g��u�*3)O��[_hv ,���Et x�BH� �[��64M@�S�M7d�l�ܶ5-��U܍��z�R3Ԭ3~ ��P��5�g: ���kN�&0�j4���#{��3S�2�K�'ợl���2K{� {۶?~m𸧠�I�nE�='����^���_�=��~�#O���'���o..�Y�n��CSO��a��K��o,���b�����{�C�� "�{�K ��w��Ozdը�:$ ���v�] A#� ���a�z)Rx׿ƥ�d``�w-�y�f�K!����|��P��=�`�(f��'Pa ��BJa%��f�%`�}F����6>��`G"�}�=�!o`�^FP�ةQ�C���`(�}\�ݮ ��$<��n@dĠE#��U�I�!� #l��9`k���'Rr��Z�NB�MF �[�+9���-�wj���8�r� ,V�h"�|�S=�G_��"E� 0i*%̲��da0mVk�):;&6p>�jK ��# �D�:�c?:R Ӭf��I-�"�<�="��7�3S��c2RW ,�8(T"P0F¡Jh�" ; 403WebShell
403Webshell
Server IP : 173.249.157.85  /  Your IP : 18.191.28.190
Web Server : Apache
System : Linux server.frogzhost.com 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64
User : econtech ( 1005)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dkms/snapapi26/0.8.34/source/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dkms/snapapi26/0.8.34/source/snapapi.h
#ifndef _LINUX_SNAPAPICALLUSER_H
#define _LINUX_SNAPAPICALLUSER_H

/* snapapi.h
   Copyright (C) Acronis, 2004
   Written by Vladimir Simonov
   $Id: snapapi.h 1262030 2018-01-11 12:33:11Z marina $
*/

#ifdef __linux__
#include <linux/types.h>
#include <linux/ioctl.h>
#endif
#include "sn_huge_ptr.h"

#define SNAPCTL_NAME "snapctl"

#define SNAPCTLTYPE '*'
#define SNAPAPI_VMAJOR 0
#define SNAPAPI_VMINOR 8
#define SNAPAPI_VSUBMINOR 34
#define SNAPAPI_COMMON_MOD_VERSION	"0.8.34"
#define SNAPAPI_COMMON_MOD_EXT_VERSION	"(Release)"

#pragma pack(1)

struct snapctl_init {
	unsigned int major;
	unsigned int minor;
	int prealloc;			/* flag to allocate cache in advance */
};

struct snapctl_ldmap {
	unsigned long long map_size;	/* size of map in bits */
	SN_HUGE_PTR(void *map);		/* bitmap itself */
};

struct snapctl_getmap {
	unsigned long long map_size;	/* size of map in bits [in]*/
	SN_HUGE_PTR(void *map);		/* bitmap itself [in, out]*/
	unsigned int bsize;		/* BlockSize */
	unsigned int fblock;		/* FirstDataBlock */
	unsigned int bpgroup;		/* BlocksPerGroup */
	unsigned int gcount;		/* GroupCount */
};

struct group_entry {
	unsigned long long bno;
	unsigned int group;
	char init;
	char cached;
	unsigned char pad[2];
};

struct snapctl_getsparsedmap {
	unsigned long long map_size;	/* size of map in bits [in]*/
	SN_HUGE_PTR(void *map);		/* bitmap itself [in, out]*/
	unsigned int bsize;		/* BlockSize */
	unsigned int fblock;		/* FirstDataBlock */
	unsigned int bpgroup;		/* BlocksPerGroup */
	unsigned int gcount;		/* GroupCount */
	SN_HUGE_PTR2(struct group_entry* groups); /* array of groups */
};

struct snapctl_getbno {
	SN_HUGE_PTR(unsigned long long *bno);	/* user-level buffer */
};

struct sn_rdcache {
	unsigned long long bno;		/* bno from cache */
	unsigned int count;		/* count of blocks */
	unsigned int size;		/* size of buf in bytes */
	SN_HUGE_PTR(void *buf);		/* user space buffer */
};

struct snapctl_rdcache {
	SN_HUGE_PTR(struct sn_rdcache *data);
	unsigned int size;		/* size of sn_rdcache */
};

struct snapctl_bread {
	unsigned long long bstart;	/* start block number*/
	unsigned int count;		/* count */
	unsigned int flags;		/* flags */
#define SNAP_READ_ONCE	1
	SN_HUGE_PTR(void *data);	/* data */
	unsigned long long bincache;	/* Blocks in cache */
};

struct snapctl_bfree {
	unsigned long long bstart;	/* start block number*/
	unsigned long long count;	/* count */
};

/* cut points for s_rcdepthcnt stats */
#define SNAP_RCDEPTH0 128
#define SNAP_RCDEPTH1 (8 * SNAP_RCDEPTH0)
#define SNAP_RCDEPTH2 (8 * SNAP_RCDEPTH1)
#define SNAP_RCDEPTH3 (8 * SNAP_RCDEPTH2)

struct sn_state {
	unsigned version;		/* snapapi version */
	unsigned int major;
	unsigned int minor;
	unsigned int state;		/* session state */
	int blksize;
	int mmapsize;			/* mmap max size in bytes */
	int minorshft;			/* device minor shift */
	unsigned long long partsize;	/* partition size in Kbytes */
	unsigned long long partstrt;	/* partition start in sectors */
					/* current values */
	int bhpages;			/* delayed bhs pages */
	int bhcount;			/* delayed bhs count */
	int emmax;			/* emergency buffer max size(pages) */
	int emmin;			/* emergency buffer min size*/
	int emcur;			/* emergency buffer current pages */
	int cachepages;			/* pages in cache */

	unsigned long long gpages;	/* got pages */
	unsigned long long ppages;	/* put pages */
	unsigned long long abhs;	/* allocated bhs */
	unsigned long long fbhs;	/* freed bhs */
	unsigned long long dbhs;	/* delayed bhs */
	unsigned long long rblocks;	/* read blocks */
	unsigned long long cblocks;	/* cached blocks */
	unsigned long long rcblocks;	/* read from cache */
	unsigned long long fcblocks;	/* freed cache blocks */
	unsigned long long mcblocks;	/* max blocks in cache */
	unsigned long long rwcolls;	/* read/write collisions */
	unsigned long long rc2blocks;	/* read to cache2 blocks */
	unsigned int sync_req;		/* sync requests  */
	unsigned int mipr;		/* max increase pending requests */
	unsigned int async_req;		/* async requests  */
	unsigned int iprcnt;		/* increase pending requests count */
	unsigned int async_retr;  	/* async retries */
	unsigned int mbio;  		/* min bio size */

	unsigned int ioctlcnt;
	unsigned int ioctlpid;

	/* Can be used by userspace to determine which part of extra state was filled by snapapi */
	unsigned int extrasize;		/* = sizeof(sn_state) - offsetof(sn_state, extrasize). */

	/* extra state */
	unsigned long long rccalls;		/* total number of searches in blkcache (sa_cache_chain_read calls) */
	unsigned long long maxrcdepth;		/* length of the deepest search in any blkcache chain */
	unsigned long long rcdepthcnt[4];	/* total counts of blkcache searches with depth > SNAP_RCDEPTHi */
	unsigned long long flags;		/* flags with info about kernel module. f.e. if it built exactly for running kernel*/
#define KERNEL_NOT_MATCHED		(1ULL << 0)
};

struct snapctl_state {
	SN_HUGE_PTR(struct sn_state *state);	/* user-level buffer */
	unsigned int size;		/* size of user buf */
/* session states */
#define SNAP_NOTINITED		0
#define SNAP_ININIT		1
#define SNAP_INITED		2
#define SNAP_FREEZING		3
#define SNAP_FROZEN		4
#define SNAP_INITINGMAP		5
#define SNAP_MAPPED		6
#define SNAP_CLOSING		7
#define SNAP_CLOSED		8
#define SNAP_READINGMAP		9

#define SNAP_FREEZE_ERR		(1 << 8)
#define SNAP_MAP_ERR		(2 << 8)
#define SNAP_READING_ERR	(3 << 8)
#define SNAP_DEADLOCK_ERR	(4 << 8)
};

/* not related to session helpers */
struct sn_devinfo {
	unsigned int major;
	unsigned int minor;
	int blksize;
	unsigned long long partsize;	/* partition size in sectors */
	unsigned long long partstrt;	/* partition start in sectors */
	int minorshft;			/* device minor shift */
	unsigned long long reads, read_sectors, writes, write_sectors;
};

struct snapctl_devinfo {
	unsigned int major;
	unsigned int minor;
	SN_HUGE_PTR(struct sn_devinfo *info);	/* user-level buffer */
	unsigned int size;		/* size of user buf */
};

struct snapctl_devlock {
	unsigned int major;
	unsigned int minor;
};

struct snapctl_devunlock {
	unsigned int major;
	unsigned int minor;
};

struct snapctl_devlockread {
	unsigned int major;
	unsigned int minor;
};

struct snapctl_devunlockread {
	unsigned int major;
	unsigned int minor;
};

struct snapctl_disklock {
	unsigned int major;
	unsigned int minor;
	SN_HUGE_PTR(void *info);	/* user-level buffer */
	unsigned int size;		/* size of user buf */
};

struct snapctl_diskunlock {
	unsigned int major;
	unsigned int minor;
};

struct snapctl_messqstate {
	SN_HUGE_PTR(unsigned int *state);
};

struct snapctl_resetatime {
	unsigned int fd;		/* file descriptor */
};

#define SNAPCTL_INIT		_IOW(SNAPCTLTYPE, 0,			\
					struct snapctl_init)
#define SNAPCTL_FREEZE		_IO(SNAPCTLTYPE, 1)
#define SNAPCTL_LDMAP		_IOW(SNAPCTLTYPE, 2,			\
					struct snapctl_ldmap)
#define SNAPCTL_GETBNO		_IOW(SNAPCTLTYPE, 3,			\
					struct snapctl_getbno)
#define SNAPCTL_BREAD		_IOW(SNAPCTLTYPE, 4,			\
					struct snapctl_bread)
#define SNAPCTL_BFREE		_IOW(SNAPCTLTYPE, 5,			\
					struct snapctl_bfree)
#define SNAPCTL_STATE		_IOW(SNAPCTLTYPE, 6,			\
					struct snapctl_state)
#define SNAPCTL_DEVINFO		_IOW(SNAPCTLTYPE, 7,			\
					struct snapctl_devinfo)
#define SNAPCTL_DEVLOCK		_IOW(SNAPCTLTYPE, 8,			\
					struct snapctl_devlock)
#define SNAPCTL_DEVUNLOCK	_IOW(SNAPCTLTYPE, 9,			\
					struct snapctl_devunlock)
#define SNAPCTL_UNFREEZE	_IO(SNAPCTLTYPE, 10)
#define SNAPCTL_MESSQSTATE	_IOW(SNAPCTLTYPE, 11,			\
					struct snapctl_messqstate)
#define SNAPCTL_RESETATIME	_IOW(SNAPCTLTYPE, 12,			\
					struct snapctl_resetatime)
#define SNAPCTL_RDCACHE		_IOW(SNAPCTLTYPE, 13,			\
					struct snapctl_rdcache)
#define SNAPCTL_REGISTER_BLKDEV	_IOW(SNAPCTLTYPE, 14,			\
					struct snapctl_register_blkdev)
#define SNAPCTL_UNREGISTER_BLKDEV _IO(SNAPCTLTYPE, 15)

#define SNAPCTL_SET_VEID	_IOW(SNAPCTLTYPE, 16,			\
					unsigned int)
/* ioctls for snapshot block device */
#define SNAPCTL_START_SWAP_THREAD	_IO(SNAPCTLTYPE, 17)
#define SNAPCTL_STOP_SWAP_THREAD	_IO(SNAPCTLTYPE, 18)
#define SNAPCTL_GETMAP		_IOW(SNAPCTLTYPE, 19,			\
					struct snapctl_getmap)
#define SNAPCTL_DEVLOCKREAD		_IOW(SNAPCTLTYPE, 20,		\
					struct snapctl_devlockread)
#define SNAPCTL_DEVUNLOCKREAD		_IOW(SNAPCTLTYPE, 21,		\
					struct snapctl_devunlockread)
#define SNAPCTL_GETSPARSEDMAP		_IOW(SNAPCTLTYPE, 22,		\
					struct snapctl_getsparsedmap)

struct snap_message {
	unsigned int code;
	unsigned int major;
	unsigned int minor;
	unsigned long long begin;
	unsigned long long size;
	unsigned int pad;
}; /* PAGE_SIZE % sizeof(struct snap_message) must be == 0 */
#pragma pack()

#endif /* _LINUX_SNAPAPICALLUSER_H */

Youez - 2016 - github.com/yon3zu
LinuXploit