Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.8/kernel/src/debug/
Dbug.h12 #define BUG_ON(condition) ({ \ argument
13 int __ret_bug_on = !!(condition); \
23 #define WARN_ON(condition) ({ \ argument
24 int __ret_warn_on = !!(condition); \
34 #define WARN_ON_ONCE(condition) ({ \ argument
36 int __ret_warn_once = !!(condition); \
46 #define FAIL_ON_TO(condition, to) ({ \ argument
47 int __ret_warn_on = !!(condition); \
58 #define BUILD_BUG_ON_MSG(condition, msg) complietime_assert(!(condition), msg) argument
65 #define BUILD_BUG_ON(condition) \ argument
[all …]
/DragonOS-0.1.8/docs/kernel/ktest/
Dktest-framework.md51 …要设置一些情节,以便能测试到目标组件的每个情况。为了检验模块的行为是否符合预期,我们需要使用`assert(condition)`宏函数,对目标`condition`进行校验。若`conditio…
90 `#define assert(condition)`
94   判定condition是否为1,若不为1,则输出一行错误日志信息:
/DragonOS-0.1.8/kernel/src/ktest/
Dktest_utils.h6 #define assert(condition) ({ \ argument
7 int __condition = !!(condition); \
/DragonOS-0.1.8/kernel/src/common/
Dcompiler.h20 #define __compiletime_assert(condition, msg, prefix, suffix) … argument
29 … if (!(condition)) \
39 #define complietime_assert(condition, msg) \ argument
40 __compiletime_assert(condition, msg, __compiletime_assert__, __COUNTER__)
/DragonOS-0.1.8/docs/kernel/filesystem/vfs/
Ddesign.md28 … │ │ In particular, it handles the "crossing file system boundaries" condition
/DragonOS-0.1.8/docs/community/code_contribution/
Dc-coding-style.md96 while (condition)
/DragonOS-0.1.8/
DREADME_EN.md96 …t to create greater value and contribute code to this project under the condition of abiding by th…
/DragonOS-0.1.8/kernel/src/libs/
Dlz4.c246 #define assert(condition) ((void)0) argument