函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-27 06:44:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Returns the number of bytes in this potentially compound page.

函数原型:static inline unsigned long page_size(struct page *page)

返回类型:unsigned long

参数:

类型参数名称
struct page *page
797  返回:PAGE_SIZE左移compound_order(page)位
调用者
名称描述
page_copy_sane
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_vma_mapped_walkpage_vma_mapped_walk - check if @pvmw->page is mapped in @pvmw->vma at*@pvmw->address*@pvmw: pointer to struct page_vma_mapped_walk. page, vma, address and flags* must be set. pmd, pte and ptl must be NULL.* Returns true if the page is mapped in the vma
page_mkclean_one
try_to_unmap_one@arg: enum ttu_flags will be passed to this argument
madvise_inject_errorError injection support for memory error handling.
__ksizean't use ksize for kmem_cache_alloc memory, only kmalloc
__ksize
kasan_poison_slab
kasan_kmalloc_large
kasan_poison_kfree
io_uring_validate_mmap_request
page_hstate