/DragonOS/kernel/src/common/ |
H A D | glib.h | 25 #define container_of(ptr, type, member) \ argument 27 typeof(((type *)0)->member) *p = (ptr); \ 28 (type *)((unsigned long)p - (unsigned long)&(((type *)0)->member)); \
|
H A D | hid.h | 109 uint8_t type; // 数据类型:FEATURE / INPUT / OUTPUT member
|
/DragonOS/kernel/crates/intertrait/tests/ui/ |
H A D | on-generic-type.stderr | 1 error: #[cast_to(..)] can't be used on a generic type definition 2 --> tests/ui/on-generic-type.rs:6:12
|
H A D | on-type-impl.stderr | 2 --> $DIR/on-type-impl.rs:6:6
|
/DragonOS/tools/ |
H A D | list_contributors.py | 9 parser.add_argument('--since', type=str, help='Since date') 10 parser.add_argument('--until', type=str, help='Until date') 11 parser.add_argument('--mode', type=str, help='脚本的运行模式 可选:<all> 输出所有信息\n' +
|
/DragonOS/kernel/crates/intertrait/ |
H A D | README.md | 10 This library provides direct casting among trait objects implemented by a type. 12 In Rust, a trait object for a sub-trait of [`std::any::Any`] can be downcast to a concrete type at … 13 if the type is known. But no direct casting between two trait objects (i.e. without involving the c… 17 for another trait implemented by the underlying type if the target traits are registered beforehand 81 ### `#[cast_to(Trait)]` to type definition 82 For the type, the traits specified as arguments to the `#[cast_to(...)]` attribute are designated a… 101 For the type, the traits following `:` are designated as target traits. 138 for [`std::any::Any`] back to its concrete type and then creating a trait object for the target tra… 142 …-main trick. The registry is keyed with a pair of [`TypeId`]s, which are those of the concrete type
|
/DragonOS/kernel/src/common/sys/ |
H A D | types.h | 62 int type; member 68 int type; member
|
/DragonOS/docs/kernel/core_api/ |
H A D | kernel_api.md | 129 ### `list_entry(ptr, type, member)` 141 **type** argument 149 ### `list_first_entry(ptr, type, member)` 159 ### `list_first_entry_or_null(ptr, type, member)` argument 169 ### `list_last_entry(ptr, type, member)` argument 179 ### `list_last_entry_or_full(ptr, type, member)` argument
|
/DragonOS/kernel/src/debug/ |
H A D | kallsyms.c | 30 char type; member 61 int retval = sscanf(str, "%llx %c %512c", &entry->vaddr, &entry->type, symbol_name); in read_symbol()
|
/DragonOS/docs/kernel/debug/ |
H A D | debug-kernel-with-gdb.md | 72 For help, type "help". 87 For help, type "help".
|
/DragonOS/kernel/ |
H A D | Cargo.toml | 10 crate-type = ["staticlib"]
|
/DragonOS/kernel/src/arch/x86_64/asm/ |
H A D | head.S | 178 .type _start, @function 300 .type _start64, @function
|
/DragonOS/docs/kernel/trace/ |
H A D | eBPF.md | 164 error!("bpf map type {:?} not implemented", map_meta.map_type); 245 // See /sys/bus/event_source/devices/kprobe/type
|
/DragonOS/kernel/src/arch/riscv64/asm/ |
H A D | head.S | 11 .type _start, @function
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.6.md | 242 * fix(fat): fix determination of fat type casue crash if fs is fat12/16
|
/DragonOS/kernel/crates/rbpf/ |
H A D | README.md | 158 This is used to create a new instance of a VM. The return type is dependent of 188 pub type Verifier = fn(prog: &[u8]) -> Result<(), Error>; 200 pub type Helper = fn (u64, u64, u64, u64, u64) -> u64; 614 returns Rust type `Error`.
|
/DragonOS/ |
H A D | LICENSE | 316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 318 under certain conditions; type `show c' for details.
|