Home
last modified time | relevance | path

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

/DragonOS/kernel/src/debug/
H A 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/kernel/crates/wait_queue_macros/src/
H A Dlib.rs14 ($wq:expr, $condition: expr, $cmd: expr) => {{
16 if !$condition {
17 retval = wait_queue_macros::_wq_wait_event_interruptible!($wq, $condition, $cmd);
27 ($wq:expr, $condition: expr, $cmd: expr) => {{
28 wait_queue_macros::__wq_wait_event!($wq, $condition, true, Ok(()), {
37 ($wq:expr, $condition: expr, $interruptible: expr, $ret: expr, $cmd:expr) => {{
42 if $condition {
/DragonOS/kernel/src/common/
H A 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/docs/kernel/filesystem/vfs/
H A Ddesign.md28 … │ │ In particular, it handles the "crossing file system boundaries" condition
/DragonOS/kernel/crates/rbpf/src/
H A Dassembler.rs135 for &(name, condition) in &jump_conditions { in make_instruction_map()
136 entry(name, JumpConditional, ebpf::BPF_JMP | condition); in make_instruction_map()
140 ebpf::BPF_JMP32 | condition, in make_instruction_map()
/DragonOS/docs/community/code_contribution/
H A Dc-coding-style.md96 while (condition)
/DragonOS/
H A DREADME_EN.md110 …t to create greater value and contribute code to this project under the condition of abiding by th…