Home
last modified time | relevance | path

Searched refs:P (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dsc.rs49 pub struct SCAllocator<'a, P: AllocablePage> {
57 pub(crate) empty_slabs: PageList<'a, P>,
59 pub(crate) slabs: PageList<'a, P>,
61 pub(crate) full_slabs: PageList<'a, P>,
71 obj_per_page: cmin((P::SIZE - OBJECT_PAGE_METADATA_OVERHEAD) / $size, 8 * 64),
79 impl<'a, P: AllocablePage> SCAllocator<'a, P> {
84 pub const fn new(size: usize) -> SCAllocator<'a, P> { in new() argument
89 pub fn new(size: usize) -> SCAllocator<'a, P> { in new() argument
99 fn insert_partial_slab(&mut self, new_head: &'a mut P) { in insert_partial_slab() argument
104 fn insert_empty(&mut self, new_head: &'a mut P) { in insert_empty() argument
[all …]
H A Dpages.rs448 pub(crate) struct ObjectPageIterMut<'a, P: AllocablePage> {
449 head: Rawlink<P>,
450 phantom: core::marker::PhantomData<&'a P>,
453 impl<'a, P: AllocablePage + 'a> Iterator for ObjectPageIterMut<'a, P> {
454 type Item = &'a mut P;
458 fn next(&mut self) -> Option<&'a mut P> { in next() argument
/DragonOS/tools/
H A Dcreate_hdd_image.sh57 ARGS=`getopt -o P: -- "$@"`
/DragonOS/docs/kernel/memory_management/
H A Dmmio.md166 **P.S 以下函数均为MmioBuddyMemPool的成员函数。系统中已经创建了一个MmioBuddyMemPool类型的全局引用`MMIO_POOL`,如要使用以下函数,请以`MMIO_POO…
/DragonOS/
H A Dtriagebot.toml47 exclude_labels = ["P-*", "T-release", "requires-nightly"]
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md1585 解决shell无法输入大写字母'P'的问题 (#404)