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:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iomap_read_page_sync

Proto:static int iomap_read_page_sync(loff_t block_start, struct page *page, unsigned poff, unsigned plen, struct iomap *iomap)

Type:int

Parameter:

TypeParameterName
loff_tblock_start
struct page *page
unsignedpoff
unsignedplen
struct iomap *iomap
590  bio_init( & bio, & bvec, 1)
591  bottom bits req flags, * top bits REQ_OP. Use * accessors. = REQ_OP_READ
592  device address in 512 byte sectors = iomap_sector(iomap, block_start)
593  bio_set_dev( & bio, block device for I/O )
594  __bio_add_page( & bio, page, plen, poff)
595  Return submit_bio_wait( & bio)
Caller
NameDescribe
__iomap_write_begin