1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * include/linux/sizes.h 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * This program is free software; you can redistribute it and/or modify 5*4882a593Smuzhiyun * it under the terms of the GNU General Public License version 2 as 6*4882a593Smuzhiyun * published by the Free Software Foundation. 7*4882a593Smuzhiyun */ 8*4882a593Smuzhiyun #ifndef __LINUX_SIZES_H__ 9*4882a593Smuzhiyun #define __LINUX_SIZES_H__ 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun #define SZ_1 0x00000001 12*4882a593Smuzhiyun #define SZ_2 0x00000002 13*4882a593Smuzhiyun #define SZ_4 0x00000004 14*4882a593Smuzhiyun #define SZ_8 0x00000008 15*4882a593Smuzhiyun #define SZ_16 0x00000010 16*4882a593Smuzhiyun #define SZ_32 0x00000020 17*4882a593Smuzhiyun #define SZ_64 0x00000040 18*4882a593Smuzhiyun #define SZ_128 0x00000080 19*4882a593Smuzhiyun #define SZ_256 0x00000100 20*4882a593Smuzhiyun #define SZ_512 0x00000200 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun #define SZ_1K 0x00000400 23*4882a593Smuzhiyun #define SZ_2K 0x00000800 24*4882a593Smuzhiyun #define SZ_4K 0x00001000 25*4882a593Smuzhiyun #define SZ_8K 0x00002000 26*4882a593Smuzhiyun #define SZ_16K 0x00004000 27*4882a593Smuzhiyun #define SZ_32K 0x00008000 28*4882a593Smuzhiyun #define SZ_64K 0x00010000 29*4882a593Smuzhiyun #define SZ_128K 0x00020000 30*4882a593Smuzhiyun #define SZ_256K 0x00040000 31*4882a593Smuzhiyun #define SZ_512K 0x00080000 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun #define SZ_1M 0x00100000 34*4882a593Smuzhiyun #define SZ_2M 0x00200000 35*4882a593Smuzhiyun #define SZ_4M 0x00400000 36*4882a593Smuzhiyun #define SZ_8M 0x00800000 37*4882a593Smuzhiyun #define SZ_16M 0x01000000 38*4882a593Smuzhiyun #define SZ_32M 0x02000000 39*4882a593Smuzhiyun #define SZ_64M 0x04000000 40*4882a593Smuzhiyun #define SZ_128M 0x08000000 41*4882a593Smuzhiyun #define SZ_256M 0x10000000 42*4882a593Smuzhiyun #define SZ_512M 0x20000000 43*4882a593Smuzhiyun #define SZ_768M 0x30000000 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun #define SZ_1G 0x40000000 46*4882a593Smuzhiyun #define SZ_2G 0x80000000 47*4882a593Smuzhiyun #define SZ_3G 0xc0000000 48*4882a593Smuzhiyun #define SZ_4G 0x100000000ULL 49*4882a593Smuzhiyun 50*4882a593Smuzhiyun #endif /* __LINUX_SIZES_H__ */ 51