Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * include/linux/sizes.h
0004  */
0005 #ifndef __LINUX_SIZES_H__
0006 #define __LINUX_SIZES_H__
0007 
0008 #include <linux/const.h>
0009 
0010 #define SZ_1                0x00000001
0011 #define SZ_2                0x00000002
0012 #define SZ_4                0x00000004
0013 #define SZ_8                0x00000008
0014 #define SZ_16               0x00000010
0015 #define SZ_32               0x00000020
0016 #define SZ_64               0x00000040
0017 #define SZ_128              0x00000080
0018 #define SZ_256              0x00000100
0019 #define SZ_512              0x00000200
0020 
0021 #define SZ_1K               0x00000400
0022 #define SZ_2K               0x00000800
0023 #define SZ_4K               0x00001000
0024 #define SZ_8K               0x00002000
0025 #define SZ_16K              0x00004000
0026 #define SZ_32K              0x00008000
0027 #define SZ_64K              0x00010000
0028 #define SZ_128K             0x00020000
0029 #define SZ_256K             0x00040000
0030 #define SZ_512K             0x00080000
0031 
0032 #define SZ_1M               0x00100000
0033 #define SZ_2M               0x00200000
0034 #define SZ_4M               0x00400000
0035 #define SZ_8M               0x00800000
0036 #define SZ_16M              0x01000000
0037 #define SZ_32M              0x02000000
0038 #define SZ_64M              0x04000000
0039 #define SZ_128M             0x08000000
0040 #define SZ_256M             0x10000000
0041 #define SZ_512M             0x20000000
0042 
0043 #define SZ_1G               0x40000000
0044 #define SZ_2G               0x80000000
0045 
0046 #define SZ_4G               _AC(0x100000000, ULL)
0047 
0048 #endif /* __LINUX_SIZES_H__ */