Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-28 20:31:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iomap_readpages_actor

Proto:static loff_t iomap_readpages_actor(struct inode *inode, loff_t pos, loff_t length, void *data, struct iomap *iomap, struct iomap *srcmap)

Type:loff_t

Parameter:

TypeParameterName
struct inode *inode
loff_tpos
loff_tlength
void *data
struct iomap *iomap
struct iomap *srcmap
402  ctx = data
405  When done < length cycle
406  If cur_page && offset_in_page(pos + done) == 0 Then
410  cur_page = NULL
412  If Not cur_page Then
415  If Not cur_page Then Break
417  cur_page_in_bio = false
419  ret = iomap_readpage_actor(inode, pos + done, length - done, ctx, iomap, srcmap)
423  Return done