函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-27 16:49:06
Last Modify:2020-03-17 22:19:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Returns the page offset into bdev for the specified page's swap entry.

函数原型:sector_t map_swap_page(struct page *page, struct block_device **bdev)

返回类型:sector_t

参数:

类型参数名称
struct page *page
struct block_device **bdev
2277  val等于page_private(page)
2278  返回:Use this swapdev's extent info to locate the (PAGE_SIZE) block which* corresponds to page offset for the specified swap entry.* Note that the type of this function is sector_t, but it returns page offset* into the bdev, not sector offset.
调用者
名称描述
get_swap_bio