函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-29 11:07:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iomap_readpage

函数原型:int iomap_readpage(struct page *page, const struct iomap_ops *ops)

返回类型:int

参数:

类型参数名称
struct page *page
const struct iomap_ops *ops
335  struct iomap_readpage_ctx ctx = {cur_page = page}
336  inode等于host
340  trace_iomap_readpage(host, 1)
342 poff小于PAGE_SIZE循环
343  ret等于Execute a iomap write on a segment of the mapping that spans a* contiguous range of pages that have identical block mapping state
346  如果ret小于等于0则
347  WARN_ON_ONCE(ret == 0)
349  退出
353  如果bio
354  submit_bio(bio)
355  WARN_ON_ONCE(!cur_page_in_bio)
356  否则
357  WARN_ON_ONCE(cur_page_in_bio)
358  lock_page - unlock a locked page*@page: the page* Unlocks the page and wakes up sleepers in ___wait_on_page_locked().* Also wakes sleepers in wait_on_page_writeback() because the wakeup* mechanism between PageLocked pages and PageWriteback pages is shared.
366  返回:0