Home
last modified time | relevance | path

Searched refs:used (Results 1 – 12 of 12) sorted by relevance

/DragonOS/kernel/crates/ida/src/
H A Dlib.rs51 used: usize, field
65 used: 0, in new()
73 self.max_id - self.min_id - self.used in available()
89 self.used += 1; in alloc()
99 self.used += 1; in alloc()
135 self.used -= 1; in free()
140 pub fn used(&self) -> usize { in used() method
141 self.used in used()
156 .field("used", &self.used) in fmt()
204 assert_eq!(ida.used(), 9); in test_id_allocator()
[all …]
/DragonOS/kernel/src/mm/allocator/
H A Dpage_frame.rs282 used: PageFrameCount, field
291 pub fn new(used: PageFrameCount, total: PageFrameCount) -> Self { in new()
292 return Self { used, total }; in new()
295 pub fn used(&self) -> PageFrameCount { in used() method
296 return self.used; in used()
300 return self.total - self.used; in free()
H A Dbump.rs181 let mut used = 0; in usage() localVariable
192 used += (area_end - area_base) >> MMA::PAGE_SHIFT; in usage()
197 used += (self.offset - area_base) >> MMA::PAGE_SHIFT; in usage()
200 let frame = PageFrameUsage::new(PageFrameCount::new(used), PageFrameCount::new(total)); in usage()
/DragonOS/kernel/crates/intertrait/tests/ui/
H A Don-generic-type.stderr1 error: #[cast_to(..)] can't be used on a generic type definition
/DragonOS/kernel/crates/rbpf/examples/
H A Dload_elf__block_a_port.c23 #define SEC(NAME) __attribute__((section(NAME), used))
/DragonOS/kernel/
H A DCargo.toml93 # The development profile, used for `cargo build`
98 # The release profile, used for `cargo build --release`
/DragonOS/docs/community/code_contribution/
H A Dconventional-commit.md20 BREAKING CHANGE: `extends` key in config file is now used for extending other config files
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dzone.rs224 pub fn used(&self) -> u64 { in used() method
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dinit.rs130 bump_allocator.usage().used().bytes() / 1024 in riscv_mm_init()
/DragonOS/
H A DREADME_EN.md65 ### Where will the sponsorship funds be used?
67 We guarantee that all sponsorship funds and items will be used for:
H A DLICENSE140 1 and 2 above on a medium customarily used for software interchange; or,
147 customarily used for software interchange; or,
158 associated interface definition files, plus the scripts used to
/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
207 This function is used to register a helper function. The VM stores its
228 depending on the kind of the VM used. The value returned is the result of the
252 `execute_program()`, again depending on the kind of VM that is used. The result of
385 It also uses a kind of VM that uses an internal buffer used to simulate the
386 `sk_buff` used by eBPF programs in the kernel, without having to manually
630 such as used by tcpdump (as of this writing) for example, you may be interested
666 `unsafe` blocks of code are used. The VM, taken as an eBPF interpreter, can