函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-29 10:45:10
Last Modify:2020-03-18 10:38:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blkdev_max_block

函数原型:static sector_t blkdev_max_block(struct block_device *bdev, unsigned int size)

返回类型:sector_t

参数:

类型参数名称
struct block_device *bdev
unsigned intsize
920  retval等于0的反
921  sz等于NOTE: in a 32bit arch with a preemptable kernel and* an UP compile the i_size_read/write must be atomic* with respect to the local cpu (unlike with preempt disabled),* but they don't need to be atomic with respect to other cpus like in* true SMP (so they
923  如果sz
924  sizebits等于assumes size > 256
925  retval等于sz右移sizebits
927  返回:retval
调用者
名称描述
init_page_buffersInitialise the state of a blockdev page's buffers.