Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-28 05:43:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:virt_to_head_page

Proto:static inline struct page *virt_to_head_page(const void *x)

Type:struct page

Parameter:

TypeParameterName
const void *x
731  page = virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(x)
733  Return compound_head(page)
Caller
NameDescribe
free_resource
kobjsizeReturn the total memory allocated for this pointer, not* just what the caller asked for.* Doesn't have to be accurate, i.e. may have races.
page_frag_freeFrees a page fragment allocated out of either a compound or order 0 page.
free_blockCaller needs to acquire correct kmem_cache_node's list_lock*@list: List of detached free slabs should be freed by caller
___cache_free
kmem_cache_free
build_detached_freelistThis function progressively scans the array with free objects (with* a limited look ahead) and extract objects belonging to the same* page. It builds a detached freelist directly within the given* page/objects. This can happen without any need for
__ksize
kfree
__kasan_slab_free
kasan_krealloc
kasan_poison_kfree
kasan_kfree_large
kasan_addr_to_page
qlink_to_cache
__mod_lruvec_slab_state
io_mem_free
io_uring_validate_mmap_request