Home
last modified time | relevance | path

Searched refs:gfp_t (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.5/kernel/src/mm/
Dgfp.rs1 use crate::include::bindings::bindings::gfp_t;
5 pub const __GFP_ZERO: gfp_t = (1 << 0);
Dallocator.rs2 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()
Dslab.h60 void *kmalloc(unsigned long size, gfp_t gfp);
69 static __always_inline void *kzalloc(size_t size, gfp_t gfp) in kzalloc()
Dslab.c540 void *kmalloc(unsigned long size, gfp_t gfp) in kmalloc()
/DragonOS-0.1.5/kernel/src/common/
Dgfp.h8 #define __GFP_ZERO ((gfp_t)(1UL << 0))
Didr.h85 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/
Dmm-api.md9 ### `void *kmalloc(unsigned long size, gfp_t gfp)`
27 ### `void *kzalloc(unsigned long size, gfp_t gfp)`
Ddata_structures.md281 `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/
Dtypes.h89 typedef uint64_t gfp_t; typedef
/DragonOS-0.1.5/kernel/src/libs/
Didr.c95 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()