函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__copy_page_owner

函数原型:void __copy_page_owner(struct page *oldpage, struct page *newpage)

返回类型:void

参数:

类型参数名称
struct page *oldpage
struct page *newpage
225  old_ext等于lookup_page_ext(oldpage)
226  new_ext等于lookup_page_ext(newpage)
229  如果此条件成立可能性小(为编译器优化)(!old_ext || !new_ext)则返回
232  old_page_owner等于get_page_owner(old_ext)
233  new_page_owner等于get_page_owner(new_ext)
234  order等于order
235  gfp_mask等于gfp_mask
236  last_migrate_reason等于last_migrate_reason
238  handle等于handle
249  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation* succeeds.
250  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation* succeeds.