1145479Smp/*-
259243Sobrien * Copyright (c) 2020 The FreeBSD Foundation
359243Sobrien *
459243Sobrien * This software was developed by Emmanuel Vadot under sponsorship
559243Sobrien * from the FreeBSD Foundation.
659243Sobrien *
759243Sobrien * Redistribution and use in source and binary forms, with or without
859243Sobrien * modification, are permitted provided that the following conditions
959243Sobrien * are met:
1059243Sobrien * 1. Redistributions of source code must retain the above copyright
1159243Sobrien *    notice, this list of conditions and the following disclaimer.
1259243Sobrien * 2. Redistributions in binary form must reproduce the above copyright
1359243Sobrien *    notice, this list of conditions and the following disclaimer in the
1459243Sobrien *    documentation and/or other materials provided with the distribution.
1559243Sobrien *
1659243Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1759243Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18100616Smp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1959243Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2059243Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2159243Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2259243Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2359243Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2459243Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2559243Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2659243Sobrien * SUCH DAMAGE.
2759243Sobrien */
2859243Sobrien
2959243Sobrien#ifndef _LINUXKPI_LINUX_SIZES_H_
3059243Sobrien#define	_LINUXKPI_LINUX_SIZES_H_
3159243Sobrien
3259243Sobrien#define SZ_1K	(1024 * 1)
3359243Sobrien#define SZ_2K	(1024 * 2)
3459243Sobrien#define SZ_4K	(1024 * 4)
3559243Sobrien#define SZ_8K	(1024 * 8)
3659243Sobrien#define SZ_16K	(1024 * 16)
3759243Sobrien#define SZ_32K	(1024 * 32)
3859243Sobrien#define SZ_64K	(1024 * 64)
3959243Sobrien#define SZ_128K	(1024 * 128)
4059243Sobrien#define SZ_256K	(1024 * 256)
4159243Sobrien#define SZ_512K	(1024 * 512)
42145479Smp
4359243Sobrien#define SZ_1M	(1024 * 1024 * 1)
4459243Sobrien#define SZ_2M	(1024 * 1024 * 2)
4559243Sobrien#define SZ_4M	(1024 * 1024 * 4)
4659243Sobrien#define SZ_8M	(1024 * 1024 * 8)
4759243Sobrien#define SZ_16M	(1024 * 1024 * 16)
4859243Sobrien#define SZ_32M	(1024 * 1024 * 32)
4959243Sobrien#define SZ_64M	(1024 * 1024 * 64)
5059243Sobrien#define SZ_128M	(1024 * 1024 * 128)
5159243Sobrien#define SZ_256M	(1024 * 1024 * 256)
5259243Sobrien#define SZ_512M	(1024 * 1024 * 512)
5359243Sobrien
5459243Sobrien#define SZ_1G	(1024 * 1024 * 1024 * 1)
5559243Sobrien#define SZ_2G	(1024 * 1024 * 1024 * 2)
5659243Sobrien#define SZ_4G	(1024 * 1024 * 1024 * 4)
5759243Sobrien#define SZ_8G	(1024 * 1024 * 1024 * 8)
5859243Sobrien#define SZ_16G	(1024 * 1024 * 1024 * 16)
5959243Sobrien#define SZ_32G	(1024 * 1024 * 1024 * 32)
6059243Sobrien
6159243Sobrien#define SZ_64T	(1024 * 1024 * 1024 * 1024 * 64)
62145479Smp
6359243Sobrien#endif
6459243Sobrien