Searched refs:gfp_t (Results 1 – 10 of 10) sorted by relevance
/DragonOS-0.1.5/kernel/src/mm/ |
D | gfp.rs | 1 use crate::include::bindings::bindings::gfp_t; 5 pub const __GFP_ZERO: gfp_t = (1 << 0);
|
D | allocator.rs | 2 use crate::include::bindings::bindings::{gfp_t, kfree, kmalloc, PAGE_2M_SIZE}; 8 unsafe fn local_alloc(&self, layout: Layout, gfp: gfp_t) -> *mut u8; in local_alloc() 9 unsafe fn local_alloc_zeroed(&self, layout: Layout, gfp: gfp_t) -> *mut u8; in local_alloc_zeroed() 17 unsafe fn local_alloc(&self, layout: Layout, gfp: gfp_t) -> *mut u8 { in local_alloc() 24 unsafe fn local_alloc_zeroed(&self, layout: Layout, gfp: gfp_t) -> *mut u8 { in local_alloc_zeroed()
|
D | slab.h | 60 void *kmalloc(unsigned long size, gfp_t gfp); 69 static __always_inline void *kzalloc(size_t size, gfp_t gfp) in kzalloc()
|
D | slab.c | 540 void *kmalloc(unsigned long size, gfp_t gfp) in kmalloc()
|
/DragonOS-0.1.5/kernel/src/common/ |
D | gfp.h | 8 #define __GFP_ZERO ((gfp_t)(1UL << 0))
|
D | idr.h | 85 int idr_preload(struct idr *idp, gfp_t gfp_mask); 167 int ida_preload(struct ida *ida_p, gfp_t gfp_mask);
|
/DragonOS-0.1.5/docs/kernel/core_api/ |
D | mm-api.md | 9 ### `void *kmalloc(unsigned long size, gfp_t gfp)` 27 ### `void *kzalloc(unsigned long size, gfp_t gfp)`
|
D | data_structures.md | 281 `int ida_preload(struct ida *ida_p, gfp_t gfp_mask)` 427 `int idr_preload(struct idr *idp, gfp_t gfp_mask)`
|
/DragonOS-0.1.5/kernel/src/common/sys/ |
D | types.h | 89 typedef uint64_t gfp_t; typedef
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | idr.c | 95 int idr_preload(struct idr *idp, gfp_t gfp_mask) in idr_preload() 840 int ida_preload(struct ida *ida_p, gfp_t gfp_mask) in ida_preload() 869 static void *__get_ida_bitmap(struct ida *ida_p, gfp_t gfp_mask) in __get_ida_bitmap()
|