1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 3 /* 4 * Copyright (C) 2023 Google LLC. 5 */ 6 7 #ifndef __UNROLL_H 8 #define __UNROLL_H 9 10 #include <linux/args.h> 11 12 #define UNROLL(N, MACRO, args...) CONCATENATE( 13 14 #define __UNROLL_0(MACRO, args...) 15 #define __UNROLL_1(MACRO, args...) __UNROLL_0 16 #define __UNROLL_2(MACRO, args...) __UNROLL_1 17 #define __UNROLL_3(MACRO, args...) __UNROLL_2 18 #define __UNROLL_4(MACRO, args...) __UNROLL_3 19 #define __UNROLL_5(MACRO, args...) __UNROLL_4 20 #define __UNROLL_6(MACRO, args...) __UNROLL_5 21 #define __UNROLL_7(MACRO, args...) __UNROLL_6 22 #define __UNROLL_8(MACRO, args...) __UNROLL_7 23 #define __UNROLL_9(MACRO, args...) __UNROLL_8 24 #define __UNROLL_10(MACRO, args...) __UNROLL_9 25 #define __UNROLL_11(MACRO, args...) __UNROLL_1 26 #define __UNROLL_12(MACRO, args...) __UNROLL_1 27 #define __UNROLL_13(MACRO, args...) __UNROLL_1 28 #define __UNROLL_14(MACRO, args...) __UNROLL_1 29 #define __UNROLL_15(MACRO, args...) __UNROLL_1 30 #define __UNROLL_16(MACRO, args...) __UNROLL_1 31 #define __UNROLL_17(MACRO, args...) __UNROLL_1 32 #define __UNROLL_18(MACRO, args...) __UNROLL_1 33 #define __UNROLL_19(MACRO, args...) __UNROLL_1 34 #define __UNROLL_20(MACRO, args...) __UNROLL_1 35 36 #endif /* __UNROLL_H */ 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.