Home
last modified time | relevance | path

Searched refs:type (Results 1 – 17 of 17) sorted by relevance

/DragonOS/kernel/src/common/
H A Dglib.h25 #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 Dhid.h109 uint8_t type; // 数据类型:FEATURE / INPUT / OUTPUT member
/DragonOS/kernel/crates/intertrait/tests/ui/
H A Don-generic-type.stderr1 error: #[cast_to(..)] can't be used on a generic type definition
2 --> tests/ui/on-generic-type.rs:6:12
H A Don-type-impl.stderr2 --> $DIR/on-type-impl.rs:6:6
/DragonOS/tools/
H A Dlist_contributors.py9 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 DREADME.md10 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 Dtypes.h62 int type; member
68 int type; member
/DragonOS/docs/kernel/core_api/
H A Dkernel_api.md129 ### `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 Dkallsyms.c30 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 Ddebug-kernel-with-gdb.md72 For help, type "help".
87 For help, type "help".
/DragonOS/kernel/
H A DCargo.toml10 crate-type = ["staticlib"]
/DragonOS/kernel/src/arch/x86_64/asm/
H A Dhead.S178 .type _start, @function
300 .type _start64, @function
/DragonOS/docs/kernel/trace/
H A DeBPF.md164 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 Dhead.S11 .type _start, @function
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.6.md242 * fix(fat): fix determination of fat type casue crash if fs is fat12/16
/DragonOS/kernel/crates/rbpf/
H A DREADME.md158 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 DLICENSE316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318 under certain conditions; type `show c' for details.