Home
last modified time | relevance | path

Searched refs:npages (Results 1 – 2 of 2) sorted by relevance

/src/
A Dslab.c222 if (npages == 0) in rt_slab_page_alloc()
227 if (b->page > npages) in rt_slab_page_alloc()
230 n = b + npages; in rt_slab_page_alloc()
232 n->page = b->page - npages; in rt_slab_page_alloc()
237 if (b->page == npages) in rt_slab_page_alloc()
265 RT_ASSERT(npages != 0); in rt_slab_page_free()
284 if (b == n + npages) in rt_slab_page_free()
292 if (b > n + npages) in rt_slab_page_free()
296 n->page = npages; in rt_slab_page_free()
307 RT_ASSERT(npages != 0); in rt_slab_page_init()
[all …]
A Dkservice.c927 void *rt_page_alloc(rt_size_t npages) in rt_page_alloc() argument
935 ptr = rt_slab_page_alloc(system_heap, npages); in rt_page_alloc()
941 void rt_page_free(void *addr, rt_size_t npages) in rt_page_free() argument
948 rt_slab_page_free(system_heap, addr, npages); in rt_page_free()

Completed in 18 milliseconds