Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:44:52
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Map pages beginning at addr to the given cache and slab. This is required* for the slab allocator to be able to lookup the cache and slab of a* virtual address for kfree, ksize, and slab debugging.

Proto:static void slab_map_pages(struct kmem_cache *cache, struct page *page, void *freelist)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cache
struct page *page
void *freelist
2608  not slob = cache
2609  first free object = freelist
Caller
NameDescribe
cache_grow_beginGrow (by 1) the number of slabs within a cache. This is called by* kmem_cache_alloc() when there are no active objs left in a cache.