1 /*
2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without modification,
6 * are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice, this list of
9 * conditions and the following disclaimer.
10 *
11 * 2. Redistributions in binary form must reproduce the above copyright notice, this list
12 * of conditions and the following disclaimer in the documentation and/or other materials
13 * provided with the distribution.
14 *
15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used
16 * to endorse or promote products derived from this software without specific prior written
17 * permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
21 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */
31
32 #include "It_posix_mutex.h"
33
34 #ifdef __cplusplus
35 #if __cplusplus
36 extern "C" {
37 #endif /* __cpluscplus */
38 #endif /* __cpluscplus */
39
40 int g_retval;
41 int g_returned;
42 int g_canceled;
43 int g_value;
44 int g_ctrl;
45
46
ItSuitePosixMutex(void)47 VOID ItSuitePosixMutex(void)
48 {
49 #if defined(LOSCFG_TEST_SMOKE)
50 ItPosixMux001();
51 ItPosixMux007();
52 ItPosixMux012();
53 ItPosixMux015();
54 ItPosixMux016();
55 ItPosixMux019();
56 ItPosixMux020();
57 #endif
58
59 #if defined(LOSCFG_TEST_FULL)
60 ItPosixMux002();
61 ItPosixMux003();
62 ItPosixMux004();
63 ItPosixMux005();
64 ItPosixMux006();
65 ItPosixMux008();
66 ItPosixMux009();
67 ItPosixMux010();
68 ItPosixMux011();
69 ItPosixMux013();
70 ItPosixMux014();
71 ItPosixMux017();
72 ItPosixMux018();
73 ItPosixMux021();
74 ItPosixMux022();
75 ItPosixMux023();
76 ItPosixMux024();
77 ItPosixMux025();
78 ItPosixMux026();
79 ItPosixMux027();
80 ItPosixMux028();
81 ItPosixMux029();
82 ItPosixMux032();
83 ItPosixMux033();
84 ItPosixMux034();
85 ItPosixMux035();
86 ItPosixMux036();
87 ItPosixMux037();
88 ItPosixMux038();
89 ItPosixMux039();
90 ItPosixMux040();
91 ItPosixMux041();
92 ItPosixMux042();
93 ItPosixMux043();
94 ItPosixMux044();
95 ItPosixMux045();
96 ItPosixMux046();
97 ItPosixMux047();
98 ItPosixMux048();
99 ItPosixMux049();
100 ItPosixMux050();
101 ItPosixMux054();
102 ItPosixMux055();
103 ItPosixMux056();
104 ItPosixMux057();
105 ItPosixMux058();
106 ItPosixMux059();
107 ItPosixMux060();
108 ItPosixMux061();
109 ItPosixMux062();
110 ItPosixMux063();
111 ItPosixMux064();
112 ItPosixMux065();
113 ItPosixMux066();
114 ItPosixMux067();
115 ItPosixMux068();
116 ItPosixMux069();
117 ItPosixMux070();
118 ItPosixMux071();
119 ItPosixMux072();
120 ItPosixMux073();
121 ItPosixMux074();
122 #ifndef LOSCFG_KERNEL_SMP
123 ItPosixMux075();
124 #endif
125 ItPosixMux076();
126 ItPosixMux077();
127 ItPosixMux078();
128 ItPosixMux079();
129 ItPosixMux080();
130 ItPosixMux081();
131 ItPosixMux082();
132 ItPosixMux084();
133 ItPosixMux085();
134 ItPosixMux086();
135 ItPosixMux087();
136 ItPosixMux089();
137 ItPosixMux090();
138 ItPosixMux091();
139 ItPosixMux092();
140 ItPosixMux093();
141 ItPosixMux094();
142 ItPosixMux095();
143 ItPosixMux097();
144 ItPosixMux098();
145 ItPosixMux099();
146 ItPosixMux101();
147 #endif
148 }
149
150
151 #ifdef __cplusplus
152 #if __cplusplus
153 }
154 #endif /* __cpluscplus */
155 #endif /* __cpluscplus */
156