函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:map_is_partially_uptodate checks whether blocks within a page are* uptodate or not.* Returns true if all blocks which correspond to a file portion* we want to read within the page are uptodate.

函数原型:int iomap_is_partially_uptodate(struct page *page, unsigned long from, unsigned long count)

返回类型:int

参数:

类型参数名称
struct page *page
unsigned longfrom
unsigned longcount
480  iop等于to_iomap_page(page)
481  inode等于host
486  len等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsigned, PAGE_SIZE - from, count)
489  first等于from右移i_blkbits
490  last等于fromlen减1右移i_blkbits
492  如果iop
493 i小于等于last循环如果非st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from
495  返回:0
496  返回:1
499  返回:0