函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:PageSlab

函数原型:static inline __attribute__((__always_inline__)) int PageSlab(struct page *page)

返回类型:int

参数:

类型参数名称
struct page *page
325  返回:st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from
调用者
名称描述
sg_miter_stopsg_miter_stop - stop mapping iteration*@miter: sg mapping iter to be stopped* Description:* Stops mapping iterator @miter. @miter should have been started* using sg_miter_start(). A stopped iteration can be resumed by* calling sg_miter_next() on it
free_resource
page_mapping
__dump_page
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.
insert_pageThis is the old fallback for page remapping.* For historical reasons, it only allows reserved pages. Only* old drivers should use this, and they needed to mark their* pages reserved for the old functions anyway.
kfree释放内存
__ksizean't use ksize for kmem_cache_alloc memory, only kmalloc
kmem_freepagesInterface to system's page release.
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_krealloc
kasan_poison_kfree
print_address_description
page_cgroup_inopage_cgroup_ino - return inode number of the memcg a page is charged to*@page: the page* Look up the closest online ancestor of the memory cgroup @page is charged to* and return its inode number or 0 if @page is not charged to any cgroup. It
hwpoison_filter_dev
shake_pageWhen a unknown page type is encountered drain as many buffers as possible* in the hope to turn the page into a LRU or free page, which we can handle.
hwpoison_user_mappingsDo all that is necessary to remove user space mappings. Unmap* the pages and send SIGBUS to the processes if the data was dirty.
check_heap_object
PageSlabPfmemallocIf network-based swap is enabled, sl*b must keep track of whether pages* were allocated from pfmemalloc reserves.
SetPageSlabPfmemalloc
__ClearPageSlabPfmemalloc
ClearPageSlabPfmemalloc
page_mapcount
scatterwalk_pagedone
virt_to_cache